Documentation ¶
Index ¶
Constants ¶
View Source
const ( IDENTITY_TYPE = "application/vnd.com.nsn.cumulocity.identityApi+json" EXTERNAL_ID_COLLECTION_TYPE = "application/vnd.com.nsn.cumulocity.exteralIdCollection+json" EXTERNAL_ID_TYPE = "application/vnd.com.nsn.cumulocity.externalId+json" )
Variables ¶
This section is empty.
Functions ¶
func NewIdentityAPI ¶
Types ¶
type ExternalID ¶
type ExternalID struct { Self string ExternalId string Type string ManagedObject inventory.ManagedObject }
type ExternalIDCollection ¶
type ExternalIDCollection struct { Self string ExternalIds []ExternalID Prev string Next string }
type IdentityAPI ¶
type IdentityAPI interface { GetIdentity() (*Identity, *generic.Error) GetExternalID(externalIDType, externalID string) (*ExternalID, *generic.Error) CreateExternalID(ID NewExternalID, deviceID string) (ExternalID, *generic.Error) DeleteExternalID(externalIDType, externalID string) *generic.Error }
type NewExternalID ¶
Click to show internal directories.
Click to hide internal directories.