Documentation ¶
Index ¶
- type Address
- type Affiliation
- type AffiliationType
- type AffiliationWrite
- type Consent
- type ConsentPurpose
- type ConsentWrite
- type Country
- type CountryWrite
- type ErrorCode
- type ErrorData
- type ErrorDetails
- type Gender
- type GrantType
- type Group
- type GroupMember
- type GroupMemberWrite
- type GroupType
- type GroupWrite
- type MaritalStatus
- type Metadata
- type NationalID
- type Org
- type OrgActiveStatus
- type OrgType
- type OrgWrite
- type Person
- type PersonRelation
- type PersonRelationType
- type PersonWrite
- type Preferences
- type Relation
- type RelationType
- type RelationWrite
- type Role
- type RoleAssignment
- type RoleAssignmentWrite
- type RoleScope
- type RoleWrite
- type SearchVisibility
- type VisibilityPreferences
- type Wrapped
- type WrappedWithMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // address1 // Max Length: 255 Address1 string `json:"address1,omitempty"` // address2 // Max Length: 255 Address2 string `json:"address2,omitempty"` // address3 // Max Length: 255 Address3 string `json:"address3,omitempty"` // city // Max Length: 255 City string `json:"city,omitempty"` // country code CountryCode string `json:"countryCode,omitempty"` // postal code // Max Length: 255 PostalCode string `json:"postalCode,omitempty"` // region // Max Length: 255 Region string `json:"region,omitempty"` }
Address address
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Affiliation ¶
type Affiliation struct { // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // org Org *Org `json:"org,omitempty"` // org Uid // Required: true // Format: uuid OrgUID *strfmt.UUID `json:"orgUid"` // person Person *Person `json:"person,omitempty"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // type // Required: true Type *AffiliationType `json:"type"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
Affiliation affiliation
swagger:model Affiliation
func (*Affiliation) ContextValidate ¶
ContextValidate validate this affiliation based on the context it is used
func (*Affiliation) MarshalBinary ¶
func (m *Affiliation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Affiliation) UnmarshalBinary ¶
func (m *Affiliation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AffiliationType ¶
type AffiliationType string
AffiliationType affiliation type
swagger:model AffiliationType
const ( // AffiliationTypeMember captures enum value "Member" AffiliationTypeMember AffiliationType = "Member" // AffiliationTypeAffiliate captures enum value "Affiliate" AffiliationTypeAffiliate AffiliationType = "Affiliate" // AffiliationTypeParticipant captures enum value "Participant" AffiliationTypeParticipant AffiliationType = "Participant" )
func NewAffiliationType ¶
func NewAffiliationType(value AffiliationType) *AffiliationType
func (AffiliationType) ContextValidate ¶
ContextValidate validates this affiliation type based on context it is used
func (AffiliationType) Pointer ¶
func (m AffiliationType) Pointer() *AffiliationType
Pointer returns a pointer to a freshly-allocated AffiliationType.
type AffiliationWrite ¶
type AffiliationWrite struct { // org Uid // Required: true // Format: uuid OrgUID *strfmt.UUID `json:"orgUid"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // type // Required: true Type *AffiliationType `json:"type"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
AffiliationWrite affiliation write
swagger:model AffiliationWrite
func (*AffiliationWrite) ContextValidate ¶
ContextValidate validate this affiliation write based on the context it is used
func (*AffiliationWrite) MarshalBinary ¶
func (m *AffiliationWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AffiliationWrite) UnmarshalBinary ¶
func (m *AffiliationWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Consent ¶
type Consent struct { // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // org Org *Org `json:"org,omitempty"` // org Uid // Required: true // Format: uuid OrgUID *strfmt.UUID `json:"orgUid"` // person Person *Person `json:"person,omitempty"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // purpose // Required: true Purpose *ConsentPurpose `json:"purpose"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
Consent consent
swagger:model Consent
func (*Consent) ContextValidate ¶
ContextValidate validate this consent based on the context it is used
func (*Consent) MarshalBinary ¶
MarshalBinary interface implementation
func (*Consent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConsentPurpose ¶
type ConsentPurpose string
ConsentPurpose consent purpose
swagger:model ConsentPurpose
const ( // ConsentPurposeDataSharing captures enum value "DataSharing" ConsentPurposeDataSharing ConsentPurpose = "DataSharing" // ConsentPurposeTracking captures enum value "Tracking" ConsentPurposeTracking ConsentPurpose = "Tracking" )
func NewConsentPurpose ¶
func NewConsentPurpose(value ConsentPurpose) *ConsentPurpose
func (ConsentPurpose) ContextValidate ¶
ContextValidate validates this consent purpose based on context it is used
func (ConsentPurpose) Pointer ¶
func (m ConsentPurpose) Pointer() *ConsentPurpose
Pointer returns a pointer to a freshly-allocated ConsentPurpose.
type ConsentWrite ¶
type ConsentWrite struct { // org Uid // Required: true // Format: uuid OrgUID *strfmt.UUID `json:"orgUid"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // purpose // Required: true Purpose *ConsentPurpose `json:"purpose"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
ConsentWrite consent write
swagger:model ConsentWrite
func (*ConsentWrite) ContextValidate ¶
ContextValidate validate this consent write based on the context it is used
func (*ConsentWrite) MarshalBinary ¶
func (m *ConsentWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConsentWrite) UnmarshalBinary ¶
func (m *ConsentWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Country ¶
type Country struct { // iso2 code // Required: true Iso2Code *string `json:"iso2Code"` // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // name en // Required: true // Max Length: 255 NameEn *string `json:"nameEn"` // name native // Required: true // Max Length: 255 NameNative *string `json:"nameNative"` // name no // Required: true // Max Length: 255 NameNo *string `json:"nameNo"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` }
Country country
swagger:model Country
func (*Country) ContextValidate ¶
ContextValidate validates this country based on context it is used
func (*Country) MarshalBinary ¶
MarshalBinary interface implementation
func (*Country) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CountryWrite ¶
type CountryWrite struct { // iso2 code // Required: true Iso2Code *string `json:"iso2Code"` // name en // Required: true // Max Length: 255 NameEn *string `json:"nameEn"` // name native // Required: true // Max Length: 255 NameNative *string `json:"nameNative"` // name no // Required: true // Max Length: 255 NameNo *string `json:"nameNo"` }
CountryWrite country write
swagger:model CountryWrite
func (*CountryWrite) ContextValidate ¶
ContextValidate validates this country write based on context it is used
func (*CountryWrite) MarshalBinary ¶
func (m *CountryWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CountryWrite) UnmarshalBinary ¶
func (m *CountryWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorCode ¶
type ErrorCode string
ErrorCode error code
swagger:model ErrorCode
const ( // ErrorCodeNotDashFound captures enum value "not-found" ErrorCodeNotDashFound ErrorCode = "not-found" // ErrorCodeInvalidDashQuery captures enum value "invalid-query" ErrorCodeInvalidDashQuery ErrorCode = "invalid-query" // ErrorCodeInvalidDashBody captures enum value "invalid-body" ErrorCodeInvalidDashBody ErrorCode = "invalid-body" // ErrorCodeInvalidDashKeyDashReference captures enum value "invalid-key-reference" ErrorCodeInvalidDashKeyDashReference ErrorCode = "invalid-key-reference" // ErrorCodeDuplicateDashUniqueDashKey captures enum value "duplicate-unique-key" ErrorCodeDuplicateDashUniqueDashKey ErrorCode = "duplicate-unique-key" // ErrorCodeCannotDashParseDashToken captures enum value "cannot-parse-token" ErrorCodeCannotDashParseDashToken ErrorCode = "cannot-parse-token" // ErrorCodeInvalidDashToken captures enum value "invalid-token" ErrorCodeInvalidDashToken ErrorCode = "invalid-token" // ErrorCodeMissingDashScopes captures enum value "missing-scopes" ErrorCodeMissingDashScopes ErrorCode = "missing-scopes" // ErrorCodeInternalDashError captures enum value "internal-error" ErrorCodeInternalDashError ErrorCode = "internal-error" ErrorCodeUnauthorized ErrorCode = "unauthorized" // ErrorCodeInvalidDashAppDashUID captures enum value "invalid-app-uid" ErrorCodeInvalidDashAppDashUID ErrorCode = "invalid-app-uid" )
func NewErrorCode ¶
func (ErrorCode) ContextValidate ¶
ContextValidate validates this error code based on context it is used
type ErrorData ¶
type ErrorData struct { // error // Required: true Error *ErrorDetails `json:"error"` }
ErrorData error data
swagger:model ErrorData
func (*ErrorData) ContextValidate ¶
ContextValidate validate this error data based on the context it is used
func (*ErrorData) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorDetails ¶
type ErrorDetails struct { // code // Required: true Code *ErrorCode `json:"code"` // message // Required: true Message *string `json:"message"` }
ErrorDetails error details
swagger:model ErrorDetails
func (*ErrorDetails) ContextValidate ¶
ContextValidate validate this error details based on the context it is used
func (*ErrorDetails) MarshalBinary ¶
func (m *ErrorDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDetails) UnmarshalBinary ¶
func (m *ErrorDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Gender ¶
type Gender string
Gender gender
swagger:model Gender
func (Gender) ContextValidate ¶
ContextValidate validates this gender based on context it is used
type GrantType ¶
type GrantType string
GrantType grant type
swagger:model GrantType
const ( // GrantTypeDefault captures enum value "Default" GrantTypeDefault GrantType = "Default" // GrantTypeView captures enum value "View" GrantTypeView GrantType = "View" // GrantTypeAdministrate captures enum value "Administrate" GrantTypeAdministrate GrantType = "Administrate" // GrantTypeRepresent captures enum value "Represent" GrantTypeRepresent GrantType = "Represent" // GrantTypeNone captures enum value "None" GrantTypeNone GrantType = "None" )
func NewGrantType ¶
func (GrantType) ContextValidate ¶
ContextValidate validates this grant type based on context it is used
type Group ¶
type Group struct { // app Uid // Required: true // Format: uuid AppUID *strfmt.UUID `json:"appUid"` // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // name // Required: true Name *string `json:"name"` // org Uid // Format: uuid OrgUID strfmt.UUID `json:"orgUid,omitempty"` // rule Rule string `json:"rule,omitempty"` // tags Tags []string `json:"tags"` // type // Required: true Type *GroupType `json:"type"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` }
Group group
swagger:model Group
func (*Group) ContextValidate ¶
ContextValidate validate this group based on the context it is used
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GroupMember ¶
type GroupMember struct { // group Uid // Required: true // Format: uuid GroupUID *strfmt.UUID `json:"groupUid"` // last changed date // Format: date-time LastChangedDate strfmt.DateTime `json:"lastChangedDate,omitempty"` // person Person *Person `json:"person,omitempty"` // person Uid // Required: true PersonUID *string `json:"personUid"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` }
GroupMember group member
swagger:model GroupMember
func (*GroupMember) ContextValidate ¶
ContextValidate validate this group member based on the context it is used
func (*GroupMember) MarshalBinary ¶
func (m *GroupMember) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupMember) UnmarshalBinary ¶
func (m *GroupMember) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupMemberWrite ¶
type GroupMemberWrite struct { // person Uid // Required: true PersonUID *string `json:"personUid"` }
GroupMemberWrite group member write
swagger:model GroupMemberWrite
func (*GroupMemberWrite) ContextValidate ¶
ContextValidate validates this group member write based on context it is used
func (*GroupMemberWrite) MarshalBinary ¶
func (m *GroupMemberWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupMemberWrite) UnmarshalBinary ¶
func (m *GroupMemberWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupType ¶
type GroupType string
GroupType group type
swagger:model GroupType
func NewGroupType ¶
func (GroupType) ContextValidate ¶
ContextValidate validates this group type based on context it is used
type GroupWrite ¶
type GroupWrite struct { // name // Required: true Name *string `json:"name"` // org Uid // Format: uuid OrgUID strfmt.UUID `json:"orgUid,omitempty"` // rule Rule string `json:"rule,omitempty"` // tags Tags []string `json:"tags"` // type // Required: true Type *GroupType `json:"type"` }
GroupWrite group write
swagger:model GroupWrite
func (*GroupWrite) ContextValidate ¶
ContextValidate validate this group write based on the context it is used
func (*GroupWrite) MarshalBinary ¶
func (m *GroupWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupWrite) UnmarshalBinary ¶
func (m *GroupWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MaritalStatus ¶
type MaritalStatus string
MaritalStatus marital status
swagger:model MaritalStatus
const ( // MaritalStatusSingle captures enum value "Single" MaritalStatusSingle MaritalStatus = "Single" // MaritalStatusMarried captures enum value "Married" MaritalStatusMarried MaritalStatus = "Married" // MaritalStatusWidowed captures enum value "Widowed" MaritalStatusWidowed MaritalStatus = "Widowed" // MaritalStatusSeparated captures enum value "Separated" MaritalStatusSeparated MaritalStatus = "Separated" // MaritalStatusSingleParent captures enum value "SingleParent" MaritalStatusSingleParent MaritalStatus = "SingleParent" // MaritalStatusUnknown captures enum value "Unknown" MaritalStatusUnknown MaritalStatus = "Unknown" )
func NewMaritalStatus ¶
func NewMaritalStatus(value MaritalStatus) *MaritalStatus
func (MaritalStatus) ContextValidate ¶
ContextValidate validates this marital status based on context it is used
func (MaritalStatus) Pointer ¶
func (m MaritalStatus) Pointer() *MaritalStatus
Pointer returns a pointer to a freshly-allocated MaritalStatus.
type Metadata ¶
type Metadata struct { // limit // Required: true Limit *int64 `json:"limit"` // skipped // Required: true Skipped *int64 `json:"skipped"` // total // Required: true Total *int64 `json:"total"` }
Metadata metadata
swagger:model Metadata
func (*Metadata) ContextValidate ¶
ContextValidate validates this metadata based on context it is used
func (*Metadata) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NationalID ¶
type NationalID struct { // country iso2 code // Required: true CountryIso2Code *string `json:"countryIso2Code"` // id // Required: true ID *string `json:"id"` }
NationalID national Id
swagger:model NationalId
func (*NationalID) ContextValidate ¶
ContextValidate validates this national Id based on context it is used
func (*NationalID) MarshalBinary ¶
func (m *NationalID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NationalID) UnmarshalBinary ¶
func (m *NationalID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Org ¶
type Org struct { // active status // Required: true ActiveStatus OrgActiveStatus `json:"activeStatus"` // billing address BillingAddress *Address `json:"billingAddress,omitempty"` // district name // Required: true // Max Length: 255 DistrictName *string `json:"districtName"` // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // name // Required: true // Max Length: 255 Name *string `json:"name"` // org ID // Required: true OrgID *int64 `json:"orgID"` // postal address PostalAddress *Address `json:"postalAddress,omitempty"` // type // Required: true Type OrgType `json:"type"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` // visiting address VisitingAddress *Address `json:"visitingAddress,omitempty"` }
Org org
swagger:model Org
func (*Org) ContextValidate ¶
ContextValidate validate this org based on the context it is used
func (*Org) MarshalBinary ¶
MarshalBinary interface implementation
func (*Org) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrgActiveStatus ¶
type OrgActiveStatus string
OrgActiveStatus org active status
swagger:model OrgActiveStatus
const ( // OrgActiveStatusActive captures enum value "Active" OrgActiveStatusActive OrgActiveStatus = "Active" // OrgActiveStatusInactive captures enum value "Inactive" OrgActiveStatusInactive OrgActiveStatus = "Inactive" )
func NewOrgActiveStatus ¶
func NewOrgActiveStatus(value OrgActiveStatus) *OrgActiveStatus
func (OrgActiveStatus) ContextValidate ¶
ContextValidate validates this org active status based on context it is used
func (OrgActiveStatus) Pointer ¶
func (m OrgActiveStatus) Pointer() *OrgActiveStatus
Pointer returns a pointer to a freshly-allocated OrgActiveStatus.
type OrgType ¶
type OrgType string
OrgType org type
swagger:model OrgType
func NewOrgType ¶
func (OrgType) ContextValidate ¶
ContextValidate validates this org type based on context it is used
type OrgWrite ¶
type OrgWrite struct { // active status // Required: true ActiveStatus OrgActiveStatus `json:"activeStatus"` // billing address BillingAddress *Address `json:"billingAddress,omitempty"` // district name // Required: true // Max Length: 255 DistrictName *string `json:"districtName"` // name // Required: true // Max Length: 255 Name *string `json:"name"` // postal address PostalAddress *Address `json:"postalAddress,omitempty"` // type // Required: true Type OrgType `json:"type"` // visiting address VisitingAddress *Address `json:"visitingAddress,omitempty"` }
OrgWrite org write
swagger:model OrgWrite
func (*OrgWrite) ContextValidate ¶
ContextValidate validate this org write based on the context it is used
func (*OrgWrite) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrgWrite) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Person ¶
type Person struct { // address Address *Address `json:"address,omitempty"` // affiliations Affiliations []*Affiliation `json:"affiliations"` // birth date // Required: true // Format: date BirthDate *strfmt.Date `json:"birthDate"` // cell phone CellPhone string `json:"cellPhone,omitempty"` // cell phone verified CellPhoneVerified bool `json:"cellPhoneVerified,omitempty"` // consents Consents []*Consent `json:"consents"` // deceased date // Format: date DeceasedDate *strfmt.Date `json:"deceasedDate,omitempty"` // display name // Required: true // Max Length: 255 DisplayName *string `json:"displayName"` // email Email string `json:"email,omitempty"` // email verified EmailVerified bool `json:"emailVerified,omitempty"` // first name // Required: true // Max Length: 255 FirstName *string `json:"firstName"` // gender // Required: true Gender *Gender `json:"gender"` // home phone HomePhone string `json:"homePhone,omitempty"` // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // last name // Required: true // Max Length: 255 LastName *string `json:"lastName"` // marital status // Required: true MaritalStatus *MaritalStatus `json:"maritalStatus"` // middle name // Max Length: 255 MiddleName string `json:"middleName,omitempty"` // national ids NationalIds []*NationalID `json:"nationalIds"` // person ID // Required: true PersonID *int64 `json:"personID"` // preferences Preferences *Preferences `json:"preferences,omitempty"` // URL of person's profile picture // Max Length: 512 ProfilePicture string `json:"profilePicture,omitempty"` // relations Relations []*PersonRelation `json:"relations"` // role assignments RoleAssignments []*RoleAssignment `json:"roleAssignments"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` }
Person person
swagger:model Person
func (*Person) ContextValidate ¶
ContextValidate validate this person based on the context it is used
func (*Person) MarshalBinary ¶
MarshalBinary interface implementation
func (*Person) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PersonRelation ¶
type PersonRelation struct { // Permission of target on origin // Required: true GrantToOrigin GrantType `json:"grantToOrigin"` // Permission of origin on target // Required: true GrantToTarget GrantType `json:"grantToTarget"` // target Target *Person `json:"target,omitempty"` // target Uid // Required: true // Format: uuid TargetUID *strfmt.UUID `json:"targetUid"` // Type of relation, defined as {target} is {type} of {origin} // Required: true Type PersonRelationType `json:"type"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
PersonRelation person relation
swagger:model PersonRelation
func (*PersonRelation) ContextValidate ¶
ContextValidate validate this person relation based on the context it is used
func (*PersonRelation) MarshalBinary ¶
func (m *PersonRelation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PersonRelation) UnmarshalBinary ¶
func (m *PersonRelation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PersonRelationType ¶
type PersonRelationType string
PersonRelationType person relation type
swagger:model PersonRelationType
const ( // PersonRelationTypeChild captures enum value "Child" PersonRelationTypeChild PersonRelationType = "Child" // PersonRelationTypeParent captures enum value "Parent" PersonRelationTypeParent PersonRelationType = "Parent" // PersonRelationTypeSpouse captures enum value "Spouse" PersonRelationTypeSpouse PersonRelationType = "Spouse" // PersonRelationTypeLegalDependent captures enum value "LegalDependent" PersonRelationTypeLegalDependent PersonRelationType = "LegalDependent" // PersonRelationTypeLegalGuardian captures enum value "LegalGuardian" PersonRelationTypeLegalGuardian PersonRelationType = "LegalGuardian" // PersonRelationTypeFosterChild captures enum value "FosterChild" PersonRelationTypeFosterChild PersonRelationType = "FosterChild" // PersonRelationTypeFosterParent captures enum value "FosterParent" PersonRelationTypeFosterParent PersonRelationType = "FosterParent" // PersonRelationTypeContactDependent captures enum value "ContactDependent" PersonRelationTypeContactDependent PersonRelationType = "ContactDependent" // PersonRelationTypeContactPerson captures enum value "ContactPerson" PersonRelationTypeContactPerson PersonRelationType = "ContactPerson" )
func NewPersonRelationType ¶
func NewPersonRelationType(value PersonRelationType) *PersonRelationType
func (PersonRelationType) ContextValidate ¶
ContextValidate validates this person relation type based on context it is used
func (PersonRelationType) Pointer ¶
func (m PersonRelationType) Pointer() *PersonRelationType
Pointer returns a pointer to a freshly-allocated PersonRelationType.
type PersonWrite ¶
type PersonWrite struct { // address Address *Address `json:"address,omitempty"` // birth date // Required: true // Format: date BirthDate *strfmt.Date `json:"birthDate"` // cell phone CellPhone string `json:"cellPhone,omitempty"` // cell phone verified CellPhoneVerified bool `json:"cellPhoneVerified,omitempty"` // deceased date // Format: date DeceasedDate *strfmt.Date `json:"deceasedDate,omitempty"` // display name // Required: true // Max Length: 255 DisplayName *string `json:"displayName"` // email Email string `json:"email,omitempty"` // email verified EmailVerified bool `json:"emailVerified,omitempty"` // first name // Required: true // Max Length: 255 FirstName *string `json:"firstName"` // gender // Required: true Gender *Gender `json:"gender"` // home phone HomePhone string `json:"homePhone,omitempty"` // last name // Required: true // Max Length: 255 LastName *string `json:"lastName"` // marital status // Required: true MaritalStatus *MaritalStatus `json:"maritalStatus"` // middle name // Max Length: 255 MiddleName string `json:"middleName,omitempty"` // national ids NationalIds []*NationalID `json:"nationalIds"` // preferences Preferences *Preferences `json:"preferences,omitempty"` // URL of person's profile picture // Max Length: 512 ProfilePicture string `json:"profilePicture,omitempty"` }
PersonWrite person write
swagger:model PersonWrite
func (*PersonWrite) ContextValidate ¶
ContextValidate validate this person write based on the context it is used
func (*PersonWrite) MarshalBinary ¶
func (m *PersonWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PersonWrite) UnmarshalBinary ¶
func (m *PersonWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Preferences ¶
type Preferences struct { // content languages ContentLanguages []string `json:"contentLanguages"` // ui languages UILanguages []string `json:"uiLanguages"` // visibility Visibility *VisibilityPreferences `json:"visibility,omitempty"` }
Preferences preferences
swagger:model Preferences
func (*Preferences) ContextValidate ¶
ContextValidate validate this preferences based on the context it is used
func (*Preferences) MarshalBinary ¶
func (m *Preferences) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Preferences) UnmarshalBinary ¶
func (m *Preferences) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Relation ¶
type Relation struct { // Permission of target on origin // Required: true GrantToOrigin GrantType `json:"grantToOrigin"` // Permission of origin on target // Required: true GrantToTarget GrantType `json:"grantToTarget"` // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // origin Origin *Person `json:"origin,omitempty"` // origin Uid // Required: true // Format: uuid OriginUID *strfmt.UUID `json:"originUid"` // target Target *Person `json:"target,omitempty"` // target Uid // Required: true // Format: uuid TargetUID *strfmt.UUID `json:"targetUid"` // Type of the relation, defined as {origin} is {type} (of) {target} // Required: true Type RelationType `json:"type"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
Relation relation
swagger:model Relation
func (*Relation) ContextValidate ¶
ContextValidate validate this relation based on the context it is used
func (*Relation) MarshalBinary ¶
MarshalBinary interface implementation
func (*Relation) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RelationType ¶
type RelationType string
RelationType relation type
swagger:model RelationType
const ( // RelationTypeChildOf captures enum value "ChildOf" RelationTypeChildOf RelationType = "ChildOf" // RelationTypeSpouseOf captures enum value "SpouseOf" RelationTypeSpouseOf RelationType = "SpouseOf" // RelationTypeLegalDependentOf captures enum value "LegalDependentOf" RelationTypeLegalDependentOf RelationType = "LegalDependentOf" // RelationTypeFosterChildOf captures enum value "FosterChildOf" RelationTypeFosterChildOf RelationType = "FosterChildOf" // RelationTypeContactDependentOf captures enum value "ContactDependentOf" RelationTypeContactDependentOf RelationType = "ContactDependentOf" )
func NewRelationType ¶
func NewRelationType(value RelationType) *RelationType
func (RelationType) ContextValidate ¶
ContextValidate validates this relation type based on context it is used
func (RelationType) Pointer ¶
func (m RelationType) Pointer() *RelationType
Pointer returns a pointer to a freshly-allocated RelationType.
type RelationWrite ¶
type RelationWrite struct { // Permission of target on origin // Required: true GrantToOrigin GrantType `json:"grantToOrigin"` // Permission of origin on target // Required: true GrantToTarget GrantType `json:"grantToTarget"` // origin Uid // Required: true // Format: uuid OriginUID *strfmt.UUID `json:"originUid"` // target Uid // Required: true // Format: uuid TargetUID *strfmt.UUID `json:"targetUid"` // Type of the relation, defined as {origin} is {type} (of) {target} // Required: true Type RelationType `json:"type"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
RelationWrite relation write
swagger:model RelationWrite
func (*RelationWrite) ContextValidate ¶
ContextValidate validate this relation write based on the context it is used
func (*RelationWrite) MarshalBinary ¶
func (m *RelationWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelationWrite) UnmarshalBinary ¶
func (m *RelationWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // name Name string `json:"name,omitempty"` // scope Scope RoleScope `json:"scope,omitempty"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` }
Role role
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleAssignment ¶
type RoleAssignment struct { // last changed date // Required: true // Format: date-time LastChangedDate *strfmt.DateTime `json:"lastChangedDate"` // org Org *Org `json:"org,omitempty"` // org Uid // Format: uuid OrgUID strfmt.UUID `json:"orgUid,omitempty"` // person Person *Person `json:"person,omitempty"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // role Role *Role `json:"role,omitempty"` // role Uid // Required: true // Format: uuid RoleUID *strfmt.UUID `json:"roleUid"` // uid // Required: true // Format: uuid UID *strfmt.UUID `json:"uid"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
RoleAssignment role assignment
swagger:model RoleAssignment
func (*RoleAssignment) ContextValidate ¶
ContextValidate validate this role assignment based on the context it is used
func (*RoleAssignment) MarshalBinary ¶
func (m *RoleAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleAssignment) UnmarshalBinary ¶
func (m *RoleAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleAssignmentWrite ¶
type RoleAssignmentWrite struct { // org Uid // Format: uuid OrgUID strfmt.UUID `json:"orgUid,omitempty"` // person Uid // Required: true // Format: uuid PersonUID *strfmt.UUID `json:"personUid"` // role Uid // Required: true // Format: uuid RoleUID *strfmt.UUID `json:"roleUid"` // valid from // Required: true // Format: date-time ValidFrom *strfmt.DateTime `json:"validFrom"` // valid to // Format: date-time ValidTo *strfmt.DateTime `json:"validTo,omitempty"` }
RoleAssignmentWrite role assignment write
swagger:model RoleAssignmentWrite
func (*RoleAssignmentWrite) ContextValidate ¶
ContextValidate validates this role assignment write based on context it is used
func (*RoleAssignmentWrite) MarshalBinary ¶
func (m *RoleAssignmentWrite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleAssignmentWrite) UnmarshalBinary ¶
func (m *RoleAssignmentWrite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleScope ¶
type RoleScope string
RoleScope role scope
swagger:model RoleScope
func NewRoleScope ¶
func (RoleScope) ContextValidate ¶
ContextValidate validates this role scope based on context it is used
type RoleWrite ¶
type RoleWrite struct { // name Name string `json:"name,omitempty"` // scope Scope RoleScope `json:"scope,omitempty"` }
RoleWrite role write
swagger:model RoleWrite
func (*RoleWrite) ContextValidate ¶
ContextValidate validate this role write based on the context it is used
func (*RoleWrite) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleWrite) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SearchVisibility ¶
type SearchVisibility string
SearchVisibility search visibility
swagger:model SearchVisibility
const ( // SearchVisibilityGlobal captures enum value "Global" SearchVisibilityGlobal SearchVisibility = "Global" // SearchVisibilityDistrict captures enum value "District" SearchVisibilityDistrict SearchVisibility = "District" // SearchVisibilityHidden captures enum value "Hidden" SearchVisibilityHidden SearchVisibility = "Hidden" )
func NewSearchVisibility ¶
func NewSearchVisibility(value SearchVisibility) *SearchVisibility
func (SearchVisibility) ContextValidate ¶
ContextValidate validates this search visibility based on context it is used
func (SearchVisibility) Pointer ¶
func (m SearchVisibility) Pointer() *SearchVisibility
Pointer returns a pointer to a freshly-allocated SearchVisibility.
type VisibilityPreferences ¶
type VisibilityPreferences struct { // birthday list BirthdayList bool `json:"birthdayList,omitempty"` // search // Required: true Search *SearchVisibility `json:"search"` }
VisibilityPreferences visibility preferences
swagger:model VisibilityPreferences
func (*VisibilityPreferences) ContextValidate ¶
ContextValidate validate this visibility preferences based on the context it is used
func (*VisibilityPreferences) MarshalBinary ¶
func (m *VisibilityPreferences) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VisibilityPreferences) UnmarshalBinary ¶
func (m *VisibilityPreferences) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WrappedWithMeta ¶
Source Files ¶
- address.go
- affiliation.go
- affiliation_type.go
- affiliation_write.go
- consent.go
- consent_purpose.go
- consent_write.go
- country.go
- country_write.go
- error_code.go
- error_data.go
- error_details.go
- gender.go
- grant_type.go
- group.go
- group_member.go
- group_member_write.go
- group_type.go
- group_write.go
- marital_status.go
- metadata.go
- national_id.go
- org.go
- org_active_status.go
- org_type.go
- org_write.go
- person.go
- person_relation.go
- person_relation_type.go
- person_write.go
- preferences.go
- relation.go
- relation_type.go
- relation_write.go
- role.go
- role_assignment.go
- role_assignment_write.go
- role_scope.go
- role_write.go
- search_visibility.go
- visibility_preferences.go
- wrapper.go