Documentation ¶
Overview ¶
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Generated by "sketch" utility. DO NOT EDIT
Index ¶
- Constants
- func LookupBuilderByName(name string) (interface{}, bool)
- func LookupBuilderByURI(uri string) (interface{}, bool)
- func LookupResourceByName(name string) (interface{}, bool)
- func LookupResourceByURI(uri string) (interface{}, bool)
- func ParseDateTime(s string) (time.Time, error)
- func Register(name, uri string, data interface{})
- func RegisterBuilder(name, uri string, data interface{})
- type Address
- func (v *Address) AsMap(m map[string]interface{}) error
- func (v *Address) Clone(dst interface{}) error
- func (v *Address) Country() string
- func (v *Address) Formatted() string
- func (v *Address) Get(key string, dst interface{}) error
- func (v *Address) GetExtension(name, uri string, dst interface{}) error
- func (v *Address) Has(name string) bool
- func (v *Address) HasCountry() bool
- func (v *Address) HasFormatted() bool
- func (v *Address) HasLocality() bool
- func (v *Address) HasPostalCode() bool
- func (v *Address) HasRegion() bool
- func (v *Address) HasStreetAddress() bool
- func (v *Address) HasType() bool
- func (v *Address) Keys() []string
- func (v *Address) Locality() string
- func (v *Address) MarshalJSON() ([]byte, error)
- func (v *Address) PostalCode() string
- func (v *Address) Region() string
- func (v *Address) Remove(key string) error
- func (v *Address) Set(key string, value interface{}) error
- func (v *Address) StreetAddress() string
- func (v *Address) Type() string
- func (v *Address) UnmarshalJSON(data []byte) error
- type AddressBuilder
- func (b *AddressBuilder) Build() (*Address, error)
- func (b *AddressBuilder) Country(in string) *AddressBuilder
- func (b *AddressBuilder) Formatted(in string) *AddressBuilder
- func (b *AddressBuilder) From(in *Address) *AddressBuilder
- func (b *AddressBuilder) Locality(in string) *AddressBuilder
- func (b *AddressBuilder) MustBuild() *Address
- func (b *AddressBuilder) PostalCode(in string) *AddressBuilder
- func (b *AddressBuilder) Region(in string) *AddressBuilder
- func (b *AddressBuilder) SetField(name string, value interface{}) *AddressBuilder
- func (b *AddressBuilder) StreetAddress(in string) *AddressBuilder
- func (b *AddressBuilder) Type(in string) *AddressBuilder
- type AssociatedGroup
- func (v *AssociatedGroup) AsMap(m map[string]interface{}) error
- func (v *AssociatedGroup) Clone(dst interface{}) error
- func (v *AssociatedGroup) Display() string
- func (v *AssociatedGroup) Get(key string, dst interface{}) error
- func (v *AssociatedGroup) GetExtension(name, uri string, dst interface{}) error
- func (v *AssociatedGroup) Has(name string) bool
- func (v *AssociatedGroup) HasDisplay() bool
- func (v *AssociatedGroup) HasReference() bool
- func (v *AssociatedGroup) HasType() bool
- func (v *AssociatedGroup) HasValue() bool
- func (v *AssociatedGroup) Keys() []string
- func (v *AssociatedGroup) MarshalJSON() ([]byte, error)
- func (v *AssociatedGroup) Reference() string
- func (v *AssociatedGroup) Remove(key string) error
- func (v *AssociatedGroup) Set(key string, value interface{}) error
- func (v *AssociatedGroup) Type() string
- func (v *AssociatedGroup) UnmarshalJSON(data []byte) error
- func (v *AssociatedGroup) Value() string
- type AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) Build() (*AssociatedGroup, error)
- func (b *AssociatedGroupBuilder) Display(in string) *AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) From(in *AssociatedGroup) *AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) MustBuild() *AssociatedGroup
- func (b *AssociatedGroupBuilder) Reference(in string) *AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) SetField(name string, value interface{}) *AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) Type(in string) *AssociatedGroupBuilder
- func (b *AssociatedGroupBuilder) Value(in string) *AssociatedGroupBuilder
- type AuthenticationScheme
- func (v *AuthenticationScheme) AsMap(m map[string]interface{}) error
- func (v *AuthenticationScheme) Clone(dst interface{}) error
- func (v *AuthenticationScheme) Description() string
- func (v *AuthenticationScheme) DocumentationURI() string
- func (v *AuthenticationScheme) Get(key string, dst interface{}) error
- func (v *AuthenticationScheme) GetExtension(name, uri string, dst interface{}) error
- func (v *AuthenticationScheme) Has(name string) bool
- func (v *AuthenticationScheme) HasDescription() bool
- func (v *AuthenticationScheme) HasDocumentationURI() bool
- func (v *AuthenticationScheme) HasName() bool
- func (v *AuthenticationScheme) HasSpecURI() bool
- func (v *AuthenticationScheme) HasType() bool
- func (v *AuthenticationScheme) Keys() []string
- func (v *AuthenticationScheme) MarshalJSON() ([]byte, error)
- func (v *AuthenticationScheme) Name() string
- func (v *AuthenticationScheme) Remove(key string) error
- func (v *AuthenticationScheme) Set(key string, value interface{}) error
- func (v *AuthenticationScheme) SpecURI() string
- func (v *AuthenticationScheme) Type() AuthenticationSchemeType
- func (v *AuthenticationScheme) UnmarshalJSON(data []byte) error
- type AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) Build() (*AuthenticationScheme, error)
- func (b *AuthenticationSchemeBuilder) Description(in string) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) DocumentationURI(in string) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) From(in *AuthenticationScheme) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) MustBuild() *AuthenticationScheme
- func (b *AuthenticationSchemeBuilder) Name(in string) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) SetField(name string, value interface{}) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) SpecURI(in string) *AuthenticationSchemeBuilder
- func (b *AuthenticationSchemeBuilder) Type(in AuthenticationSchemeType) *AuthenticationSchemeBuilder
- type AuthenticationSchemeType
- type Builder
- func (b *Builder) Address() *AddressBuilder
- func (b *Builder) AssociatedGroup() *AssociatedGroupBuilder
- func (b *Builder) AuthenticationScheme() *AuthenticationSchemeBuilder
- func (b *Builder) BulkSupport() *BulkSupportBuilder
- func (b *Builder) Email() *EmailBuilder
- func (b *Builder) EnterpriseManager() *EnterpriseManagerBuilder
- func (b *Builder) EnterpriseUser() *EnterpriseUserBuilder
- func (b *Builder) Entitlement() *EntitlementBuilder
- func (b *Builder) Error() *ErrorBuilder
- func (b *Builder) FilterSupport() *FilterSupportBuilder
- func (b *Builder) GenericSupport() *GenericSupportBuilder
- func (b *Builder) Group() *GroupBuilder
- func (b *Builder) GroupMember() *GroupMemberBuilder
- func (b *Builder) IMS() *IMSBuilder
- func (b *Builder) ListResponse() *ListResponseBuilder
- func (b *Builder) Meta() *MetaBuilder
- func (b *Builder) Names() *NamesBuilder
- func (b *Builder) PartialResourceRepresentationRequest() *PartialResourceRepresentationRequestBuilder
- func (b *Builder) PatchOperation() *PatchOperationBuilder
- func (b *Builder) PatchRequest() *PatchRequestBuilder
- func (b *Builder) PhoneNumber() *PhoneNumberBuilder
- func (b *Builder) Photo() *PhotoBuilder
- func (b *Builder) ResourceType() *ResourceTypeBuilder
- func (b *Builder) Role() *RoleBuilder
- func (b *Builder) Schema() *SchemaBuilder
- func (b *Builder) SchemaAttribute() *SchemaAttributeBuilder
- func (b *Builder) SchemaExtension() *SchemaExtensionBuilder
- func (b *Builder) SearchRequest() *SearchRequestBuilder
- func (b *Builder) ServiceProviderConfig() *ServiceProviderConfigBuilder
- func (b *Builder) User() *UserBuilder
- func (b *Builder) X509Certificate() *X509CertificateBuilder
- type BulkSupport
- func (v *BulkSupport) AsMap(m map[string]interface{}) error
- func (v *BulkSupport) Clone(dst interface{}) error
- func (v *BulkSupport) Get(key string, dst interface{}) error
- func (v *BulkSupport) GetExtension(name, uri string, dst interface{}) error
- func (v *BulkSupport) Has(name string) bool
- func (v *BulkSupport) HasMaxOperations() bool
- func (v *BulkSupport) HasMaxPayloadSize() bool
- func (v *BulkSupport) HasSupported() bool
- func (v *BulkSupport) Keys() []string
- func (v *BulkSupport) MarshalJSON() ([]byte, error)
- func (v *BulkSupport) MaxOperations() int
- func (v *BulkSupport) MaxPayloadSize() int
- func (v *BulkSupport) Remove(key string) error
- func (v *BulkSupport) Set(key string, value interface{}) error
- func (v *BulkSupport) Supported() bool
- func (v *BulkSupport) UnmarshalJSON(data []byte) error
- type BulkSupportBuilder
- func (b *BulkSupportBuilder) Build() (*BulkSupport, error)
- func (b *BulkSupportBuilder) From(in *BulkSupport) *BulkSupportBuilder
- func (b *BulkSupportBuilder) MaxOperations(in int) *BulkSupportBuilder
- func (b *BulkSupportBuilder) MaxPayloadSize(in int) *BulkSupportBuilder
- func (b *BulkSupportBuilder) MustBuild() *BulkSupport
- func (b *BulkSupportBuilder) SetField(name string, value interface{}) *BulkSupportBuilder
- func (b *BulkSupportBuilder) Supported(in bool) *BulkSupportBuilder
- type DataType
- type Email
- func (v *Email) AsMap(m map[string]interface{}) error
- func (v *Email) Clone(dst interface{}) error
- func (v *Email) Display() string
- func (v *Email) Get(key string, dst interface{}) error
- func (v *Email) GetExtension(name, uri string, dst interface{}) error
- func (v *Email) Has(name string) bool
- func (v *Email) HasDisplay() bool
- func (v *Email) HasPrimary() bool
- func (v *Email) HasType() bool
- func (v *Email) HasValue() bool
- func (v *Email) Keys() []string
- func (v *Email) MarshalJSON() ([]byte, error)
- func (v *Email) Primary() bool
- func (v *Email) Remove(key string) error
- func (v *Email) Set(key string, value interface{}) error
- func (v *Email) Type() string
- func (v *Email) UnmarshalJSON(data []byte) error
- func (v *Email) Value() string
- type EmailBuilder
- func (b *EmailBuilder) Build() (*Email, error)
- func (b *EmailBuilder) Display(in string) *EmailBuilder
- func (b *EmailBuilder) From(in *Email) *EmailBuilder
- func (b *EmailBuilder) MustBuild() *Email
- func (b *EmailBuilder) Primary(in bool) *EmailBuilder
- func (b *EmailBuilder) SetField(name string, value interface{}) *EmailBuilder
- func (b *EmailBuilder) Type(in string) *EmailBuilder
- func (b *EmailBuilder) Value(in string) *EmailBuilder
- type EnterpriseManager
- func (v *EnterpriseManager) AsMap(m map[string]interface{}) error
- func (v *EnterpriseManager) Clone(dst interface{}) error
- func (v *EnterpriseManager) DisplayName() string
- func (v *EnterpriseManager) Get(key string, dst interface{}) error
- func (v *EnterpriseManager) GetExtension(name, uri string, dst interface{}) error
- func (v *EnterpriseManager) Has(name string) bool
- func (v *EnterpriseManager) HasDisplayName() bool
- func (v *EnterpriseManager) HasID() bool
- func (v *EnterpriseManager) HasReference() bool
- func (v *EnterpriseManager) ID() string
- func (v *EnterpriseManager) Keys() []string
- func (v *EnterpriseManager) MarshalJSON() ([]byte, error)
- func (v *EnterpriseManager) Reference() string
- func (v *EnterpriseManager) Remove(key string) error
- func (v *EnterpriseManager) Set(key string, value interface{}) error
- func (v *EnterpriseManager) UnmarshalJSON(data []byte) error
- type EnterpriseManagerBuilder
- func (b *EnterpriseManagerBuilder) Build() (*EnterpriseManager, error)
- func (b *EnterpriseManagerBuilder) DisplayName(in string) *EnterpriseManagerBuilder
- func (b *EnterpriseManagerBuilder) From(in *EnterpriseManager) *EnterpriseManagerBuilder
- func (b *EnterpriseManagerBuilder) ID(in string) *EnterpriseManagerBuilder
- func (b *EnterpriseManagerBuilder) MustBuild() *EnterpriseManager
- func (b *EnterpriseManagerBuilder) Reference(in string) *EnterpriseManagerBuilder
- func (b *EnterpriseManagerBuilder) SetField(name string, value interface{}) *EnterpriseManagerBuilder
- type EnterpriseUser
- func (v *EnterpriseUser) AsMap(m map[string]interface{}) error
- func (v *EnterpriseUser) Clone(dst interface{}) error
- func (v *EnterpriseUser) CostCenter() string
- func (v *EnterpriseUser) Department() string
- func (v *EnterpriseUser) Division() string
- func (v *EnterpriseUser) EmployeeNumber() string
- func (v *EnterpriseUser) Get(key string, dst interface{}) error
- func (v *EnterpriseUser) GetExtension(name, uri string, dst interface{}) error
- func (v *EnterpriseUser) Has(name string) bool
- func (v *EnterpriseUser) HasCostCenter() bool
- func (v *EnterpriseUser) HasDepartment() bool
- func (v *EnterpriseUser) HasDivision() bool
- func (v *EnterpriseUser) HasEmployeeNumber() bool
- func (v *EnterpriseUser) HasManager() bool
- func (v *EnterpriseUser) HasOrganization() bool
- func (v *EnterpriseUser) HasSchemas() bool
- func (v *EnterpriseUser) Keys() []string
- func (v *EnterpriseUser) Manager() *EnterpriseManager
- func (v *EnterpriseUser) MarshalJSON() ([]byte, error)
- func (v *EnterpriseUser) Organization() string
- func (v *EnterpriseUser) Remove(key string) error
- func (v *EnterpriseUser) Schemas() []string
- func (v *EnterpriseUser) Set(key string, value interface{}) error
- func (v *EnterpriseUser) UnmarshalJSON(data []byte) error
- type EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Build() (*EnterpriseUser, error)
- func (b *EnterpriseUserBuilder) CostCenter(in string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Department(in string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Division(in string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) EmployeeNumber(in string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Extension(uri string, value interface{}) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) From(in *EnterpriseUser) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Manager(in *EnterpriseManager) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) MustBuild() *EnterpriseUser
- func (b *EnterpriseUserBuilder) Organization(in string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) Schemas(in ...string) *EnterpriseUserBuilder
- func (b *EnterpriseUserBuilder) SetField(name string, value interface{}) *EnterpriseUserBuilder
- type Entitlement
- func (v *Entitlement) AsMap(m map[string]interface{}) error
- func (v *Entitlement) Clone(dst interface{}) error
- func (v *Entitlement) Display() string
- func (v *Entitlement) Get(key string, dst interface{}) error
- func (v *Entitlement) GetExtension(name, uri string, dst interface{}) error
- func (v *Entitlement) Has(name string) bool
- func (v *Entitlement) HasDisplay() bool
- func (v *Entitlement) HasPrimary() bool
- func (v *Entitlement) HasType() bool
- func (v *Entitlement) HasValue() bool
- func (v *Entitlement) Keys() []string
- func (v *Entitlement) MarshalJSON() ([]byte, error)
- func (v *Entitlement) Primary() bool
- func (v *Entitlement) Remove(key string) error
- func (v *Entitlement) Set(key string, value interface{}) error
- func (v *Entitlement) Type() string
- func (v *Entitlement) UnmarshalJSON(data []byte) error
- func (v *Entitlement) Value() string
- type EntitlementBuilder
- func (b *EntitlementBuilder) Build() (*Entitlement, error)
- func (b *EntitlementBuilder) Display(in string) *EntitlementBuilder
- func (b *EntitlementBuilder) From(in *Entitlement) *EntitlementBuilder
- func (b *EntitlementBuilder) MustBuild() *Entitlement
- func (b *EntitlementBuilder) Primary(in bool) *EntitlementBuilder
- func (b *EntitlementBuilder) SetField(name string, value interface{}) *EntitlementBuilder
- func (b *EntitlementBuilder) Type(in string) *EntitlementBuilder
- func (b *EntitlementBuilder) Value(in string) *EntitlementBuilder
- type Error
- func (v *Error) AsMap(m map[string]interface{}) error
- func (v *Error) Clone(dst interface{}) error
- func (v *Error) Detail() string
- func (v *Error) Error() string
- func (v *Error) Get(key string, dst interface{}) error
- func (v *Error) GetExtension(name, uri string, dst interface{}) error
- func (v *Error) Has(name string) bool
- func (v *Error) HasDetail() bool
- func (v *Error) HasSCIMType() bool
- func (v *Error) HasStatus() bool
- func (v *Error) Keys() []string
- func (v *Error) MarshalJSON() ([]byte, error)
- func (v *Error) Remove(key string) error
- func (v *Error) SCIMType() ErrorType
- func (v *Error) Set(key string, value interface{}) error
- func (v *Error) Status() int
- func (v *Error) UnmarshalJSON(data []byte) error
- type ErrorBuilder
- func (b *ErrorBuilder) Build() (*Error, error)
- func (b *ErrorBuilder) Detail(in string) *ErrorBuilder
- func (b *ErrorBuilder) From(in *Error) *ErrorBuilder
- func (b *ErrorBuilder) MustBuild() *Error
- func (b *ErrorBuilder) SCIMType(in ErrorType) *ErrorBuilder
- func (b *ErrorBuilder) SetField(name string, value interface{}) *ErrorBuilder
- func (b *ErrorBuilder) Status(in int) *ErrorBuilder
- type ErrorType
- type FilterSupport
- func (v *FilterSupport) AsMap(m map[string]interface{}) error
- func (v *FilterSupport) Clone(dst interface{}) error
- func (v *FilterSupport) Get(key string, dst interface{}) error
- func (v *FilterSupport) GetExtension(name, uri string, dst interface{}) error
- func (v *FilterSupport) Has(name string) bool
- func (v *FilterSupport) HasMaxResults() bool
- func (v *FilterSupport) HasSupported() bool
- func (v *FilterSupport) Keys() []string
- func (v *FilterSupport) MarshalJSON() ([]byte, error)
- func (v *FilterSupport) MaxResults() int
- func (v *FilterSupport) Remove(key string) error
- func (v *FilterSupport) Set(key string, value interface{}) error
- func (v *FilterSupport) Supported() bool
- func (v *FilterSupport) UnmarshalJSON(data []byte) error
- type FilterSupportBuilder
- func (b *FilterSupportBuilder) Build() (*FilterSupport, error)
- func (b *FilterSupportBuilder) From(in *FilterSupport) *FilterSupportBuilder
- func (b *FilterSupportBuilder) MaxResults(in int) *FilterSupportBuilder
- func (b *FilterSupportBuilder) MustBuild() *FilterSupport
- func (b *FilterSupportBuilder) SetField(name string, value interface{}) *FilterSupportBuilder
- func (b *FilterSupportBuilder) Supported(in bool) *FilterSupportBuilder
- type GenericSupport
- func (v *GenericSupport) AsMap(m map[string]interface{}) error
- func (v *GenericSupport) Clone(dst interface{}) error
- func (v *GenericSupport) Get(key string, dst interface{}) error
- func (v *GenericSupport) GetExtension(name, uri string, dst interface{}) error
- func (v *GenericSupport) Has(name string) bool
- func (v *GenericSupport) HasSupported() bool
- func (v *GenericSupport) Keys() []string
- func (v *GenericSupport) MarshalJSON() ([]byte, error)
- func (v *GenericSupport) Remove(key string) error
- func (v *GenericSupport) Set(key string, value interface{}) error
- func (v *GenericSupport) Supported() bool
- func (v *GenericSupport) UnmarshalJSON(data []byte) error
- type GenericSupportBuilder
- func (b *GenericSupportBuilder) Build() (*GenericSupport, error)
- func (b *GenericSupportBuilder) From(in *GenericSupport) *GenericSupportBuilder
- func (b *GenericSupportBuilder) MustBuild() *GenericSupport
- func (b *GenericSupportBuilder) SetField(name string, value interface{}) *GenericSupportBuilder
- func (b *GenericSupportBuilder) Supported(in bool) *GenericSupportBuilder
- type GetOption
- type Group
- func (v *Group) AsMap(m map[string]interface{}) error
- func (v *Group) Clone(dst interface{}) error
- func (v *Group) DisplayName() string
- func (v *Group) ExternalID() string
- func (v *Group) Get(key string, dst interface{}) error
- func (v *Group) GetExtension(name, uri string, dst interface{}) error
- func (v *Group) Has(name string) bool
- func (v *Group) HasDisplayName() bool
- func (v *Group) HasExternalID() bool
- func (v *Group) HasID() bool
- func (v *Group) HasMembers() bool
- func (v *Group) HasMeta() bool
- func (v *Group) HasSchemas() bool
- func (v *Group) ID() string
- func (v *Group) Keys() []string
- func (v *Group) MarshalJSON() ([]byte, error)
- func (v *Group) Members() []*GroupMember
- func (v *Group) Meta() *Meta
- func (v *Group) Remove(key string) error
- func (v *Group) Schemas() []string
- func (v *Group) Set(key string, value interface{}) error
- func (v *Group) UnmarshalJSON(data []byte) error
- type GroupBuilder
- func (b *GroupBuilder) Build() (*Group, error)
- func (b *GroupBuilder) DisplayName(in string) *GroupBuilder
- func (b *GroupBuilder) Extension(uri string, value interface{}) *GroupBuilder
- func (b *GroupBuilder) ExternalID(in string) *GroupBuilder
- func (b *GroupBuilder) From(in *Group) *GroupBuilder
- func (b *GroupBuilder) ID(in string) *GroupBuilder
- func (b *GroupBuilder) Members(in ...*GroupMember) *GroupBuilder
- func (b *GroupBuilder) MembersFrom(in ...interface{}) *GroupBuilder
- func (b *GroupBuilder) Meta(in *Meta) *GroupBuilder
- func (b *GroupBuilder) MustBuild() *Group
- func (b *GroupBuilder) Schemas(in ...string) *GroupBuilder
- func (b *GroupBuilder) SetField(name string, value interface{}) *GroupBuilder
- type GroupMember
- func (v *GroupMember) AsMap(m map[string]interface{}) error
- func (v *GroupMember) Clone(dst interface{}) error
- func (v *GroupMember) Get(key string, dst interface{}) error
- func (v *GroupMember) GetExtension(name, uri string, dst interface{}) error
- func (v *GroupMember) Has(name string) bool
- func (v *GroupMember) HasReference() bool
- func (v *GroupMember) HasType() bool
- func (v *GroupMember) HasValue() bool
- func (v *GroupMember) Keys() []string
- func (v *GroupMember) MarshalJSON() ([]byte, error)
- func (v *GroupMember) Reference() string
- func (v *GroupMember) Remove(key string) error
- func (v *GroupMember) Set(key string, value interface{}) error
- func (v *GroupMember) Type() string
- func (v *GroupMember) UnmarshalJSON(data []byte) error
- func (v *GroupMember) Value() string
- type GroupMemberBuilder
- func (b *GroupMemberBuilder) Build() (*GroupMember, error)
- func (b *GroupMemberBuilder) From(in *GroupMember) *GroupMemberBuilder
- func (b *GroupMemberBuilder) FromResource(r interface{}) *GroupMemberBuilder
- func (b *GroupMemberBuilder) MustBuild() *GroupMember
- func (b *GroupMemberBuilder) Reference(in string) *GroupMemberBuilder
- func (b *GroupMemberBuilder) SetField(name string, value interface{}) *GroupMemberBuilder
- func (b *GroupMemberBuilder) Type(in string) *GroupMemberBuilder
- func (b *GroupMemberBuilder) Value(in string) *GroupMemberBuilder
- type IMS
- func (v *IMS) AsMap(m map[string]interface{}) error
- func (v *IMS) Clone(dst interface{}) error
- func (v *IMS) Display() string
- func (v *IMS) Get(key string, dst interface{}) error
- func (v *IMS) GetExtension(name, uri string, dst interface{}) error
- func (v *IMS) Has(name string) bool
- func (v *IMS) HasDisplay() bool
- func (v *IMS) HasPrimary() bool
- func (v *IMS) HasType() bool
- func (v *IMS) HasValue() bool
- func (v *IMS) Keys() []string
- func (v *IMS) MarshalJSON() ([]byte, error)
- func (v *IMS) Primary() bool
- func (v *IMS) Remove(key string) error
- func (v *IMS) Set(key string, value interface{}) error
- func (v *IMS) Type() string
- func (v *IMS) UnmarshalJSON(data []byte) error
- func (v *IMS) Value() string
- type IMSBuilder
- func (b *IMSBuilder) Build() (*IMS, error)
- func (b *IMSBuilder) Display(in string) *IMSBuilder
- func (b *IMSBuilder) From(in *IMS) *IMSBuilder
- func (b *IMSBuilder) MustBuild() *IMS
- func (b *IMSBuilder) Primary(in bool) *IMSBuilder
- func (b *IMSBuilder) SetField(name string, value interface{}) *IMSBuilder
- func (b *IMSBuilder) Type(in string) *IMSBuilder
- func (b *IMSBuilder) Value(in string) *IMSBuilder
- type ListResponse
- func (v *ListResponse) AsMap(m map[string]interface{}) error
- func (v *ListResponse) Clone(dst interface{}) error
- func (v *ListResponse) Get(key string, dst interface{}) error
- func (v *ListResponse) GetExtension(name, uri string, dst interface{}) error
- func (v *ListResponse) Has(name string) bool
- func (v *ListResponse) HasItemsPerPage() bool
- func (v *ListResponse) HasResources() bool
- func (v *ListResponse) HasSchemas() bool
- func (v *ListResponse) HasStartIndex() bool
- func (v *ListResponse) HasTotalResults() bool
- func (v *ListResponse) ItemsPerPage() int
- func (v *ListResponse) Keys() []string
- func (v *ListResponse) MarshalJSON() ([]byte, error)
- func (v *ListResponse) Remove(key string) error
- func (v *ListResponse) Resources() []interface{}
- func (v *ListResponse) Schemas() []string
- func (v *ListResponse) Set(key string, value interface{}) error
- func (v *ListResponse) StartIndex() int
- func (v *ListResponse) TotalResults() int
- func (v *ListResponse) UnmarshalJSON(data []byte) error
- type ListResponseBuilder
- func (b *ListResponseBuilder) Build() (*ListResponse, error)
- func (b *ListResponseBuilder) Extension(uri string, value interface{}) *ListResponseBuilder
- func (b *ListResponseBuilder) From(in *ListResponse) *ListResponseBuilder
- func (b *ListResponseBuilder) ItemsPerPage(in int) *ListResponseBuilder
- func (b *ListResponseBuilder) MustBuild() *ListResponse
- func (b *ListResponseBuilder) Resources(in ...interface{}) *ListResponseBuilder
- func (b *ListResponseBuilder) Schemas(in ...string) *ListResponseBuilder
- func (b *ListResponseBuilder) SetField(name string, value interface{}) *ListResponseBuilder
- func (b *ListResponseBuilder) StartIndex(in int) *ListResponseBuilder
- func (b *ListResponseBuilder) TotalResults(in int) *ListResponseBuilder
- type Meta
- func (v *Meta) AsMap(m map[string]interface{}) error
- func (v *Meta) Clone(dst interface{}) error
- func (v *Meta) Created() time.Time
- func (v *Meta) Get(key string, dst interface{}) error
- func (v *Meta) GetExtension(name, uri string, dst interface{}) error
- func (v *Meta) Has(name string) bool
- func (v *Meta) HasCreated() bool
- func (v *Meta) HasLastModified() bool
- func (v *Meta) HasLocation() bool
- func (v *Meta) HasResourceType() bool
- func (v *Meta) HasVersion() bool
- func (v *Meta) Keys() []string
- func (v *Meta) LastModified() time.Time
- func (v *Meta) Location() string
- func (v *Meta) MarshalJSON() ([]byte, error)
- func (v *Meta) Remove(key string) error
- func (v *Meta) ResourceType() string
- func (v *Meta) Set(key string, value interface{}) error
- func (v *Meta) UnmarshalJSON(data []byte) error
- func (v *Meta) Version() string
- type MetaBuilder
- func (b *MetaBuilder) Build() (*Meta, error)
- func (b *MetaBuilder) Created(in time.Time) *MetaBuilder
- func (b *MetaBuilder) LastModified(in time.Time) *MetaBuilder
- func (b *MetaBuilder) Location(in string) *MetaBuilder
- func (b *MetaBuilder) MustBuild() *Meta
- func (b *MetaBuilder) ResourceType(in string) *MetaBuilder
- func (b *MetaBuilder) SetField(name string, value interface{}) *MetaBuilder
- func (b *MetaBuilder) Version(in string) *MetaBuilder
- type Mutability
- type Names
- func (v *Names) AsMap(m map[string]interface{}) error
- func (v *Names) Clone(dst interface{}) error
- func (v *Names) FamilyName() string
- func (v *Names) Formatted() string
- func (v *Names) Get(key string, dst interface{}) error
- func (v *Names) GetExtension(name, uri string, dst interface{}) error
- func (v *Names) GivenName() string
- func (v *Names) Has(name string) bool
- func (v *Names) HasFamilyName() bool
- func (v *Names) HasFormatted() bool
- func (v *Names) HasGivenName() bool
- func (v *Names) HasHonorificPrefix() bool
- func (v *Names) HasHonorificSuffix() bool
- func (v *Names) HasMiddleName() bool
- func (v *Names) HonorificPrefix() string
- func (v *Names) HonorificSuffix() string
- func (v *Names) Keys() []string
- func (v *Names) MarshalJSON() ([]byte, error)
- func (v *Names) MiddleName() string
- func (v *Names) Remove(key string) error
- func (v *Names) Set(key string, value interface{}) error
- func (v *Names) UnmarshalJSON(data []byte) error
- type NamesBuilder
- func (b *NamesBuilder) Build() (*Names, error)
- func (b *NamesBuilder) FamilyName(in string) *NamesBuilder
- func (b *NamesBuilder) Formatted(in string) *NamesBuilder
- func (b *NamesBuilder) From(in *Names) *NamesBuilder
- func (b *NamesBuilder) GivenName(in string) *NamesBuilder
- func (b *NamesBuilder) HonorificPrefix(in string) *NamesBuilder
- func (b *NamesBuilder) HonorificSuffix(in string) *NamesBuilder
- func (b *NamesBuilder) MiddleName(in string) *NamesBuilder
- func (b *NamesBuilder) MustBuild() *Names
- func (b *NamesBuilder) SetField(name string, value interface{}) *NamesBuilder
- type Option
- type PartialResourceRepresentationRequest
- func (v *PartialResourceRepresentationRequest) AsMap(m map[string]interface{}) error
- func (v *PartialResourceRepresentationRequest) Attributes() []string
- func (v *PartialResourceRepresentationRequest) Clone(dst interface{}) error
- func (v *PartialResourceRepresentationRequest) ExcludedAttributes() []string
- func (v *PartialResourceRepresentationRequest) Get(key string, dst interface{}) error
- func (v *PartialResourceRepresentationRequest) GetExtension(name, uri string, dst interface{}) error
- func (v *PartialResourceRepresentationRequest) Has(name string) bool
- func (v *PartialResourceRepresentationRequest) HasAttributes() bool
- func (v *PartialResourceRepresentationRequest) HasExcludedAttributes() bool
- func (v *PartialResourceRepresentationRequest) Keys() []string
- func (v *PartialResourceRepresentationRequest) MarshalJSON() ([]byte, error)
- func (v *PartialResourceRepresentationRequest) Remove(key string) error
- func (v *PartialResourceRepresentationRequest) Set(key string, value interface{}) error
- func (v *PartialResourceRepresentationRequest) UnmarshalJSON(data []byte) error
- type PartialResourceRepresentationRequestBuilder
- func (b *PartialResourceRepresentationRequestBuilder) Attributes(in ...string) *PartialResourceRepresentationRequestBuilder
- func (b *PartialResourceRepresentationRequestBuilder) Build() (*PartialResourceRepresentationRequest, error)
- func (b *PartialResourceRepresentationRequestBuilder) ExcludedAttributes(in ...string) *PartialResourceRepresentationRequestBuilder
- func (b *PartialResourceRepresentationRequestBuilder) From(in *PartialResourceRepresentationRequest) *PartialResourceRepresentationRequestBuilder
- func (b *PartialResourceRepresentationRequestBuilder) MustBuild() *PartialResourceRepresentationRequest
- func (b *PartialResourceRepresentationRequestBuilder) SetField(name string, value interface{}) *PartialResourceRepresentationRequestBuilder
- type PatchOperation
- func (v *PatchOperation) AsMap(m map[string]interface{}) error
- func (v *PatchOperation) Clone(dst interface{}) error
- func (v *PatchOperation) ExternalID() string
- func (v *PatchOperation) Get(key string, dst interface{}) error
- func (v *PatchOperation) GetExtension(name, uri string, dst interface{}) error
- func (v *PatchOperation) Has(name string) bool
- func (v *PatchOperation) HasExternalID() bool
- func (v *PatchOperation) HasID() bool
- func (v *PatchOperation) HasMeta() bool
- func (v *PatchOperation) HasOp() bool
- func (v *PatchOperation) HasPath() bool
- func (v *PatchOperation) HasValue() bool
- func (v *PatchOperation) ID() string
- func (v *PatchOperation) Keys() []string
- func (v *PatchOperation) MarshalJSON() ([]byte, error)
- func (v *PatchOperation) Meta() *Meta
- func (v *PatchOperation) Op() PatchOperationType
- func (v *PatchOperation) Path() string
- func (v *PatchOperation) Remove(key string) error
- func (v *PatchOperation) Set(key string, value interface{}) error
- func (v *PatchOperation) UnmarshalJSON(data []byte) error
- func (v *PatchOperation) Value() interface{}
- type PatchOperationBuilder
- func (b *PatchOperationBuilder) Build() (*PatchOperation, error)
- func (b *PatchOperationBuilder) ExternalID(in string) *PatchOperationBuilder
- func (b *PatchOperationBuilder) From(in *PatchOperation) *PatchOperationBuilder
- func (b *PatchOperationBuilder) ID(in string) *PatchOperationBuilder
- func (b *PatchOperationBuilder) Meta(in *Meta) *PatchOperationBuilder
- func (b *PatchOperationBuilder) MustBuild() *PatchOperation
- func (b *PatchOperationBuilder) Op(in PatchOperationType) *PatchOperationBuilder
- func (b *PatchOperationBuilder) Path(in string) *PatchOperationBuilder
- func (b *PatchOperationBuilder) SetField(name string, value interface{}) *PatchOperationBuilder
- func (b *PatchOperationBuilder) Value(in interface{}) *PatchOperationBuilder
- type PatchOperationType
- type PatchOperationValue
- type PatchRequest
- func (v *PatchRequest) AsMap(m map[string]interface{}) error
- func (v *PatchRequest) Clone(dst interface{}) error
- func (v *PatchRequest) Get(key string, dst interface{}) error
- func (v *PatchRequest) GetExtension(name, uri string, dst interface{}) error
- func (v *PatchRequest) Has(name string) bool
- func (v *PatchRequest) HasOperations() bool
- func (v *PatchRequest) HasSchemas() bool
- func (v *PatchRequest) Keys() []string
- func (v *PatchRequest) MarshalJSON() ([]byte, error)
- func (v *PatchRequest) Operations() []*PatchOperation
- func (v *PatchRequest) Remove(key string) error
- func (v *PatchRequest) Schemas() []string
- func (v *PatchRequest) Set(key string, value interface{}) error
- func (v *PatchRequest) UnmarshalJSON(data []byte) error
- type PatchRequestBuilder
- func (b *PatchRequestBuilder) Build() (*PatchRequest, error)
- func (b *PatchRequestBuilder) Extension(uri string, value interface{}) *PatchRequestBuilder
- func (b *PatchRequestBuilder) From(in *PatchRequest) *PatchRequestBuilder
- func (b *PatchRequestBuilder) MustBuild() *PatchRequest
- func (b *PatchRequestBuilder) Operations(in ...*PatchOperation) *PatchRequestBuilder
- func (b *PatchRequestBuilder) Schemas(in ...string) *PatchRequestBuilder
- func (b *PatchRequestBuilder) SetField(name string, value interface{}) *PatchRequestBuilder
- type PhoneNumber
- func (v *PhoneNumber) AsMap(m map[string]interface{}) error
- func (v *PhoneNumber) Clone(dst interface{}) error
- func (v *PhoneNumber) Display() string
- func (v *PhoneNumber) Get(key string, dst interface{}) error
- func (v *PhoneNumber) GetExtension(name, uri string, dst interface{}) error
- func (v *PhoneNumber) Has(name string) bool
- func (v *PhoneNumber) HasDisplay() bool
- func (v *PhoneNumber) HasPrimary() bool
- func (v *PhoneNumber) HasType() bool
- func (v *PhoneNumber) HasValue() bool
- func (v *PhoneNumber) Keys() []string
- func (v *PhoneNumber) MarshalJSON() ([]byte, error)
- func (v *PhoneNumber) Primary() bool
- func (v *PhoneNumber) Remove(key string) error
- func (v *PhoneNumber) Set(key string, value interface{}) error
- func (v *PhoneNumber) Type() string
- func (v *PhoneNumber) UnmarshalJSON(data []byte) error
- func (v *PhoneNumber) Value() string
- type PhoneNumberBuilder
- func (b *PhoneNumberBuilder) Build() (*PhoneNumber, error)
- func (b *PhoneNumberBuilder) Display(in string) *PhoneNumberBuilder
- func (b *PhoneNumberBuilder) From(in *PhoneNumber) *PhoneNumberBuilder
- func (b *PhoneNumberBuilder) MustBuild() *PhoneNumber
- func (b *PhoneNumberBuilder) Primary(in bool) *PhoneNumberBuilder
- func (b *PhoneNumberBuilder) SetField(name string, value interface{}) *PhoneNumberBuilder
- func (b *PhoneNumberBuilder) Type(in string) *PhoneNumberBuilder
- func (b *PhoneNumberBuilder) Value(in string) *PhoneNumberBuilder
- type PhoneNumberValue
- type Photo
- func (v *Photo) AsMap(m map[string]interface{}) error
- func (v *Photo) Clone(dst interface{}) error
- func (v *Photo) Display() string
- func (v *Photo) Get(key string, dst interface{}) error
- func (v *Photo) GetExtension(name, uri string, dst interface{}) error
- func (v *Photo) Has(name string) bool
- func (v *Photo) HasDisplay() bool
- func (v *Photo) HasPrimary() bool
- func (v *Photo) HasType() bool
- func (v *Photo) HasValue() bool
- func (v *Photo) Keys() []string
- func (v *Photo) MarshalJSON() ([]byte, error)
- func (v *Photo) Primary() bool
- func (v *Photo) Remove(key string) error
- func (v *Photo) Set(key string, value interface{}) error
- func (v *Photo) Type() string
- func (v *Photo) UnmarshalJSON(data []byte) error
- func (v *Photo) Value() string
- type PhotoBuilder
- func (b *PhotoBuilder) Build() (*Photo, error)
- func (b *PhotoBuilder) Display(in string) *PhotoBuilder
- func (b *PhotoBuilder) From(in *Photo) *PhotoBuilder
- func (b *PhotoBuilder) MustBuild() *Photo
- func (b *PhotoBuilder) Primary(in bool) *PhotoBuilder
- func (b *PhotoBuilder) SetField(name string, value interface{}) *PhotoBuilder
- func (b *PhotoBuilder) Type(in string) *PhotoBuilder
- func (b *PhotoBuilder) Value(in string) *PhotoBuilder
- type Registry
- type ResourceType
- func (v *ResourceType) AsMap(m map[string]interface{}) error
- func (v *ResourceType) Clone(dst interface{}) error
- func (v *ResourceType) Description() string
- func (v *ResourceType) Endpoint() string
- func (v *ResourceType) Get(key string, dst interface{}) error
- func (v *ResourceType) GetExtension(name, uri string, dst interface{}) error
- func (v *ResourceType) Has(name string) bool
- func (v *ResourceType) HasDescription() bool
- func (v *ResourceType) HasEndpoint() bool
- func (v *ResourceType) HasID() bool
- func (v *ResourceType) HasName() bool
- func (v *ResourceType) HasSchema() bool
- func (v *ResourceType) HasSchemaExtensions() bool
- func (v *ResourceType) HasSchemas() bool
- func (v *ResourceType) ID() string
- func (v *ResourceType) Keys() []string
- func (v *ResourceType) MarshalJSON() ([]byte, error)
- func (v *ResourceType) Name() string
- func (v *ResourceType) Remove(key string) error
- func (v *ResourceType) Schema() string
- func (v *ResourceType) SchemaExtensions() []*SchemaExtension
- func (v *ResourceType) Schemas() []string
- func (v *ResourceType) Set(key string, value interface{}) error
- func (v *ResourceType) UnmarshalJSON(data []byte) error
- type ResourceTypeBuilder
- func (b *ResourceTypeBuilder) Build() (*ResourceType, error)
- func (b *ResourceTypeBuilder) Description(in string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) Endpoint(in string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) Extension(uri string, value interface{}) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) From(in *ResourceType) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) ID(in string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) MustBuild() *ResourceType
- func (b *ResourceTypeBuilder) Name(in string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) Schema(in string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) SchemaExtensions(in ...*SchemaExtension) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) Schemas(in ...string) *ResourceTypeBuilder
- func (b *ResourceTypeBuilder) SetField(name string, value interface{}) *ResourceTypeBuilder
- type Returned
- type Role
- func (v *Role) AsMap(m map[string]interface{}) error
- func (v *Role) Clone(dst interface{}) error
- func (v *Role) Display() string
- func (v *Role) Get(key string, dst interface{}) error
- func (v *Role) GetExtension(name, uri string, dst interface{}) error
- func (v *Role) Has(name string) bool
- func (v *Role) HasDisplay() bool
- func (v *Role) HasPrimary() bool
- func (v *Role) HasType() bool
- func (v *Role) HasValue() bool
- func (v *Role) Keys() []string
- func (v *Role) MarshalJSON() ([]byte, error)
- func (v *Role) Primary() bool
- func (v *Role) Remove(key string) error
- func (v *Role) Set(key string, value interface{}) error
- func (v *Role) Type() string
- func (v *Role) UnmarshalJSON(data []byte) error
- func (v *Role) Value() string
- type RoleBuilder
- func (b *RoleBuilder) Build() (*Role, error)
- func (b *RoleBuilder) Display(in string) *RoleBuilder
- func (b *RoleBuilder) From(in *Role) *RoleBuilder
- func (b *RoleBuilder) MustBuild() *Role
- func (b *RoleBuilder) Primary(in bool) *RoleBuilder
- func (b *RoleBuilder) SetField(name string, value interface{}) *RoleBuilder
- func (b *RoleBuilder) Type(in string) *RoleBuilder
- func (b *RoleBuilder) Value(in string) *RoleBuilder
- type Schema
- func (v *Schema) AsMap(m map[string]interface{}) error
- func (v *Schema) AttributeByName(name string) (*SchemaAttribute, bool)
- func (v *Schema) Attributes() []*SchemaAttribute
- func (v *Schema) Clone(dst interface{}) error
- func (v *Schema) Description() string
- func (v *Schema) Get(key string, dst interface{}) error
- func (v *Schema) GetExtension(name, uri string, dst interface{}) error
- func (v *Schema) Has(name string) bool
- func (v *Schema) HasAttributes() bool
- func (v *Schema) HasDescription() bool
- func (v *Schema) HasID() bool
- func (v *Schema) HasName() bool
- func (v *Schema) ID() string
- func (v *Schema) Keys() []string
- func (v *Schema) MarshalJSON() ([]byte, error)
- func (v *Schema) Name() string
- func (v *Schema) Remove(key string) error
- func (v *Schema) Set(key string, value interface{}) error
- func (v *Schema) UnmarshalJSON(data []byte) error
- type SchemaAttribute
- func (v *SchemaAttribute) AsMap(m map[string]interface{}) error
- func (v *SchemaAttribute) Attributes() []*SchemaAttribute
- func (v *SchemaAttribute) CanRead() bool
- func (v *SchemaAttribute) CanWrite() bool
- func (v *SchemaAttribute) CanonicalValues() []interface{}
- func (v *SchemaAttribute) CaseExact() bool
- func (v *SchemaAttribute) Clone(dst interface{}) error
- func (v *SchemaAttribute) Description() string
- func (v *SchemaAttribute) Get(key string, dst interface{}) error
- func (v *SchemaAttribute) GetExtension(name, uri string, dst interface{}) error
- func (v *SchemaAttribute) GoAccessorName() string
- func (v *SchemaAttribute) Has(name string) bool
- func (v *SchemaAttribute) HasCanonicalValues() bool
- func (v *SchemaAttribute) HasCaseExact() bool
- func (v *SchemaAttribute) HasDescription() bool
- func (v *SchemaAttribute) HasMultiValued() bool
- func (v *SchemaAttribute) HasMutability() bool
- func (v *SchemaAttribute) HasName() bool
- func (v *SchemaAttribute) HasReferenceTypes() bool
- func (v *SchemaAttribute) HasRequired() bool
- func (v *SchemaAttribute) HasReturned() bool
- func (v *SchemaAttribute) HasSubAttributes() bool
- func (v *SchemaAttribute) HasType() bool
- func (v *SchemaAttribute) HasUniqueness() bool
- func (v *SchemaAttribute) Keys() []string
- func (v *SchemaAttribute) MarshalJSON() ([]byte, error)
- func (v *SchemaAttribute) MultiValued() bool
- func (v *SchemaAttribute) Mutability() Mutability
- func (v *SchemaAttribute) Name() string
- func (v *SchemaAttribute) ReferenceTypes() []string
- func (v *SchemaAttribute) Remove(key string) error
- func (v *SchemaAttribute) Required() bool
- func (v *SchemaAttribute) Returned() Returned
- func (v *SchemaAttribute) Set(key string, value interface{}) error
- func (v *SchemaAttribute) SubAttributes() []*SchemaAttribute
- func (v *SchemaAttribute) Type() DataType
- func (v *SchemaAttribute) Uniqueness() Uniqueness
- func (v *SchemaAttribute) UnmarshalJSON(data []byte) error
- type SchemaAttributeBuilder
- func (v *SchemaAttributeBuilder) Attributes(in ...*SchemaAttribute) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Build() (*SchemaAttribute, error)
- func (b *SchemaAttributeBuilder) CanonicalValues(in ...interface{}) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) CaseExact(in bool) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Description(in string) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) From(in *SchemaAttribute) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) GoAccessorName(name string) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) MultiValued(in bool) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) MustBuild() *SchemaAttribute
- func (b *SchemaAttributeBuilder) Mutability(in Mutability) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Name(in string) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) ReferenceTypes(in ...string) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Required(in bool) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Returned(in Returned) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) SetField(name string, value interface{}) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) SubAttributes(in ...*SchemaAttribute) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Type(in DataType) *SchemaAttributeBuilder
- func (b *SchemaAttributeBuilder) Uniqueness(in Uniqueness) *SchemaAttributeBuilder
- type SchemaBuilder
- func (b *SchemaBuilder) Attributes(in ...*SchemaAttribute) *SchemaBuilder
- func (b *SchemaBuilder) Build() (*Schema, error)
- func (b *SchemaBuilder) Description(in string) *SchemaBuilder
- func (b *SchemaBuilder) ID(in string) *SchemaBuilder
- func (b *SchemaBuilder) MustBuild() *Schema
- func (b *SchemaBuilder) Name(in string) *SchemaBuilder
- func (b *SchemaBuilder) SetField(name string, value interface{}) *SchemaBuilder
- type SchemaExtension
- func (v *SchemaExtension) AsMap(m map[string]interface{}) error
- func (v *SchemaExtension) Clone(dst interface{}) error
- func (v *SchemaExtension) Get(key string, dst interface{}) error
- func (v *SchemaExtension) GetExtension(name, uri string, dst interface{}) error
- func (v *SchemaExtension) Has(name string) bool
- func (v *SchemaExtension) HasRequired() bool
- func (v *SchemaExtension) HasSchema() bool
- func (v *SchemaExtension) Keys() []string
- func (v *SchemaExtension) MarshalJSON() ([]byte, error)
- func (v *SchemaExtension) Remove(key string) error
- func (v *SchemaExtension) Required() bool
- func (v *SchemaExtension) Schema() string
- func (v *SchemaExtension) Set(key string, value interface{}) error
- func (v *SchemaExtension) UnmarshalJSON(data []byte) error
- type SchemaExtensionBuilder
- func (b *SchemaExtensionBuilder) Build() (*SchemaExtension, error)
- func (b *SchemaExtensionBuilder) From(in *SchemaExtension) *SchemaExtensionBuilder
- func (b *SchemaExtensionBuilder) MustBuild() *SchemaExtension
- func (b *SchemaExtensionBuilder) Required(in bool) *SchemaExtensionBuilder
- func (b *SchemaExtensionBuilder) Schema(in string) *SchemaExtensionBuilder
- func (b *SchemaExtensionBuilder) SetField(name string, value interface{}) *SchemaExtensionBuilder
- type SearchRequest
- func (v *SearchRequest) AsMap(m map[string]interface{}) error
- func (v *SearchRequest) Attributes() []string
- func (v *SearchRequest) Clone(dst interface{}) error
- func (v *SearchRequest) Count() int
- func (v *SearchRequest) ExcludedAttributes() []string
- func (v *SearchRequest) Filter() string
- func (v *SearchRequest) Get(key string, dst interface{}) error
- func (v *SearchRequest) GetExtension(name, uri string, dst interface{}) error
- func (v *SearchRequest) Has(name string) bool
- func (v *SearchRequest) HasAttributes() bool
- func (v *SearchRequest) HasCount() bool
- func (v *SearchRequest) HasExcludedAttributes() bool
- func (v *SearchRequest) HasFilter() bool
- func (v *SearchRequest) HasSchema() bool
- func (v *SearchRequest) HasSchemas() bool
- func (v *SearchRequest) HasSortBy() bool
- func (v *SearchRequest) HasSortOrder() bool
- func (v *SearchRequest) HasStartIndex() bool
- func (v *SearchRequest) Keys() []string
- func (v *SearchRequest) MarshalJSON() ([]byte, error)
- func (v *SearchRequest) Remove(key string) error
- func (v *SearchRequest) Schema() string
- func (v *SearchRequest) Schemas() []string
- func (v *SearchRequest) Set(key string, value interface{}) error
- func (v *SearchRequest) SortBy() string
- func (v *SearchRequest) SortOrder() string
- func (v *SearchRequest) StartIndex() int
- func (v *SearchRequest) UnmarshalJSON(data []byte) error
- type SearchRequestBuilder
- func (b *SearchRequestBuilder) Attributes(in ...string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) Build() (*SearchRequest, error)
- func (b *SearchRequestBuilder) Count(in int) *SearchRequestBuilder
- func (b *SearchRequestBuilder) ExcludedAttributes(in ...string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) Extension(uri string, value interface{}) *SearchRequestBuilder
- func (b *SearchRequestBuilder) Filter(in string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) From(in *SearchRequest) *SearchRequestBuilder
- func (b *SearchRequestBuilder) MustBuild() *SearchRequest
- func (b *SearchRequestBuilder) Schema(in string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) Schemas(in ...string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) SetField(name string, value interface{}) *SearchRequestBuilder
- func (b *SearchRequestBuilder) SortBy(in string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) SortOrder(in string) *SearchRequestBuilder
- func (b *SearchRequestBuilder) StartIndex(in int) *SearchRequestBuilder
- type ServiceProviderConfig
- func (v *ServiceProviderConfig) AsMap(m map[string]interface{}) error
- func (v *ServiceProviderConfig) AuthenticationSchemes() []*AuthenticationScheme
- func (v *ServiceProviderConfig) Bulk() *BulkSupport
- func (v *ServiceProviderConfig) ChangePassword() *GenericSupport
- func (v *ServiceProviderConfig) Clone(dst interface{}) error
- func (v *ServiceProviderConfig) DocumentationURI() string
- func (v *ServiceProviderConfig) ETag() *GenericSupport
- func (v *ServiceProviderConfig) Filter() *FilterSupport
- func (v *ServiceProviderConfig) Get(key string, dst interface{}) error
- func (v *ServiceProviderConfig) GetExtension(name, uri string, dst interface{}) error
- func (v *ServiceProviderConfig) Has(name string) bool
- func (v *ServiceProviderConfig) HasAuthenticationSchemes() bool
- func (v *ServiceProviderConfig) HasBulk() bool
- func (v *ServiceProviderConfig) HasChangePassword() bool
- func (v *ServiceProviderConfig) HasDocumentationURI() bool
- func (v *ServiceProviderConfig) HasETag() bool
- func (v *ServiceProviderConfig) HasFilter() bool
- func (v *ServiceProviderConfig) HasPatch() bool
- func (v *ServiceProviderConfig) HasSchemas() bool
- func (v *ServiceProviderConfig) HasSort() bool
- func (v *ServiceProviderConfig) Keys() []string
- func (v *ServiceProviderConfig) MarshalJSON() ([]byte, error)
- func (v *ServiceProviderConfig) Patch() *GenericSupport
- func (v *ServiceProviderConfig) Remove(key string) error
- func (v *ServiceProviderConfig) Schemas() []string
- func (v *ServiceProviderConfig) Set(key string, value interface{}) error
- func (v *ServiceProviderConfig) Sort() *GenericSupport
- func (v *ServiceProviderConfig) UnmarshalJSON(data []byte) error
- type ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) AuthenticationSchemes(in ...*AuthenticationScheme) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) Build() (*ServiceProviderConfig, error)
- func (b *ServiceProviderConfigBuilder) Bulk(in *BulkSupport) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) ChangePassword(in *GenericSupport) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) DocumentationURI(in string) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) ETag(in *GenericSupport) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) Extension(uri string, value interface{}) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) Filter(in *FilterSupport) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) From(in *ServiceProviderConfig) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) MustBuild() *ServiceProviderConfig
- func (b *ServiceProviderConfigBuilder) Patch(in *GenericSupport) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) Schemas(in ...string) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) SetField(name string, value interface{}) *ServiceProviderConfigBuilder
- func (b *ServiceProviderConfigBuilder) Sort(in *GenericSupport) *ServiceProviderConfigBuilder
- type Uniqueness
- type User
- func (v *User) Active() bool
- func (v *User) Addresses() []*Address
- func (v *User) AsMap(m map[string]interface{}) error
- func (v *User) Clone(dst interface{}) error
- func (v *User) DisplayName() string
- func (v *User) Emails() []*Email
- func (v *User) Entitlements() []*Entitlement
- func (v *User) ExternalID() string
- func (v *User) Get(key string, dst interface{}) error
- func (v *User) GetExtension(name, uri string, dst interface{}) error
- func (v *User) Groups() []*AssociatedGroup
- func (v *User) Has(name string) bool
- func (v *User) HasActive() bool
- func (v *User) HasAddresses() bool
- func (v *User) HasDisplayName() bool
- func (v *User) HasEmails() bool
- func (v *User) HasEntitlements() bool
- func (v *User) HasExternalID() bool
- func (v *User) HasGroups() bool
- func (v *User) HasID() bool
- func (v *User) HasIMS() bool
- func (v *User) HasLocale() bool
- func (v *User) HasMeta() bool
- func (v *User) HasName() bool
- func (v *User) HasNickName() bool
- func (v *User) HasPassword() bool
- func (v *User) HasPhoneNumbers() bool
- func (v *User) HasPhotos() bool
- func (v *User) HasPreferredLanguage() bool
- func (v *User) HasProfileURL() bool
- func (v *User) HasRoles() bool
- func (v *User) HasSchemas() bool
- func (v *User) HasTimezone() bool
- func (v *User) HasTitle() bool
- func (v *User) HasUserName() bool
- func (v *User) HasUserType() bool
- func (v *User) HasX509Certificates() bool
- func (v *User) ID() string
- func (v *User) IMS() []*IMS
- func (v *User) Keys() []string
- func (v *User) Locale() string
- func (v *User) MarshalJSON() ([]byte, error)
- func (v *User) Meta() *Meta
- func (v *User) Name() *Names
- func (v *User) NickName() string
- func (v *User) Password() string
- func (v *User) PhoneNumbers() []*PhoneNumber
- func (v *User) Photos() []*Photo
- func (v *User) PreferredLanguage() string
- func (v *User) ProfileURL() string
- func (v *User) Remove(key string) error
- func (v *User) Roles() []*Role
- func (v *User) Schemas() []string
- func (v *User) Set(key string, value interface{}) error
- func (v *User) Timezone() string
- func (v *User) Title() string
- func (v *User) UnmarshalJSON(data []byte) error
- func (v *User) UserName() string
- func (v *User) UserType() string
- func (v *User) X509Certificates() []*X509Certificate
- type UserBuilder
- func (b *UserBuilder) Active(in bool) *UserBuilder
- func (b *UserBuilder) Addresses(in ...*Address) *UserBuilder
- func (b *UserBuilder) Build() (*User, error)
- func (b *UserBuilder) DisplayName(in string) *UserBuilder
- func (b *UserBuilder) Emails(in ...*Email) *UserBuilder
- func (b *UserBuilder) Entitlements(in ...*Entitlement) *UserBuilder
- func (b *UserBuilder) Extension(uri string, value interface{}) *UserBuilder
- func (b *UserBuilder) ExternalID(in string) *UserBuilder
- func (b *UserBuilder) From(in *User) *UserBuilder
- func (b *UserBuilder) Groups(in ...*AssociatedGroup) *UserBuilder
- func (b *UserBuilder) ID(in string) *UserBuilder
- func (b *UserBuilder) IMS(in ...*IMS) *UserBuilder
- func (b *UserBuilder) Locale(in string) *UserBuilder
- func (b *UserBuilder) Meta(in *Meta) *UserBuilder
- func (b *UserBuilder) MustBuild() *User
- func (b *UserBuilder) Name(in *Names) *UserBuilder
- func (b *UserBuilder) NickName(in string) *UserBuilder
- func (b *UserBuilder) Password(in string) *UserBuilder
- func (b *UserBuilder) PhoneNumbers(in ...*PhoneNumber) *UserBuilder
- func (b *UserBuilder) Photos(in ...*Photo) *UserBuilder
- func (b *UserBuilder) PreferredLanguage(in string) *UserBuilder
- func (b *UserBuilder) ProfileURL(in string) *UserBuilder
- func (b *UserBuilder) Roles(in ...*Role) *UserBuilder
- func (b *UserBuilder) Schemas(in ...string) *UserBuilder
- func (b *UserBuilder) SetField(name string, value interface{}) *UserBuilder
- func (b *UserBuilder) Timezone(in string) *UserBuilder
- func (b *UserBuilder) Title(in string) *UserBuilder
- func (b *UserBuilder) UserName(in string) *UserBuilder
- func (b *UserBuilder) UserType(in string) *UserBuilder
- func (b *UserBuilder) X509Certificates(in ...*X509Certificate) *UserBuilder
- type X509Certificate
- func (v *X509Certificate) AsMap(m map[string]interface{}) error
- func (v *X509Certificate) Clone(dst interface{}) error
- func (v *X509Certificate) Display() string
- func (v *X509Certificate) Get(key string, dst interface{}) error
- func (v *X509Certificate) GetExtension(name, uri string, dst interface{}) error
- func (v *X509Certificate) Has(name string) bool
- func (v *X509Certificate) HasDisplay() bool
- func (v *X509Certificate) HasPrimary() bool
- func (v *X509Certificate) HasType() bool
- func (v *X509Certificate) HasValue() bool
- func (v *X509Certificate) Keys() []string
- func (v *X509Certificate) MarshalJSON() ([]byte, error)
- func (v *X509Certificate) Primary() bool
- func (v *X509Certificate) Remove(key string) error
- func (v *X509Certificate) Set(key string, value interface{}) error
- func (v *X509Certificate) Type() string
- func (v *X509Certificate) UnmarshalJSON(data []byte) error
- func (v *X509Certificate) Value() string
- type X509CertificateBuilder
- func (b *X509CertificateBuilder) Build() (*X509Certificate, error)
- func (b *X509CertificateBuilder) Display(in string) *X509CertificateBuilder
- func (b *X509CertificateBuilder) From(in *X509Certificate) *X509CertificateBuilder
- func (b *X509CertificateBuilder) MustBuild() *X509Certificate
- func (b *X509CertificateBuilder) Primary(in bool) *X509CertificateBuilder
- func (b *X509CertificateBuilder) SetField(name string, value interface{}) *X509CertificateBuilder
- func (b *X509CertificateBuilder) Type(in string) *X509CertificateBuilder
- func (b *X509CertificateBuilder) Value(in string) *X509CertificateBuilder
Constants ¶
const ( AddressCountryKey = "country" AddressFormattedKey = "formatted" AddressLocalityKey = "locality" AddressPostalCodeKey = "postalCode" AddressRegionKey = "region" AddressStreetAddressKey = "streetAddress" AddressTypeKey = "type" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( AssociatedGroupDisplayKey = "display" AssociatedGroupReferenceKey = "$ref" AssociatedGroupTypeKey = "type" AssociatedGroupValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( AuthenticationSchemeDescriptionKey = "description" AuthenticationSchemeDocumentationURIKey = "documentationUri" AuthenticationSchemeNameKey = "name" AuthenticationSchemeSpecURIKey = "specUri" AuthenticationSchemeTypeKey = "type" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( BulkSupportMaxOperationsKey = "maxOperations" BulkSupportMaxPayloadSizeKey = "maxPayloadSize" BulkSupportSupportedKey = "supported" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( EmailDisplayKey = "display" EmailPrimaryKey = "primary" EmailTypeKey = "type" EmailValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( EnterpriseManagerDisplayNameKey = "displayName" EnterpriseManagerIDKey = "id" EnterpriseManagerReferenceKey = "$ref" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( EnterpriseUserCostCenterKey = "costCenter" EnterpriseUserDepartmentKey = "department" EnterpriseUserDivisionKey = "division" EnterpriseUserEmployeeNumberKey = "employeeNumber" EnterpriseUserManagerKey = "manager" EnterpriseUserOrganizationKey = "organization" EnterpriseUserSchemasKey = "schemas" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( EntitlementDisplayKey = "display" EntitlementPrimaryKey = "primary" EntitlementTypeKey = "type" EntitlementValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( ErrorDetailKey = "detail" ErrorSCIMTypeKey = "scimType" ErrorStatusKey = "status" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( FilterSupportMaxResultsKey = "maxResults" FilterSupportSupportedKey = "supported" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( GroupDisplayNameKey = "displayName" GroupExternalIDKey = "externalId" GroupIDKey = "id" GroupMembersKey = "members" GroupSchemasKey = "schemas" GroupMetaKey = "meta" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( GroupMemberValueKey = "value" GroupMemberReferenceKey = "$ref" GroupMemberTypeKey = "type" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( IMSDisplayKey = "display" IMSPrimaryKey = "primary" IMSTypeKey = "type" IMSValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( ListResponseItemsPerPageKey = "itemsPerPage" ListResponseResourcesKey = "resources" ListResponseStartIndexKey = "startIndex" ListResponseTotalResultsKey = "totalResults" ListResponseSchemasKey = "schemas" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( MetaResourceTypeKey = "resourceType" MetaLocationKey = "location" MetaVersionKey = "version" MetaCreatedKey = "created" MetaLastModifiedKey = "lastModified" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( NamesFamilyNameKey = "familyName" NamesFormattedKey = "formatted" NamesGivenNameKey = "givenName" NamesHonorificPrefixKey = "honorificPrefix" NamesHonorificSuffixKey = "honorificSuffix" NamesMiddleNameKey = "middleName" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( PartialResourceRepresentationRequestAttributesKey = "attributes" PartialResourceRepresentationRequestExcludedAttributesKey = "excludedAttributes" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( PatchOperationExternalIDKey = "externalId" PatchOperationIDKey = "id" PatchOperationMetaKey = "meta" PatchOperationOpKey = "op" PatchOperationPathKey = "path" PatchOperationValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( PatchRequestOperationsKey = "operations" PatchRequestSchemasKey = "schemas" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( PhoneNumberDisplayKey = "display" PhoneNumberPrimaryKey = "primary" PhoneNumberTypeKey = "type" PhoneNumberValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( PhotoDisplayKey = "display" PhotoPrimaryKey = "primary" PhotoTypeKey = "type" PhotoValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( ResourceTypeDescriptionKey = "description" ResourceTypeEndpointKey = "endpoint" ResourceTypeIDKey = "id" ResourceTypeNameKey = "name" ResourceTypeSchemaKey = "schema" ResourceTypeSchemaExtensionsKey = "schemaExtensions" ResourceTypeSchemasKey = "schemas" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( RoleDisplayKey = "display" RolePrimaryKey = "primary" RoleTypeKey = "type" RoleValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( SchemaAttributeCanonicalValuesKey = "canonicalValues" SchemaAttributeCaseExactKey = "caseExact" SchemaAttributeDescriptionKey = "description" SchemaAttributeMultiValuedKey = "multiValued" SchemaAttributeMutabilityKey = "mutability" SchemaAttributeNameKey = "name" SchemaAttributeReferenceTypesKey = "referenceTypes" SchemaAttributeRequiredKey = "required" SchemaAttributeReturnedKey = "returned" SchemaAttributeSubAttributesKey = "subAttributes" SchemaAttributeTypeKey = "type" SchemaAttributeUniquenessKey = "uniqueness" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( SchemaExtensionSchemaKey = "schema" SchemaExtensionRequiredKey = "required" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( SchemaAttributesKey = "attributes" SchemaDescriptionKey = "description" SchemaIDKey = "id" SchemaNameKey = "name" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( SearchRequestAttributesKey = "attributes" SearchRequestCountKey = "count" SearchRequestExcludedAttributesKey = "excludedAttributes" SearchRequestFilterKey = "filter" SearchRequestSchemaKey = "schema" SearchRequestSchemasKey = "schemas" SearchRequestSortByKey = "sortBy" SearchRequestSortOrderKey = "sortOrder" SearchRequestStartIndexKey = "startIndex" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( ServiceProviderConfigAuthenticationSchemesKey = "authenticationSchemes" ServiceProviderConfigBulkKey = "bulk" ServiceProviderConfigChangePasswordKey = "changePassword" ServiceProviderConfigDocumentationURIKey = "documentationUri" ServiceProviderConfigETagKey = "etag" ServiceProviderConfigFilterKey = "filter" ServiceProviderConfigPatchKey = "patch" ServiceProviderConfigSchemasKey = "schemas" ServiceProviderConfigSortKey = "sort" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( UserActiveKey = "active" UserAddressesKey = "addresses" UserDisplayNameKey = "displayName" UserEmailsKey = "emails" UserEntitlementsKey = "entitlements" UserExternalIDKey = "externalId" UserGroupsKey = "groups" UserIDKey = "id" UserIMSKey = "ims" UserLocaleKey = "locale" UserMetaKey = "meta" UserNameKey = "name" UserNickNameKey = "nickName" UserPasswordKey = "password" UserPhoneNumbersKey = "phoneNumbers" UserPhotosKey = "photos" UserPreferredLanguageKey = "preferredLanguage" UserProfileURLKey = "profileUrl" UserRolesKey = "roles" UserSchemasKey = "schemas" UserTimezoneKey = "timezone" UserTitleKey = "title" UserUserNameKey = "userName" UserUserTypeKey = "userType" UserX509CertificatesKey = "x509Certificates" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const ( X509CertificateDisplayKey = "display" X509CertificatePrimaryKey = "primary" X509CertificateTypeKey = "type" X509CertificateValueKey = "value" )
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const EnterpriseUserSchemaURI = "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
const (
GenericSupportSupportedKey = "supported"
)
These constants are used when the JSON field name is used. Their use is not strictly required, but certain linters complain about repeated constants, and therefore internally this used throughout
const GroupSchemaURI = "urn:ietf:params:scim:schemas:core:2.0:Group"
const ListResponseSchemaURI = "urn:ietf:params:scim:api:messages:2.0:ListResponse"
const PatchRequestSchemaURI = "urn:ietf:params:scim:api:messages:2.0:PatchOp"
const ResourceTypeSchemaURI = "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
const SearchRequestSchemaURI = "urn:ietf:params:scim:schemas:core:2.0:SearchRequest"
const ServiceProviderConfigSchemaURI = "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"
const UserSchemaURI = "urn:ietf:params:scim:schemas:core:2.0:User"
Variables ¶
This section is empty.
Functions ¶
func LookupBuilderByName ¶
func LookupBuilderByURI ¶
func LookupResourceByName ¶
func LookupResourceByURI ¶
func RegisterBuilder ¶
func RegisterBuilder(name, uri string, data interface{})
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func (*Address) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Address) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Address) HasCountry ¶
HasCountry returns true if the field `country` has been populated
func (*Address) HasFormatted ¶
HasFormatted returns true if the field `formatted` has been populated
func (*Address) HasLocality ¶
HasLocality returns true if the field `locality` has been populated
func (*Address) HasPostalCode ¶
HasPostalCode returns true if the field `postalCode` has been populated
func (*Address) HasStreetAddress ¶
HasStreetAddress returns true if the field `streetAddress` has been populated
func (*Address) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Address) MarshalJSON ¶
MarshalJSON serializes Address into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Address) PostalCode ¶
func (*Address) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Address) StreetAddress ¶
func (*Address) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Address.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type AddressBuilder ¶
type AddressBuilder struct {
// contains filtered or unexported fields
}
func NewAddressBuilder ¶
func NewAddressBuilder() *AddressBuilder
NewAddressBuilder creates a new AddressBuilder instance. AddressBuilder is safe to be used uninitialized as well.
func (*AddressBuilder) Build ¶
func (b *AddressBuilder) Build() (*Address, error)
func (*AddressBuilder) Country ¶
func (b *AddressBuilder) Country(in string) *AddressBuilder
func (*AddressBuilder) Formatted ¶
func (b *AddressBuilder) Formatted(in string) *AddressBuilder
func (*AddressBuilder) From ¶
func (b *AddressBuilder) From(in *Address) *AddressBuilder
func (*AddressBuilder) Locality ¶
func (b *AddressBuilder) Locality(in string) *AddressBuilder
func (*AddressBuilder) MustBuild ¶
func (b *AddressBuilder) MustBuild() *Address
func (*AddressBuilder) PostalCode ¶
func (b *AddressBuilder) PostalCode(in string) *AddressBuilder
func (*AddressBuilder) Region ¶
func (b *AddressBuilder) Region(in string) *AddressBuilder
func (*AddressBuilder) SetField ¶
func (b *AddressBuilder) SetField(name string, value interface{}) *AddressBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*AddressBuilder) StreetAddress ¶
func (b *AddressBuilder) StreetAddress(in string) *AddressBuilder
func (*AddressBuilder) Type ¶
func (b *AddressBuilder) Type(in string) *AddressBuilder
type AssociatedGroup ¶
type AssociatedGroup struct {
// contains filtered or unexported fields
}
func (*AssociatedGroup) AsMap ¶
func (v *AssociatedGroup) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*AssociatedGroup) Clone ¶
func (v *AssociatedGroup) Clone(dst interface{}) error
func (*AssociatedGroup) Display ¶
func (v *AssociatedGroup) Display() string
func (*AssociatedGroup) Get ¶
func (v *AssociatedGroup) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*AssociatedGroup) GetExtension ¶
func (v *AssociatedGroup) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*AssociatedGroup) Has ¶
func (v *AssociatedGroup) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*AssociatedGroup) HasDisplay ¶
func (v *AssociatedGroup) HasDisplay() bool
HasDisplay returns true if the field `display` has been populated
func (*AssociatedGroup) HasReference ¶
func (v *AssociatedGroup) HasReference() bool
HasReference returns true if the field `$ref` has been populated
func (*AssociatedGroup) HasType ¶
func (v *AssociatedGroup) HasType() bool
HasType returns true if the field `type` has been populated
func (*AssociatedGroup) HasValue ¶
func (v *AssociatedGroup) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*AssociatedGroup) Keys ¶
func (v *AssociatedGroup) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*AssociatedGroup) MarshalJSON ¶
func (v *AssociatedGroup) MarshalJSON() ([]byte, error)
MarshalJSON serializes AssociatedGroup into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*AssociatedGroup) Reference ¶
func (v *AssociatedGroup) Reference() string
func (*AssociatedGroup) Remove ¶
func (v *AssociatedGroup) Remove(key string) error
Remove removes the value associated with a key
func (*AssociatedGroup) Set ¶
func (v *AssociatedGroup) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*AssociatedGroup) Type ¶
func (v *AssociatedGroup) Type() string
func (*AssociatedGroup) UnmarshalJSON ¶
func (v *AssociatedGroup) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into AssociatedGroup.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*AssociatedGroup) Value ¶
func (v *AssociatedGroup) Value() string
type AssociatedGroupBuilder ¶
type AssociatedGroupBuilder struct {
// contains filtered or unexported fields
}
func NewAssociatedGroupBuilder ¶
func NewAssociatedGroupBuilder() *AssociatedGroupBuilder
NewAssociatedGroupBuilder creates a new AssociatedGroupBuilder instance. AssociatedGroupBuilder is safe to be used uninitialized as well.
func (*AssociatedGroupBuilder) Build ¶
func (b *AssociatedGroupBuilder) Build() (*AssociatedGroup, error)
func (*AssociatedGroupBuilder) Display ¶
func (b *AssociatedGroupBuilder) Display(in string) *AssociatedGroupBuilder
func (*AssociatedGroupBuilder) From ¶
func (b *AssociatedGroupBuilder) From(in *AssociatedGroup) *AssociatedGroupBuilder
func (*AssociatedGroupBuilder) MustBuild ¶
func (b *AssociatedGroupBuilder) MustBuild() *AssociatedGroup
func (*AssociatedGroupBuilder) Reference ¶
func (b *AssociatedGroupBuilder) Reference(in string) *AssociatedGroupBuilder
func (*AssociatedGroupBuilder) SetField ¶
func (b *AssociatedGroupBuilder) SetField(name string, value interface{}) *AssociatedGroupBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*AssociatedGroupBuilder) Type ¶
func (b *AssociatedGroupBuilder) Type(in string) *AssociatedGroupBuilder
func (*AssociatedGroupBuilder) Value ¶
func (b *AssociatedGroupBuilder) Value(in string) *AssociatedGroupBuilder
type AuthenticationScheme ¶
type AuthenticationScheme struct {
// contains filtered or unexported fields
}
func (*AuthenticationScheme) AsMap ¶
func (v *AuthenticationScheme) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*AuthenticationScheme) Clone ¶
func (v *AuthenticationScheme) Clone(dst interface{}) error
func (*AuthenticationScheme) Description ¶
func (v *AuthenticationScheme) Description() string
func (*AuthenticationScheme) DocumentationURI ¶
func (v *AuthenticationScheme) DocumentationURI() string
func (*AuthenticationScheme) Get ¶
func (v *AuthenticationScheme) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*AuthenticationScheme) GetExtension ¶
func (v *AuthenticationScheme) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*AuthenticationScheme) Has ¶
func (v *AuthenticationScheme) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*AuthenticationScheme) HasDescription ¶
func (v *AuthenticationScheme) HasDescription() bool
HasDescription returns true if the field `description` has been populated
func (*AuthenticationScheme) HasDocumentationURI ¶
func (v *AuthenticationScheme) HasDocumentationURI() bool
HasDocumentationURI returns true if the field `documentationUri` has been populated
func (*AuthenticationScheme) HasName ¶
func (v *AuthenticationScheme) HasName() bool
HasName returns true if the field `name` has been populated
func (*AuthenticationScheme) HasSpecURI ¶
func (v *AuthenticationScheme) HasSpecURI() bool
HasSpecURI returns true if the field `specUri` has been populated
func (*AuthenticationScheme) HasType ¶
func (v *AuthenticationScheme) HasType() bool
HasType returns true if the field `type` has been populated
func (*AuthenticationScheme) Keys ¶
func (v *AuthenticationScheme) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*AuthenticationScheme) MarshalJSON ¶
func (v *AuthenticationScheme) MarshalJSON() ([]byte, error)
MarshalJSON serializes AuthenticationScheme into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*AuthenticationScheme) Name ¶
func (v *AuthenticationScheme) Name() string
func (*AuthenticationScheme) Remove ¶
func (v *AuthenticationScheme) Remove(key string) error
Remove removes the value associated with a key
func (*AuthenticationScheme) Set ¶
func (v *AuthenticationScheme) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*AuthenticationScheme) SpecURI ¶
func (v *AuthenticationScheme) SpecURI() string
func (*AuthenticationScheme) Type ¶
func (v *AuthenticationScheme) Type() AuthenticationSchemeType
func (*AuthenticationScheme) UnmarshalJSON ¶
func (v *AuthenticationScheme) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into AuthenticationScheme.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type AuthenticationSchemeBuilder ¶
type AuthenticationSchemeBuilder struct {
// contains filtered or unexported fields
}
func NewAuthenticationSchemeBuilder ¶
func NewAuthenticationSchemeBuilder() *AuthenticationSchemeBuilder
NewAuthenticationSchemeBuilder creates a new AuthenticationSchemeBuilder instance. AuthenticationSchemeBuilder is safe to be used uninitialized as well.
func (*AuthenticationSchemeBuilder) Build ¶
func (b *AuthenticationSchemeBuilder) Build() (*AuthenticationScheme, error)
func (*AuthenticationSchemeBuilder) Description ¶
func (b *AuthenticationSchemeBuilder) Description(in string) *AuthenticationSchemeBuilder
func (*AuthenticationSchemeBuilder) DocumentationURI ¶
func (b *AuthenticationSchemeBuilder) DocumentationURI(in string) *AuthenticationSchemeBuilder
func (*AuthenticationSchemeBuilder) From ¶
func (b *AuthenticationSchemeBuilder) From(in *AuthenticationScheme) *AuthenticationSchemeBuilder
func (*AuthenticationSchemeBuilder) MustBuild ¶
func (b *AuthenticationSchemeBuilder) MustBuild() *AuthenticationScheme
func (*AuthenticationSchemeBuilder) Name ¶
func (b *AuthenticationSchemeBuilder) Name(in string) *AuthenticationSchemeBuilder
func (*AuthenticationSchemeBuilder) SetField ¶
func (b *AuthenticationSchemeBuilder) SetField(name string, value interface{}) *AuthenticationSchemeBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*AuthenticationSchemeBuilder) SpecURI ¶
func (b *AuthenticationSchemeBuilder) SpecURI(in string) *AuthenticationSchemeBuilder
func (*AuthenticationSchemeBuilder) Type ¶
func (b *AuthenticationSchemeBuilder) Type(in AuthenticationSchemeType) *AuthenticationSchemeBuilder
type AuthenticationSchemeType ¶
type AuthenticationSchemeType string
const ( InvalidAuthenticationScheme AuthenticationSchemeType = "" OAuth AuthenticationSchemeType = "oauth" OAuth2 AuthenticationSchemeType = "oauth2" OAuthBearerToken AuthenticationSchemeType = "oauthbearertoken" HTTPBasic AuthenticationSchemeType = "httpbasic" HTTPDigest AuthenticationSchemeType = "httpdigest" )
type Builder ¶
type Builder struct{}
Builder is a centralized store for other type-specific builders, which exists mainly for convenience. Its zero-value can be used safely, but you could also use the `resource.NewXXXXBuilder()` function (where `XXXX` may be a resource type name) to start a method calling chain.
func NewBuilder ¶
func NewBuilder() *Builder
NewBuilder creates a new instance of the Builder object. This method exists solely as convenience, as the zero-value for the `resource.Builder` can safely be used without any initialization
func (*Builder) Address ¶
func (b *Builder) Address() *AddressBuilder
func (*Builder) AssociatedGroup ¶
func (b *Builder) AssociatedGroup() *AssociatedGroupBuilder
func (*Builder) AuthenticationScheme ¶
func (b *Builder) AuthenticationScheme() *AuthenticationSchemeBuilder
func (*Builder) BulkSupport ¶
func (b *Builder) BulkSupport() *BulkSupportBuilder
func (*Builder) Email ¶
func (b *Builder) Email() *EmailBuilder
func (*Builder) EnterpriseManager ¶
func (b *Builder) EnterpriseManager() *EnterpriseManagerBuilder
func (*Builder) EnterpriseUser ¶
func (b *Builder) EnterpriseUser() *EnterpriseUserBuilder
func (*Builder) Entitlement ¶
func (b *Builder) Entitlement() *EntitlementBuilder
func (*Builder) Error ¶
func (b *Builder) Error() *ErrorBuilder
func (*Builder) FilterSupport ¶
func (b *Builder) FilterSupport() *FilterSupportBuilder
func (*Builder) GenericSupport ¶
func (b *Builder) GenericSupport() *GenericSupportBuilder
func (*Builder) Group ¶
func (b *Builder) Group() *GroupBuilder
func (*Builder) GroupMember ¶
func (b *Builder) GroupMember() *GroupMemberBuilder
func (*Builder) IMS ¶
func (b *Builder) IMS() *IMSBuilder
func (*Builder) ListResponse ¶
func (b *Builder) ListResponse() *ListResponseBuilder
func (*Builder) Meta ¶
func (b *Builder) Meta() *MetaBuilder
func (*Builder) Names ¶
func (b *Builder) Names() *NamesBuilder
func (*Builder) PartialResourceRepresentationRequest ¶
func (b *Builder) PartialResourceRepresentationRequest() *PartialResourceRepresentationRequestBuilder
func (*Builder) PatchOperation ¶
func (b *Builder) PatchOperation() *PatchOperationBuilder
func (*Builder) PatchRequest ¶
func (b *Builder) PatchRequest() *PatchRequestBuilder
func (*Builder) PhoneNumber ¶
func (b *Builder) PhoneNumber() *PhoneNumberBuilder
func (*Builder) Photo ¶
func (b *Builder) Photo() *PhotoBuilder
func (*Builder) ResourceType ¶
func (b *Builder) ResourceType() *ResourceTypeBuilder
func (*Builder) Role ¶
func (b *Builder) Role() *RoleBuilder
func (*Builder) Schema ¶
func (b *Builder) Schema() *SchemaBuilder
func (*Builder) SchemaAttribute ¶
func (b *Builder) SchemaAttribute() *SchemaAttributeBuilder
func (*Builder) SchemaExtension ¶
func (b *Builder) SchemaExtension() *SchemaExtensionBuilder
func (*Builder) SearchRequest ¶
func (b *Builder) SearchRequest() *SearchRequestBuilder
func (*Builder) ServiceProviderConfig ¶
func (b *Builder) ServiceProviderConfig() *ServiceProviderConfigBuilder
func (*Builder) User ¶
func (b *Builder) User() *UserBuilder
func (*Builder) X509Certificate ¶
func (b *Builder) X509Certificate() *X509CertificateBuilder
type BulkSupport ¶
type BulkSupport struct {
// contains filtered or unexported fields
}
func (*BulkSupport) AsMap ¶
func (v *BulkSupport) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*BulkSupport) Clone ¶
func (v *BulkSupport) Clone(dst interface{}) error
func (*BulkSupport) Get ¶
func (v *BulkSupport) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*BulkSupport) GetExtension ¶
func (v *BulkSupport) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*BulkSupport) Has ¶
func (v *BulkSupport) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*BulkSupport) HasMaxOperations ¶
func (v *BulkSupport) HasMaxOperations() bool
HasMaxOperations returns true if the field `maxOperations` has been populated
func (*BulkSupport) HasMaxPayloadSize ¶
func (v *BulkSupport) HasMaxPayloadSize() bool
HasMaxPayloadSize returns true if the field `maxPayloadSize` has been populated
func (*BulkSupport) HasSupported ¶
func (v *BulkSupport) HasSupported() bool
HasSupported returns true if the field `supported` has been populated
func (*BulkSupport) Keys ¶
func (v *BulkSupport) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*BulkSupport) MarshalJSON ¶
func (v *BulkSupport) MarshalJSON() ([]byte, error)
MarshalJSON serializes BulkSupport into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*BulkSupport) MaxOperations ¶
func (v *BulkSupport) MaxOperations() int
func (*BulkSupport) MaxPayloadSize ¶
func (v *BulkSupport) MaxPayloadSize() int
func (*BulkSupport) Remove ¶
func (v *BulkSupport) Remove(key string) error
Remove removes the value associated with a key
func (*BulkSupport) Set ¶
func (v *BulkSupport) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*BulkSupport) Supported ¶
func (v *BulkSupport) Supported() bool
func (*BulkSupport) UnmarshalJSON ¶
func (v *BulkSupport) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into BulkSupport.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type BulkSupportBuilder ¶
type BulkSupportBuilder struct {
// contains filtered or unexported fields
}
func NewBulkSupportBuilder ¶
func NewBulkSupportBuilder() *BulkSupportBuilder
NewBulkSupportBuilder creates a new BulkSupportBuilder instance. BulkSupportBuilder is safe to be used uninitialized as well.
func (*BulkSupportBuilder) Build ¶
func (b *BulkSupportBuilder) Build() (*BulkSupport, error)
func (*BulkSupportBuilder) From ¶
func (b *BulkSupportBuilder) From(in *BulkSupport) *BulkSupportBuilder
func (*BulkSupportBuilder) MaxOperations ¶
func (b *BulkSupportBuilder) MaxOperations(in int) *BulkSupportBuilder
func (*BulkSupportBuilder) MaxPayloadSize ¶
func (b *BulkSupportBuilder) MaxPayloadSize(in int) *BulkSupportBuilder
func (*BulkSupportBuilder) MustBuild ¶
func (b *BulkSupportBuilder) MustBuild() *BulkSupport
func (*BulkSupportBuilder) SetField ¶
func (b *BulkSupportBuilder) SetField(name string, value interface{}) *BulkSupportBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*BulkSupportBuilder) Supported ¶
func (b *BulkSupportBuilder) Supported(in bool) *BulkSupportBuilder
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
func (*Email) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Email) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Email) HasDisplay ¶
HasDisplay returns true if the field `display` has been populated
func (*Email) HasPrimary ¶
HasPrimary returns true if the field `primary` has been populated
func (*Email) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Email) MarshalJSON ¶
MarshalJSON serializes Email into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Email) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Email) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Email.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type EmailBuilder ¶
type EmailBuilder struct {
// contains filtered or unexported fields
}
func NewEmailBuilder ¶
func NewEmailBuilder() *EmailBuilder
NewEmailBuilder creates a new EmailBuilder instance. EmailBuilder is safe to be used uninitialized as well.
func (*EmailBuilder) Build ¶
func (b *EmailBuilder) Build() (*Email, error)
func (*EmailBuilder) Display ¶
func (b *EmailBuilder) Display(in string) *EmailBuilder
func (*EmailBuilder) From ¶
func (b *EmailBuilder) From(in *Email) *EmailBuilder
func (*EmailBuilder) MustBuild ¶
func (b *EmailBuilder) MustBuild() *Email
func (*EmailBuilder) Primary ¶
func (b *EmailBuilder) Primary(in bool) *EmailBuilder
func (*EmailBuilder) SetField ¶
func (b *EmailBuilder) SetField(name string, value interface{}) *EmailBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*EmailBuilder) Type ¶
func (b *EmailBuilder) Type(in string) *EmailBuilder
func (*EmailBuilder) Value ¶
func (b *EmailBuilder) Value(in string) *EmailBuilder
type EnterpriseManager ¶
type EnterpriseManager struct {
// contains filtered or unexported fields
}
func (*EnterpriseManager) AsMap ¶
func (v *EnterpriseManager) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*EnterpriseManager) Clone ¶
func (v *EnterpriseManager) Clone(dst interface{}) error
func (*EnterpriseManager) DisplayName ¶
func (v *EnterpriseManager) DisplayName() string
func (*EnterpriseManager) Get ¶
func (v *EnterpriseManager) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*EnterpriseManager) GetExtension ¶
func (v *EnterpriseManager) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*EnterpriseManager) Has ¶
func (v *EnterpriseManager) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*EnterpriseManager) HasDisplayName ¶
func (v *EnterpriseManager) HasDisplayName() bool
HasDisplayName returns true if the field `displayName` has been populated
func (*EnterpriseManager) HasID ¶
func (v *EnterpriseManager) HasID() bool
HasID returns true if the field `id` has been populated
func (*EnterpriseManager) HasReference ¶
func (v *EnterpriseManager) HasReference() bool
HasReference returns true if the field `$ref` has been populated
func (*EnterpriseManager) ID ¶
func (v *EnterpriseManager) ID() string
func (*EnterpriseManager) Keys ¶
func (v *EnterpriseManager) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*EnterpriseManager) MarshalJSON ¶
func (v *EnterpriseManager) MarshalJSON() ([]byte, error)
MarshalJSON serializes EnterpriseManager into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*EnterpriseManager) Reference ¶
func (v *EnterpriseManager) Reference() string
func (*EnterpriseManager) Remove ¶
func (v *EnterpriseManager) Remove(key string) error
Remove removes the value associated with a key
func (*EnterpriseManager) Set ¶
func (v *EnterpriseManager) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*EnterpriseManager) UnmarshalJSON ¶
func (v *EnterpriseManager) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into EnterpriseManager.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type EnterpriseManagerBuilder ¶
type EnterpriseManagerBuilder struct {
// contains filtered or unexported fields
}
func NewEnterpriseManagerBuilder ¶
func NewEnterpriseManagerBuilder() *EnterpriseManagerBuilder
NewEnterpriseManagerBuilder creates a new EnterpriseManagerBuilder instance. EnterpriseManagerBuilder is safe to be used uninitialized as well.
func (*EnterpriseManagerBuilder) Build ¶
func (b *EnterpriseManagerBuilder) Build() (*EnterpriseManager, error)
func (*EnterpriseManagerBuilder) DisplayName ¶
func (b *EnterpriseManagerBuilder) DisplayName(in string) *EnterpriseManagerBuilder
func (*EnterpriseManagerBuilder) From ¶
func (b *EnterpriseManagerBuilder) From(in *EnterpriseManager) *EnterpriseManagerBuilder
func (*EnterpriseManagerBuilder) ID ¶
func (b *EnterpriseManagerBuilder) ID(in string) *EnterpriseManagerBuilder
func (*EnterpriseManagerBuilder) MustBuild ¶
func (b *EnterpriseManagerBuilder) MustBuild() *EnterpriseManager
func (*EnterpriseManagerBuilder) Reference ¶
func (b *EnterpriseManagerBuilder) Reference(in string) *EnterpriseManagerBuilder
func (*EnterpriseManagerBuilder) SetField ¶
func (b *EnterpriseManagerBuilder) SetField(name string, value interface{}) *EnterpriseManagerBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type EnterpriseUser ¶
type EnterpriseUser struct {
// contains filtered or unexported fields
}
func (*EnterpriseUser) AsMap ¶
func (v *EnterpriseUser) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*EnterpriseUser) Clone ¶
func (v *EnterpriseUser) Clone(dst interface{}) error
func (*EnterpriseUser) CostCenter ¶
func (v *EnterpriseUser) CostCenter() string
func (*EnterpriseUser) Department ¶
func (v *EnterpriseUser) Department() string
func (*EnterpriseUser) Division ¶
func (v *EnterpriseUser) Division() string
func (*EnterpriseUser) EmployeeNumber ¶
func (v *EnterpriseUser) EmployeeNumber() string
func (*EnterpriseUser) Get ¶
func (v *EnterpriseUser) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*EnterpriseUser) GetExtension ¶
func (v *EnterpriseUser) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*EnterpriseUser) Has ¶
func (v *EnterpriseUser) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*EnterpriseUser) HasCostCenter ¶
func (v *EnterpriseUser) HasCostCenter() bool
HasCostCenter returns true if the field `costCenter` has been populated
func (*EnterpriseUser) HasDepartment ¶
func (v *EnterpriseUser) HasDepartment() bool
HasDepartment returns true if the field `department` has been populated
func (*EnterpriseUser) HasDivision ¶
func (v *EnterpriseUser) HasDivision() bool
HasDivision returns true if the field `division` has been populated
func (*EnterpriseUser) HasEmployeeNumber ¶
func (v *EnterpriseUser) HasEmployeeNumber() bool
HasEmployeeNumber returns true if the field `employeeNumber` has been populated
func (*EnterpriseUser) HasManager ¶
func (v *EnterpriseUser) HasManager() bool
HasManager returns true if the field `manager` has been populated
func (*EnterpriseUser) HasOrganization ¶
func (v *EnterpriseUser) HasOrganization() bool
HasOrganization returns true if the field `organization` has been populated
func (*EnterpriseUser) HasSchemas ¶
func (v *EnterpriseUser) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*EnterpriseUser) Keys ¶
func (v *EnterpriseUser) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*EnterpriseUser) Manager ¶
func (v *EnterpriseUser) Manager() *EnterpriseManager
func (*EnterpriseUser) MarshalJSON ¶
func (v *EnterpriseUser) MarshalJSON() ([]byte, error)
MarshalJSON serializes EnterpriseUser into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*EnterpriseUser) Organization ¶
func (v *EnterpriseUser) Organization() string
func (*EnterpriseUser) Remove ¶
func (v *EnterpriseUser) Remove(key string) error
Remove removes the value associated with a key
func (*EnterpriseUser) Schemas ¶
func (v *EnterpriseUser) Schemas() []string
func (*EnterpriseUser) Set ¶
func (v *EnterpriseUser) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*EnterpriseUser) UnmarshalJSON ¶
func (v *EnterpriseUser) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into EnterpriseUser.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type EnterpriseUserBuilder ¶
type EnterpriseUserBuilder struct {
// contains filtered or unexported fields
}
func NewEnterpriseUserBuilder ¶
func NewEnterpriseUserBuilder() *EnterpriseUserBuilder
NewEnterpriseUserBuilder creates a new EnterpriseUserBuilder instance. EnterpriseUserBuilder is safe to be used uninitialized as well.
func (*EnterpriseUserBuilder) Build ¶
func (b *EnterpriseUserBuilder) Build() (*EnterpriseUser, error)
func (*EnterpriseUserBuilder) CostCenter ¶
func (b *EnterpriseUserBuilder) CostCenter(in string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) Department ¶
func (b *EnterpriseUserBuilder) Department(in string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) Division ¶
func (b *EnterpriseUserBuilder) Division(in string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) EmployeeNumber ¶
func (b *EnterpriseUserBuilder) EmployeeNumber(in string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) Extension ¶
func (b *EnterpriseUserBuilder) Extension(uri string, value interface{}) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) From ¶
func (b *EnterpriseUserBuilder) From(in *EnterpriseUser) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) Manager ¶
func (b *EnterpriseUserBuilder) Manager(in *EnterpriseManager) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) MustBuild ¶
func (b *EnterpriseUserBuilder) MustBuild() *EnterpriseUser
func (*EnterpriseUserBuilder) Organization ¶
func (b *EnterpriseUserBuilder) Organization(in string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) Schemas ¶
func (b *EnterpriseUserBuilder) Schemas(in ...string) *EnterpriseUserBuilder
func (*EnterpriseUserBuilder) SetField ¶
func (b *EnterpriseUserBuilder) SetField(name string, value interface{}) *EnterpriseUserBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type Entitlement ¶
type Entitlement struct {
// contains filtered or unexported fields
}
func (*Entitlement) AsMap ¶
func (v *Entitlement) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*Entitlement) Clone ¶
func (v *Entitlement) Clone(dst interface{}) error
func (*Entitlement) Display ¶
func (v *Entitlement) Display() string
func (*Entitlement) Get ¶
func (v *Entitlement) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*Entitlement) GetExtension ¶
func (v *Entitlement) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Entitlement) Has ¶
func (v *Entitlement) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Entitlement) HasDisplay ¶
func (v *Entitlement) HasDisplay() bool
HasDisplay returns true if the field `display` has been populated
func (*Entitlement) HasPrimary ¶
func (v *Entitlement) HasPrimary() bool
HasPrimary returns true if the field `primary` has been populated
func (*Entitlement) HasType ¶
func (v *Entitlement) HasType() bool
HasType returns true if the field `type` has been populated
func (*Entitlement) HasValue ¶
func (v *Entitlement) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*Entitlement) Keys ¶
func (v *Entitlement) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Entitlement) MarshalJSON ¶
func (v *Entitlement) MarshalJSON() ([]byte, error)
MarshalJSON serializes Entitlement into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Entitlement) Primary ¶
func (v *Entitlement) Primary() bool
func (*Entitlement) Remove ¶
func (v *Entitlement) Remove(key string) error
Remove removes the value associated with a key
func (*Entitlement) Set ¶
func (v *Entitlement) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Entitlement) Type ¶
func (v *Entitlement) Type() string
func (*Entitlement) UnmarshalJSON ¶
func (v *Entitlement) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into Entitlement.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*Entitlement) Value ¶
func (v *Entitlement) Value() string
type EntitlementBuilder ¶
type EntitlementBuilder struct {
// contains filtered or unexported fields
}
func NewEntitlementBuilder ¶
func NewEntitlementBuilder() *EntitlementBuilder
NewEntitlementBuilder creates a new EntitlementBuilder instance. EntitlementBuilder is safe to be used uninitialized as well.
func (*EntitlementBuilder) Build ¶
func (b *EntitlementBuilder) Build() (*Entitlement, error)
func (*EntitlementBuilder) Display ¶
func (b *EntitlementBuilder) Display(in string) *EntitlementBuilder
func (*EntitlementBuilder) From ¶
func (b *EntitlementBuilder) From(in *Entitlement) *EntitlementBuilder
func (*EntitlementBuilder) MustBuild ¶
func (b *EntitlementBuilder) MustBuild() *Entitlement
func (*EntitlementBuilder) Primary ¶
func (b *EntitlementBuilder) Primary(in bool) *EntitlementBuilder
func (*EntitlementBuilder) SetField ¶
func (b *EntitlementBuilder) SetField(name string, value interface{}) *EntitlementBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*EntitlementBuilder) Type ¶
func (b *EntitlementBuilder) Type(in string) *EntitlementBuilder
func (*EntitlementBuilder) Value ¶
func (b *EntitlementBuilder) Value(in string) *EntitlementBuilder
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (*Error) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Error) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Error) HasSCIMType ¶
HasSCIMType returns true if the field `scimType` has been populated
func (*Error) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Error) MarshalJSON ¶
MarshalJSON serializes Error into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Error) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Error) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Error.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type ErrorBuilder ¶
type ErrorBuilder struct {
// contains filtered or unexported fields
}
func NewErrorBuilder ¶
func NewErrorBuilder() *ErrorBuilder
NewErrorBuilder creates a new ErrorBuilder instance. ErrorBuilder is safe to be used uninitialized as well.
func (*ErrorBuilder) Build ¶
func (b *ErrorBuilder) Build() (*Error, error)
func (*ErrorBuilder) Detail ¶
func (b *ErrorBuilder) Detail(in string) *ErrorBuilder
func (*ErrorBuilder) From ¶
func (b *ErrorBuilder) From(in *Error) *ErrorBuilder
func (*ErrorBuilder) MustBuild ¶
func (b *ErrorBuilder) MustBuild() *Error
func (*ErrorBuilder) SCIMType ¶
func (b *ErrorBuilder) SCIMType(in ErrorType) *ErrorBuilder
func (*ErrorBuilder) SetField ¶
func (b *ErrorBuilder) SetField(name string, value interface{}) *ErrorBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*ErrorBuilder) Status ¶
func (b *ErrorBuilder) Status(in int) *ErrorBuilder
type ErrorType ¶
type ErrorType string
const ( ErrUnknown ErrorType = `unknown` // not part of RFC7644, but used as our "zero value" ErrInvalidFilter ErrorType = `invalidFilter` ErrTooMany ErrorType = `tooMany` ErrUniqueness ErrorType = `uniqueness` ErrMutability ErrorType = `mutability` ErrInvalidSyntax ErrorType = `invalidSyntax` ErrInvalidPath ErrorType = `invalidPath` ErrNoTarget ErrorType = `noTarget` ErrInvalidValue ErrorType = `invalidValue` ErrInvalidVers ErrorType = `invalidVers` ErrSensitive ErrorType = `sensitive` )
type FilterSupport ¶
type FilterSupport struct {
// contains filtered or unexported fields
}
func (*FilterSupport) AsMap ¶
func (v *FilterSupport) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*FilterSupport) Clone ¶
func (v *FilterSupport) Clone(dst interface{}) error
func (*FilterSupport) Get ¶
func (v *FilterSupport) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*FilterSupport) GetExtension ¶
func (v *FilterSupport) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*FilterSupport) Has ¶
func (v *FilterSupport) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*FilterSupport) HasMaxResults ¶
func (v *FilterSupport) HasMaxResults() bool
HasMaxResults returns true if the field `maxResults` has been populated
func (*FilterSupport) HasSupported ¶
func (v *FilterSupport) HasSupported() bool
HasSupported returns true if the field `supported` has been populated
func (*FilterSupport) Keys ¶
func (v *FilterSupport) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*FilterSupport) MarshalJSON ¶
func (v *FilterSupport) MarshalJSON() ([]byte, error)
MarshalJSON serializes FilterSupport into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*FilterSupport) MaxResults ¶
func (v *FilterSupport) MaxResults() int
func (*FilterSupport) Remove ¶
func (v *FilterSupport) Remove(key string) error
Remove removes the value associated with a key
func (*FilterSupport) Set ¶
func (v *FilterSupport) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*FilterSupport) Supported ¶
func (v *FilterSupport) Supported() bool
func (*FilterSupport) UnmarshalJSON ¶
func (v *FilterSupport) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into FilterSupport.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type FilterSupportBuilder ¶
type FilterSupportBuilder struct {
// contains filtered or unexported fields
}
func NewFilterSupportBuilder ¶
func NewFilterSupportBuilder() *FilterSupportBuilder
NewFilterSupportBuilder creates a new FilterSupportBuilder instance. FilterSupportBuilder is safe to be used uninitialized as well.
func (*FilterSupportBuilder) Build ¶
func (b *FilterSupportBuilder) Build() (*FilterSupport, error)
func (*FilterSupportBuilder) From ¶
func (b *FilterSupportBuilder) From(in *FilterSupport) *FilterSupportBuilder
func (*FilterSupportBuilder) MaxResults ¶
func (b *FilterSupportBuilder) MaxResults(in int) *FilterSupportBuilder
func (*FilterSupportBuilder) MustBuild ¶
func (b *FilterSupportBuilder) MustBuild() *FilterSupport
func (*FilterSupportBuilder) SetField ¶
func (b *FilterSupportBuilder) SetField(name string, value interface{}) *FilterSupportBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*FilterSupportBuilder) Supported ¶
func (b *FilterSupportBuilder) Supported(in bool) *FilterSupportBuilder
type GenericSupport ¶
type GenericSupport struct {
// contains filtered or unexported fields
}
func (*GenericSupport) AsMap ¶
func (v *GenericSupport) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*GenericSupport) Clone ¶
func (v *GenericSupport) Clone(dst interface{}) error
func (*GenericSupport) Get ¶
func (v *GenericSupport) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*GenericSupport) GetExtension ¶
func (v *GenericSupport) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*GenericSupport) Has ¶
func (v *GenericSupport) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*GenericSupport) HasSupported ¶
func (v *GenericSupport) HasSupported() bool
HasSupported returns true if the field `supported` has been populated
func (*GenericSupport) Keys ¶
func (v *GenericSupport) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*GenericSupport) MarshalJSON ¶
func (v *GenericSupport) MarshalJSON() ([]byte, error)
MarshalJSON serializes GenericSupport into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*GenericSupport) Remove ¶
func (v *GenericSupport) Remove(key string) error
Remove removes the value associated with a key
func (*GenericSupport) Set ¶
func (v *GenericSupport) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*GenericSupport) Supported ¶
func (v *GenericSupport) Supported() bool
func (*GenericSupport) UnmarshalJSON ¶
func (v *GenericSupport) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into GenericSupport.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type GenericSupportBuilder ¶
type GenericSupportBuilder struct {
// contains filtered or unexported fields
}
func NewGenericSupportBuilder ¶
func NewGenericSupportBuilder() *GenericSupportBuilder
NewGenericSupportBuilder creates a new GenericSupportBuilder instance. GenericSupportBuilder is safe to be used uninitialized as well.
func (*GenericSupportBuilder) Build ¶
func (b *GenericSupportBuilder) Build() (*GenericSupport, error)
func (*GenericSupportBuilder) From ¶
func (b *GenericSupportBuilder) From(in *GenericSupport) *GenericSupportBuilder
func (*GenericSupportBuilder) MustBuild ¶
func (b *GenericSupportBuilder) MustBuild() *GenericSupport
func (*GenericSupportBuilder) SetField ¶
func (b *GenericSupportBuilder) SetField(name string, value interface{}) *GenericSupportBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*GenericSupportBuilder) Supported ¶
func (b *GenericSupportBuilder) Supported(in bool) *GenericSupportBuilder
type GetOption ¶
type GetOption interface { Option // contains filtered or unexported methods }
GetOption describes an Option that can be passed to `Get()`.
func WithExtension ¶
WithEstension specifies the extension name to be used.
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) DisplayName ¶
func (*Group) ExternalID ¶
func (*Group) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Group) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Group) HasDisplayName ¶
HasDisplayName returns true if the field `displayName` has been populated
func (*Group) HasExternalID ¶
HasExternalID returns true if the field `externalId` has been populated
func (*Group) HasMembers ¶
HasMembers returns true if the field `members` has been populated
func (*Group) HasSchemas ¶
HasSchemas returns true if the field `schemas` has been populated
func (*Group) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Group) MarshalJSON ¶
MarshalJSON serializes Group into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Group) Members ¶
func (v *Group) Members() []*GroupMember
func (*Group) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Group) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Group.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type GroupBuilder ¶
type GroupBuilder struct {
// contains filtered or unexported fields
}
func NewGroupBuilder ¶
func NewGroupBuilder() *GroupBuilder
NewGroupBuilder creates a new GroupBuilder instance. GroupBuilder is safe to be used uninitialized as well.
func (*GroupBuilder) Build ¶
func (b *GroupBuilder) Build() (*Group, error)
func (*GroupBuilder) DisplayName ¶
func (b *GroupBuilder) DisplayName(in string) *GroupBuilder
func (*GroupBuilder) Extension ¶
func (b *GroupBuilder) Extension(uri string, value interface{}) *GroupBuilder
func (*GroupBuilder) ExternalID ¶
func (b *GroupBuilder) ExternalID(in string) *GroupBuilder
func (*GroupBuilder) From ¶
func (b *GroupBuilder) From(in *Group) *GroupBuilder
func (*GroupBuilder) ID ¶
func (b *GroupBuilder) ID(in string) *GroupBuilder
func (*GroupBuilder) Members ¶
func (b *GroupBuilder) Members(in ...*GroupMember) *GroupBuilder
func (*GroupBuilder) MembersFrom ¶
func (b *GroupBuilder) MembersFrom(in ...interface{}) *GroupBuilder
MembersFrom is a convenience method to directly add a SCIM resource to the Group object without having to construct the GroupMember object yourself.
Currently this method only accepts `*resource.User` and `*resource.Group` as its input, and otherwise an error is stored in the builder, failing the Build() call.
If you would like to otherwise construct the `members` field yourself, use the `Members()` method
func (*GroupBuilder) Meta ¶
func (b *GroupBuilder) Meta(in *Meta) *GroupBuilder
func (*GroupBuilder) MustBuild ¶
func (b *GroupBuilder) MustBuild() *Group
func (*GroupBuilder) Schemas ¶
func (b *GroupBuilder) Schemas(in ...string) *GroupBuilder
func (*GroupBuilder) SetField ¶
func (b *GroupBuilder) SetField(name string, value interface{}) *GroupBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type GroupMember ¶
type GroupMember struct {
// contains filtered or unexported fields
}
func (*GroupMember) AsMap ¶
func (v *GroupMember) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*GroupMember) Clone ¶
func (v *GroupMember) Clone(dst interface{}) error
func (*GroupMember) Get ¶
func (v *GroupMember) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*GroupMember) GetExtension ¶
func (v *GroupMember) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*GroupMember) Has ¶
func (v *GroupMember) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*GroupMember) HasReference ¶
func (v *GroupMember) HasReference() bool
HasReference returns true if the field `$ref` has been populated
func (*GroupMember) HasType ¶
func (v *GroupMember) HasType() bool
HasType returns true if the field `type` has been populated
func (*GroupMember) HasValue ¶
func (v *GroupMember) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*GroupMember) Keys ¶
func (v *GroupMember) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*GroupMember) MarshalJSON ¶
func (v *GroupMember) MarshalJSON() ([]byte, error)
MarshalJSON serializes GroupMember into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*GroupMember) Reference ¶
func (v *GroupMember) Reference() string
func (*GroupMember) Remove ¶
func (v *GroupMember) Remove(key string) error
Remove removes the value associated with a key
func (*GroupMember) Set ¶
func (v *GroupMember) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*GroupMember) Type ¶
func (v *GroupMember) Type() string
func (*GroupMember) UnmarshalJSON ¶
func (v *GroupMember) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into GroupMember.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*GroupMember) Value ¶
func (v *GroupMember) Value() string
type GroupMemberBuilder ¶
type GroupMemberBuilder struct {
// contains filtered or unexported fields
}
func NewGroupMemberBuilder ¶
func NewGroupMemberBuilder() *GroupMemberBuilder
NewGroupMemberBuilder creates a new GroupMemberBuilder instance. GroupMemberBuilder is safe to be used uninitialized as well.
func (*GroupMemberBuilder) Build ¶
func (b *GroupMemberBuilder) Build() (*GroupMember, error)
func (*GroupMemberBuilder) From ¶
func (b *GroupMemberBuilder) From(in *GroupMember) *GroupMemberBuilder
func (*GroupMemberBuilder) FromResource ¶
func (b *GroupMemberBuilder) FromResource(r interface{}) *GroupMemberBuilder
From allows the user to add a member by specifying a *resource.User or *resource.Group object
As of this writing, the object must have a proper Meta field populated
func (*GroupMemberBuilder) MustBuild ¶
func (b *GroupMemberBuilder) MustBuild() *GroupMember
func (*GroupMemberBuilder) Reference ¶
func (b *GroupMemberBuilder) Reference(in string) *GroupMemberBuilder
func (*GroupMemberBuilder) SetField ¶
func (b *GroupMemberBuilder) SetField(name string, value interface{}) *GroupMemberBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*GroupMemberBuilder) Type ¶
func (b *GroupMemberBuilder) Type(in string) *GroupMemberBuilder
func (*GroupMemberBuilder) Value ¶
func (b *GroupMemberBuilder) Value(in string) *GroupMemberBuilder
type IMS ¶
type IMS struct {
// contains filtered or unexported fields
}
func (*IMS) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*IMS) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*IMS) HasDisplay ¶
HasDisplay returns true if the field `display` has been populated
func (*IMS) HasPrimary ¶
HasPrimary returns true if the field `primary` has been populated
func (*IMS) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*IMS) MarshalJSON ¶
MarshalJSON serializes IMS into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*IMS) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*IMS) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into IMS.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type IMSBuilder ¶
type IMSBuilder struct {
// contains filtered or unexported fields
}
func NewIMSBuilder ¶
func NewIMSBuilder() *IMSBuilder
NewIMSBuilder creates a new IMSBuilder instance. IMSBuilder is safe to be used uninitialized as well.
func (*IMSBuilder) Build ¶
func (b *IMSBuilder) Build() (*IMS, error)
func (*IMSBuilder) Display ¶
func (b *IMSBuilder) Display(in string) *IMSBuilder
func (*IMSBuilder) From ¶
func (b *IMSBuilder) From(in *IMS) *IMSBuilder
func (*IMSBuilder) MustBuild ¶
func (b *IMSBuilder) MustBuild() *IMS
func (*IMSBuilder) Primary ¶
func (b *IMSBuilder) Primary(in bool) *IMSBuilder
func (*IMSBuilder) SetField ¶
func (b *IMSBuilder) SetField(name string, value interface{}) *IMSBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*IMSBuilder) Type ¶
func (b *IMSBuilder) Type(in string) *IMSBuilder
func (*IMSBuilder) Value ¶
func (b *IMSBuilder) Value(in string) *IMSBuilder
type ListResponse ¶
type ListResponse struct {
// contains filtered or unexported fields
}
func (*ListResponse) AsMap ¶
func (v *ListResponse) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*ListResponse) Clone ¶
func (v *ListResponse) Clone(dst interface{}) error
func (*ListResponse) Get ¶
func (v *ListResponse) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*ListResponse) GetExtension ¶
func (v *ListResponse) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*ListResponse) Has ¶
func (v *ListResponse) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*ListResponse) HasItemsPerPage ¶
func (v *ListResponse) HasItemsPerPage() bool
HasItemsPerPage returns true if the field `itemsPerPage` has been populated
func (*ListResponse) HasResources ¶
func (v *ListResponse) HasResources() bool
HasResources returns true if the field `resources` has been populated
func (*ListResponse) HasSchemas ¶
func (v *ListResponse) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*ListResponse) HasStartIndex ¶
func (v *ListResponse) HasStartIndex() bool
HasStartIndex returns true if the field `startIndex` has been populated
func (*ListResponse) HasTotalResults ¶
func (v *ListResponse) HasTotalResults() bool
HasTotalResults returns true if the field `totalResults` has been populated
func (*ListResponse) ItemsPerPage ¶
func (v *ListResponse) ItemsPerPage() int
func (*ListResponse) Keys ¶
func (v *ListResponse) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*ListResponse) MarshalJSON ¶
func (v *ListResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes ListResponse into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*ListResponse) Remove ¶
func (v *ListResponse) Remove(key string) error
Remove removes the value associated with a key
func (*ListResponse) Resources ¶
func (v *ListResponse) Resources() []interface{}
func (*ListResponse) Schemas ¶
func (v *ListResponse) Schemas() []string
func (*ListResponse) Set ¶
func (v *ListResponse) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*ListResponse) StartIndex ¶
func (v *ListResponse) StartIndex() int
func (*ListResponse) TotalResults ¶
func (v *ListResponse) TotalResults() int
func (*ListResponse) UnmarshalJSON ¶
func (v *ListResponse) UnmarshalJSON(data []byte) error
type ListResponseBuilder ¶
type ListResponseBuilder struct {
// contains filtered or unexported fields
}
func NewListResponseBuilder ¶
func NewListResponseBuilder() *ListResponseBuilder
NewListResponseBuilder creates a new ListResponseBuilder instance. ListResponseBuilder is safe to be used uninitialized as well.
func (*ListResponseBuilder) Build ¶
func (b *ListResponseBuilder) Build() (*ListResponse, error)
func (*ListResponseBuilder) Extension ¶
func (b *ListResponseBuilder) Extension(uri string, value interface{}) *ListResponseBuilder
func (*ListResponseBuilder) From ¶
func (b *ListResponseBuilder) From(in *ListResponse) *ListResponseBuilder
func (*ListResponseBuilder) ItemsPerPage ¶
func (b *ListResponseBuilder) ItemsPerPage(in int) *ListResponseBuilder
func (*ListResponseBuilder) MustBuild ¶
func (b *ListResponseBuilder) MustBuild() *ListResponse
func (*ListResponseBuilder) Resources ¶
func (b *ListResponseBuilder) Resources(in ...interface{}) *ListResponseBuilder
func (*ListResponseBuilder) Schemas ¶
func (b *ListResponseBuilder) Schemas(in ...string) *ListResponseBuilder
func (*ListResponseBuilder) SetField ¶
func (b *ListResponseBuilder) SetField(name string, value interface{}) *ListResponseBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*ListResponseBuilder) StartIndex ¶
func (b *ListResponseBuilder) StartIndex(in int) *ListResponseBuilder
func (*ListResponseBuilder) TotalResults ¶
func (b *ListResponseBuilder) TotalResults(in int) *ListResponseBuilder
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
represents the `meta` field included in SCIM responses. See https://datatracker.ietf.org/doc/html/rfc7643#section-3.1 for details
func (*Meta) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Meta) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Meta) HasCreated ¶
HasCreated returns true if the field `created` has been populated
func (*Meta) HasLastModified ¶
HasLastModified returns true if the field `lastModified` has been populated
func (*Meta) HasLocation ¶
HasLocation returns true if the field `location` has been populated
func (*Meta) HasResourceType ¶
HasResourceType returns true if the field `resourceType` has been populated
func (*Meta) HasVersion ¶
HasVersion returns true if the field `version` has been populated
func (*Meta) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Meta) LastModified ¶
func (*Meta) MarshalJSON ¶
MarshalJSON serializes Meta into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Meta) ResourceType ¶
func (*Meta) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Meta) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Meta.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type MetaBuilder ¶
type MetaBuilder struct {
// contains filtered or unexported fields
}
func NewMetaBuilder ¶
func NewMetaBuilder() *MetaBuilder
NewMetaBuilder creates a new MetaBuilder instance. MetaBuilder is safe to be used uninitialized as well.
func (*MetaBuilder) Build ¶
func (b *MetaBuilder) Build() (*Meta, error)
func (*MetaBuilder) Created ¶
func (b *MetaBuilder) Created(in time.Time) *MetaBuilder
func (*MetaBuilder) LastModified ¶
func (b *MetaBuilder) LastModified(in time.Time) *MetaBuilder
func (*MetaBuilder) Location ¶
func (b *MetaBuilder) Location(in string) *MetaBuilder
func (*MetaBuilder) MustBuild ¶
func (b *MetaBuilder) MustBuild() *Meta
func (*MetaBuilder) ResourceType ¶
func (b *MetaBuilder) ResourceType(in string) *MetaBuilder
func (*MetaBuilder) SetField ¶
func (b *MetaBuilder) SetField(name string, value interface{}) *MetaBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*MetaBuilder) Version ¶
func (b *MetaBuilder) Version(in string) *MetaBuilder
type Mutability ¶
type Mutability string
const ( MutReadOnly Mutability = `readOnly` MutReadWrite Mutability = `readWrite` MutImmutable Mutability = `immutable` MutWriteOnly Mutability = `writeOnly` )
type Names ¶
type Names struct {
// contains filtered or unexported fields
}
func (*Names) FamilyName ¶
func (*Names) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Names) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Names) HasFamilyName ¶
HasFamilyName returns true if the field `familyName` has been populated
func (*Names) HasFormatted ¶
HasFormatted returns true if the field `formatted` has been populated
func (*Names) HasGivenName ¶
HasGivenName returns true if the field `givenName` has been populated
func (*Names) HasHonorificPrefix ¶
HasHonorificPrefix returns true if the field `honorificPrefix` has been populated
func (*Names) HasHonorificSuffix ¶
HasHonorificSuffix returns true if the field `honorificSuffix` has been populated
func (*Names) HasMiddleName ¶
HasMiddleName returns true if the field `middleName` has been populated
func (*Names) HonorificPrefix ¶
func (*Names) HonorificSuffix ¶
func (*Names) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Names) MarshalJSON ¶
MarshalJSON serializes Names into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Names) MiddleName ¶
func (*Names) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Names) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Names.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type NamesBuilder ¶
type NamesBuilder struct {
// contains filtered or unexported fields
}
func NewNamesBuilder ¶
func NewNamesBuilder() *NamesBuilder
NewNamesBuilder creates a new NamesBuilder instance. NamesBuilder is safe to be used uninitialized as well.
func (*NamesBuilder) Build ¶
func (b *NamesBuilder) Build() (*Names, error)
func (*NamesBuilder) FamilyName ¶
func (b *NamesBuilder) FamilyName(in string) *NamesBuilder
func (*NamesBuilder) Formatted ¶
func (b *NamesBuilder) Formatted(in string) *NamesBuilder
func (*NamesBuilder) From ¶
func (b *NamesBuilder) From(in *Names) *NamesBuilder
func (*NamesBuilder) GivenName ¶
func (b *NamesBuilder) GivenName(in string) *NamesBuilder
func (*NamesBuilder) HonorificPrefix ¶
func (b *NamesBuilder) HonorificPrefix(in string) *NamesBuilder
func (*NamesBuilder) HonorificSuffix ¶
func (b *NamesBuilder) HonorificSuffix(in string) *NamesBuilder
func (*NamesBuilder) MiddleName ¶
func (b *NamesBuilder) MiddleName(in string) *NamesBuilder
func (*NamesBuilder) MustBuild ¶
func (b *NamesBuilder) MustBuild() *Names
func (*NamesBuilder) SetField ¶
func (b *NamesBuilder) SetField(name string, value interface{}) *NamesBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type PartialResourceRepresentationRequest ¶
type PartialResourceRepresentationRequest struct {
// contains filtered or unexported fields
}
func (*PartialResourceRepresentationRequest) AsMap ¶
func (v *PartialResourceRepresentationRequest) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*PartialResourceRepresentationRequest) Attributes ¶
func (v *PartialResourceRepresentationRequest) Attributes() []string
func (*PartialResourceRepresentationRequest) Clone ¶
func (v *PartialResourceRepresentationRequest) Clone(dst interface{}) error
func (*PartialResourceRepresentationRequest) ExcludedAttributes ¶
func (v *PartialResourceRepresentationRequest) ExcludedAttributes() []string
func (*PartialResourceRepresentationRequest) Get ¶
func (v *PartialResourceRepresentationRequest) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*PartialResourceRepresentationRequest) GetExtension ¶
func (v *PartialResourceRepresentationRequest) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*PartialResourceRepresentationRequest) Has ¶
func (v *PartialResourceRepresentationRequest) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*PartialResourceRepresentationRequest) HasAttributes ¶
func (v *PartialResourceRepresentationRequest) HasAttributes() bool
HasAttributes returns true if the field `attributes` has been populated
func (*PartialResourceRepresentationRequest) HasExcludedAttributes ¶
func (v *PartialResourceRepresentationRequest) HasExcludedAttributes() bool
HasExcludedAttributes returns true if the field `excludedAttributes` has been populated
func (*PartialResourceRepresentationRequest) Keys ¶
func (v *PartialResourceRepresentationRequest) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*PartialResourceRepresentationRequest) MarshalJSON ¶
func (v *PartialResourceRepresentationRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes PartialResourceRepresentationRequest into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*PartialResourceRepresentationRequest) Remove ¶
func (v *PartialResourceRepresentationRequest) Remove(key string) error
Remove removes the value associated with a key
func (*PartialResourceRepresentationRequest) Set ¶
func (v *PartialResourceRepresentationRequest) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*PartialResourceRepresentationRequest) UnmarshalJSON ¶
func (v *PartialResourceRepresentationRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into PartialResourceRepresentationRequest.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type PartialResourceRepresentationRequestBuilder ¶
type PartialResourceRepresentationRequestBuilder struct {
// contains filtered or unexported fields
}
func NewPartialResourceRepresentationRequestBuilder ¶
func NewPartialResourceRepresentationRequestBuilder() *PartialResourceRepresentationRequestBuilder
NewPartialResourceRepresentationRequestBuilder creates a new PartialResourceRepresentationRequestBuilder instance. PartialResourceRepresentationRequestBuilder is safe to be used uninitialized as well.
func (*PartialResourceRepresentationRequestBuilder) Attributes ¶
func (b *PartialResourceRepresentationRequestBuilder) Attributes(in ...string) *PartialResourceRepresentationRequestBuilder
func (*PartialResourceRepresentationRequestBuilder) Build ¶
func (b *PartialResourceRepresentationRequestBuilder) Build() (*PartialResourceRepresentationRequest, error)
func (*PartialResourceRepresentationRequestBuilder) ExcludedAttributes ¶
func (b *PartialResourceRepresentationRequestBuilder) ExcludedAttributes(in ...string) *PartialResourceRepresentationRequestBuilder
func (*PartialResourceRepresentationRequestBuilder) MustBuild ¶
func (b *PartialResourceRepresentationRequestBuilder) MustBuild() *PartialResourceRepresentationRequest
func (*PartialResourceRepresentationRequestBuilder) SetField ¶
func (b *PartialResourceRepresentationRequestBuilder) SetField(name string, value interface{}) *PartialResourceRepresentationRequestBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type PatchOperation ¶
type PatchOperation struct {
// contains filtered or unexported fields
}
func (*PatchOperation) AsMap ¶
func (v *PatchOperation) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*PatchOperation) Clone ¶
func (v *PatchOperation) Clone(dst interface{}) error
func (*PatchOperation) ExternalID ¶
func (v *PatchOperation) ExternalID() string
func (*PatchOperation) Get ¶
func (v *PatchOperation) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*PatchOperation) GetExtension ¶
func (v *PatchOperation) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*PatchOperation) Has ¶
func (v *PatchOperation) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*PatchOperation) HasExternalID ¶
func (v *PatchOperation) HasExternalID() bool
HasExternalID returns true if the field `externalId` has been populated
func (*PatchOperation) HasID ¶
func (v *PatchOperation) HasID() bool
HasID returns true if the field `id` has been populated
func (*PatchOperation) HasMeta ¶
func (v *PatchOperation) HasMeta() bool
HasMeta returns true if the field `meta` has been populated
func (*PatchOperation) HasOp ¶
func (v *PatchOperation) HasOp() bool
HasOp returns true if the field `op` has been populated
func (*PatchOperation) HasPath ¶
func (v *PatchOperation) HasPath() bool
HasPath returns true if the field `path` has been populated
func (*PatchOperation) HasValue ¶
func (v *PatchOperation) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*PatchOperation) ID ¶
func (v *PatchOperation) ID() string
func (*PatchOperation) Keys ¶
func (v *PatchOperation) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*PatchOperation) MarshalJSON ¶
func (v *PatchOperation) MarshalJSON() ([]byte, error)
MarshalJSON serializes PatchOperation into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*PatchOperation) Meta ¶
func (v *PatchOperation) Meta() *Meta
func (*PatchOperation) Op ¶
func (v *PatchOperation) Op() PatchOperationType
func (*PatchOperation) Path ¶
func (v *PatchOperation) Path() string
func (*PatchOperation) Remove ¶
func (v *PatchOperation) Remove(key string) error
Remove removes the value associated with a key
func (*PatchOperation) Set ¶
func (v *PatchOperation) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*PatchOperation) UnmarshalJSON ¶
func (v *PatchOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into PatchOperation.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*PatchOperation) Value ¶
func (v *PatchOperation) Value() interface{}
type PatchOperationBuilder ¶
type PatchOperationBuilder struct {
// contains filtered or unexported fields
}
func NewPatchOperationBuilder ¶
func NewPatchOperationBuilder() *PatchOperationBuilder
NewPatchOperationBuilder creates a new PatchOperationBuilder instance. PatchOperationBuilder is safe to be used uninitialized as well.
func (*PatchOperationBuilder) Build ¶
func (b *PatchOperationBuilder) Build() (*PatchOperation, error)
func (*PatchOperationBuilder) ExternalID ¶
func (b *PatchOperationBuilder) ExternalID(in string) *PatchOperationBuilder
func (*PatchOperationBuilder) From ¶
func (b *PatchOperationBuilder) From(in *PatchOperation) *PatchOperationBuilder
func (*PatchOperationBuilder) ID ¶
func (b *PatchOperationBuilder) ID(in string) *PatchOperationBuilder
func (*PatchOperationBuilder) Meta ¶
func (b *PatchOperationBuilder) Meta(in *Meta) *PatchOperationBuilder
func (*PatchOperationBuilder) MustBuild ¶
func (b *PatchOperationBuilder) MustBuild() *PatchOperation
func (*PatchOperationBuilder) Op ¶
func (b *PatchOperationBuilder) Op(in PatchOperationType) *PatchOperationBuilder
func (*PatchOperationBuilder) Path ¶
func (b *PatchOperationBuilder) Path(in string) *PatchOperationBuilder
func (*PatchOperationBuilder) SetField ¶
func (b *PatchOperationBuilder) SetField(name string, value interface{}) *PatchOperationBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*PatchOperationBuilder) Value ¶
func (b *PatchOperationBuilder) Value(in interface{}) *PatchOperationBuilder
type PatchOperationType ¶
type PatchOperationType string
const ( PatchInvalid PatchOperationType = `` PatchAdd PatchOperationType = `add` PatchRemove PatchOperationType = `remove` PatchReplace PatchOperationType = `replace` )
type PatchOperationValue ¶
type PatchOperationValue json.RawMessage
func (*PatchOperationValue) AcceptValue ¶
func (v *PatchOperationValue) AcceptValue(in interface{}) error
func (*PatchOperationValue) GetValue ¶
func (v *PatchOperationValue) GetValue() interface{}
type PatchRequest ¶
type PatchRequest struct {
// contains filtered or unexported fields
}
func (*PatchRequest) AsMap ¶
func (v *PatchRequest) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*PatchRequest) Clone ¶
func (v *PatchRequest) Clone(dst interface{}) error
func (*PatchRequest) Get ¶
func (v *PatchRequest) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*PatchRequest) GetExtension ¶
func (v *PatchRequest) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*PatchRequest) Has ¶
func (v *PatchRequest) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*PatchRequest) HasOperations ¶
func (v *PatchRequest) HasOperations() bool
HasOperations returns true if the field `operations` has been populated
func (*PatchRequest) HasSchemas ¶
func (v *PatchRequest) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*PatchRequest) Keys ¶
func (v *PatchRequest) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*PatchRequest) MarshalJSON ¶
func (v *PatchRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes PatchRequest into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*PatchRequest) Operations ¶
func (v *PatchRequest) Operations() []*PatchOperation
func (*PatchRequest) Remove ¶
func (v *PatchRequest) Remove(key string) error
Remove removes the value associated with a key
func (*PatchRequest) Schemas ¶
func (v *PatchRequest) Schemas() []string
func (*PatchRequest) Set ¶
func (v *PatchRequest) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*PatchRequest) UnmarshalJSON ¶
func (v *PatchRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into PatchRequest.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type PatchRequestBuilder ¶
type PatchRequestBuilder struct {
// contains filtered or unexported fields
}
func NewPatchRequestBuilder ¶
func NewPatchRequestBuilder() *PatchRequestBuilder
NewPatchRequestBuilder creates a new PatchRequestBuilder instance. PatchRequestBuilder is safe to be used uninitialized as well.
func (*PatchRequestBuilder) Build ¶
func (b *PatchRequestBuilder) Build() (*PatchRequest, error)
func (*PatchRequestBuilder) Extension ¶
func (b *PatchRequestBuilder) Extension(uri string, value interface{}) *PatchRequestBuilder
func (*PatchRequestBuilder) From ¶
func (b *PatchRequestBuilder) From(in *PatchRequest) *PatchRequestBuilder
func (*PatchRequestBuilder) MustBuild ¶
func (b *PatchRequestBuilder) MustBuild() *PatchRequest
func (*PatchRequestBuilder) Operations ¶
func (b *PatchRequestBuilder) Operations(in ...*PatchOperation) *PatchRequestBuilder
func (*PatchRequestBuilder) Schemas ¶
func (b *PatchRequestBuilder) Schemas(in ...string) *PatchRequestBuilder
func (*PatchRequestBuilder) SetField ¶
func (b *PatchRequestBuilder) SetField(name string, value interface{}) *PatchRequestBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type PhoneNumber ¶
type PhoneNumber struct {
// contains filtered or unexported fields
}
func (*PhoneNumber) AsMap ¶
func (v *PhoneNumber) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*PhoneNumber) Clone ¶
func (v *PhoneNumber) Clone(dst interface{}) error
func (*PhoneNumber) Display ¶
func (v *PhoneNumber) Display() string
func (*PhoneNumber) Get ¶
func (v *PhoneNumber) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*PhoneNumber) GetExtension ¶
func (v *PhoneNumber) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*PhoneNumber) Has ¶
func (v *PhoneNumber) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*PhoneNumber) HasDisplay ¶
func (v *PhoneNumber) HasDisplay() bool
HasDisplay returns true if the field `display` has been populated
func (*PhoneNumber) HasPrimary ¶
func (v *PhoneNumber) HasPrimary() bool
HasPrimary returns true if the field `primary` has been populated
func (*PhoneNumber) HasType ¶
func (v *PhoneNumber) HasType() bool
HasType returns true if the field `type` has been populated
func (*PhoneNumber) HasValue ¶
func (v *PhoneNumber) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*PhoneNumber) Keys ¶
func (v *PhoneNumber) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*PhoneNumber) MarshalJSON ¶
func (v *PhoneNumber) MarshalJSON() ([]byte, error)
MarshalJSON serializes PhoneNumber into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*PhoneNumber) Primary ¶
func (v *PhoneNumber) Primary() bool
func (*PhoneNumber) Remove ¶
func (v *PhoneNumber) Remove(key string) error
Remove removes the value associated with a key
func (*PhoneNumber) Set ¶
func (v *PhoneNumber) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*PhoneNumber) Type ¶
func (v *PhoneNumber) Type() string
func (*PhoneNumber) UnmarshalJSON ¶
func (v *PhoneNumber) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into PhoneNumber.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*PhoneNumber) Value ¶
func (v *PhoneNumber) Value() string
type PhoneNumberBuilder ¶
type PhoneNumberBuilder struct {
// contains filtered or unexported fields
}
func NewPhoneNumberBuilder ¶
func NewPhoneNumberBuilder() *PhoneNumberBuilder
NewPhoneNumberBuilder creates a new PhoneNumberBuilder instance. PhoneNumberBuilder is safe to be used uninitialized as well.
func (*PhoneNumberBuilder) Build ¶
func (b *PhoneNumberBuilder) Build() (*PhoneNumber, error)
func (*PhoneNumberBuilder) Display ¶
func (b *PhoneNumberBuilder) Display(in string) *PhoneNumberBuilder
func (*PhoneNumberBuilder) From ¶
func (b *PhoneNumberBuilder) From(in *PhoneNumber) *PhoneNumberBuilder
func (*PhoneNumberBuilder) MustBuild ¶
func (b *PhoneNumberBuilder) MustBuild() *PhoneNumber
func (*PhoneNumberBuilder) Primary ¶
func (b *PhoneNumberBuilder) Primary(in bool) *PhoneNumberBuilder
func (*PhoneNumberBuilder) SetField ¶
func (b *PhoneNumberBuilder) SetField(name string, value interface{}) *PhoneNumberBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*PhoneNumberBuilder) Type ¶
func (b *PhoneNumberBuilder) Type(in string) *PhoneNumberBuilder
func (*PhoneNumberBuilder) Value ¶
func (b *PhoneNumberBuilder) Value(in string) *PhoneNumberBuilder
type PhoneNumberValue ¶
type PhoneNumberValue string
func (*PhoneNumberValue) AcceptValue ¶
func (v *PhoneNumberValue) AcceptValue(in interface{}) error
func (*PhoneNumberValue) GetValue ¶
func (v *PhoneNumberValue) GetValue() string
type Photo ¶
type Photo struct {
// contains filtered or unexported fields
}
func (*Photo) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Photo) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Photo) HasDisplay ¶
HasDisplay returns true if the field `display` has been populated
func (*Photo) HasPrimary ¶
HasPrimary returns true if the field `primary` has been populated
func (*Photo) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Photo) MarshalJSON ¶
MarshalJSON serializes Photo into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Photo) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Photo) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Photo.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type PhotoBuilder ¶
type PhotoBuilder struct {
// contains filtered or unexported fields
}
func NewPhotoBuilder ¶
func NewPhotoBuilder() *PhotoBuilder
NewPhotoBuilder creates a new PhotoBuilder instance. PhotoBuilder is safe to be used uninitialized as well.
func (*PhotoBuilder) Build ¶
func (b *PhotoBuilder) Build() (*Photo, error)
func (*PhotoBuilder) Display ¶
func (b *PhotoBuilder) Display(in string) *PhotoBuilder
func (*PhotoBuilder) From ¶
func (b *PhotoBuilder) From(in *Photo) *PhotoBuilder
func (*PhotoBuilder) MustBuild ¶
func (b *PhotoBuilder) MustBuild() *Photo
func (*PhotoBuilder) Primary ¶
func (b *PhotoBuilder) Primary(in bool) *PhotoBuilder
func (*PhotoBuilder) SetField ¶
func (b *PhotoBuilder) SetField(name string, value interface{}) *PhotoBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*PhotoBuilder) Type ¶
func (b *PhotoBuilder) Type(in string) *PhotoBuilder
func (*PhotoBuilder) Value ¶
func (b *PhotoBuilder) Value(in string) *PhotoBuilder
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
The registry contains the mapping from schema URI to a Go object
func (*Registry) LookupByName ¶
func (*Registry) LookupByURI ¶
type ResourceType ¶
type ResourceType struct {
// contains filtered or unexported fields
}
func (*ResourceType) AsMap ¶
func (v *ResourceType) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*ResourceType) Clone ¶
func (v *ResourceType) Clone(dst interface{}) error
func (*ResourceType) Description ¶
func (v *ResourceType) Description() string
func (*ResourceType) Endpoint ¶
func (v *ResourceType) Endpoint() string
func (*ResourceType) Get ¶
func (v *ResourceType) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*ResourceType) GetExtension ¶
func (v *ResourceType) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*ResourceType) Has ¶
func (v *ResourceType) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*ResourceType) HasDescription ¶
func (v *ResourceType) HasDescription() bool
HasDescription returns true if the field `description` has been populated
func (*ResourceType) HasEndpoint ¶
func (v *ResourceType) HasEndpoint() bool
HasEndpoint returns true if the field `endpoint` has been populated
func (*ResourceType) HasID ¶
func (v *ResourceType) HasID() bool
HasID returns true if the field `id` has been populated
func (*ResourceType) HasName ¶
func (v *ResourceType) HasName() bool
HasName returns true if the field `name` has been populated
func (*ResourceType) HasSchema ¶
func (v *ResourceType) HasSchema() bool
HasSchema returns true if the field `schema` has been populated
func (*ResourceType) HasSchemaExtensions ¶
func (v *ResourceType) HasSchemaExtensions() bool
HasSchemaExtensions returns true if the field `schemaExtensions` has been populated
func (*ResourceType) HasSchemas ¶
func (v *ResourceType) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*ResourceType) ID ¶
func (v *ResourceType) ID() string
func (*ResourceType) Keys ¶
func (v *ResourceType) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*ResourceType) MarshalJSON ¶
func (v *ResourceType) MarshalJSON() ([]byte, error)
MarshalJSON serializes ResourceType into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*ResourceType) Name ¶
func (v *ResourceType) Name() string
func (*ResourceType) Remove ¶
func (v *ResourceType) Remove(key string) error
Remove removes the value associated with a key
func (*ResourceType) Schema ¶
func (v *ResourceType) Schema() string
func (*ResourceType) SchemaExtensions ¶
func (v *ResourceType) SchemaExtensions() []*SchemaExtension
func (*ResourceType) Schemas ¶
func (v *ResourceType) Schemas() []string
func (*ResourceType) Set ¶
func (v *ResourceType) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*ResourceType) UnmarshalJSON ¶
func (v *ResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into ResourceType.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type ResourceTypeBuilder ¶
type ResourceTypeBuilder struct {
// contains filtered or unexported fields
}
func NewResourceTypeBuilder ¶
func NewResourceTypeBuilder() *ResourceTypeBuilder
NewResourceTypeBuilder creates a new ResourceTypeBuilder instance. ResourceTypeBuilder is safe to be used uninitialized as well.
func (*ResourceTypeBuilder) Build ¶
func (b *ResourceTypeBuilder) Build() (*ResourceType, error)
func (*ResourceTypeBuilder) Description ¶
func (b *ResourceTypeBuilder) Description(in string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) Endpoint ¶
func (b *ResourceTypeBuilder) Endpoint(in string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) Extension ¶
func (b *ResourceTypeBuilder) Extension(uri string, value interface{}) *ResourceTypeBuilder
func (*ResourceTypeBuilder) From ¶
func (b *ResourceTypeBuilder) From(in *ResourceType) *ResourceTypeBuilder
func (*ResourceTypeBuilder) ID ¶
func (b *ResourceTypeBuilder) ID(in string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) MustBuild ¶
func (b *ResourceTypeBuilder) MustBuild() *ResourceType
func (*ResourceTypeBuilder) Name ¶
func (b *ResourceTypeBuilder) Name(in string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) Schema ¶
func (b *ResourceTypeBuilder) Schema(in string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) SchemaExtensions ¶
func (b *ResourceTypeBuilder) SchemaExtensions(in ...*SchemaExtension) *ResourceTypeBuilder
func (*ResourceTypeBuilder) Schemas ¶
func (b *ResourceTypeBuilder) Schemas(in ...string) *ResourceTypeBuilder
func (*ResourceTypeBuilder) SetField ¶
func (b *ResourceTypeBuilder) SetField(name string, value interface{}) *ResourceTypeBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
func (*Role) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Role) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Role) HasDisplay ¶
HasDisplay returns true if the field `display` has been populated
func (*Role) HasPrimary ¶
HasPrimary returns true if the field `primary` has been populated
func (*Role) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Role) MarshalJSON ¶
MarshalJSON serializes Role into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Role) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Role) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Role.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type RoleBuilder ¶
type RoleBuilder struct {
// contains filtered or unexported fields
}
func NewRoleBuilder ¶
func NewRoleBuilder() *RoleBuilder
NewRoleBuilder creates a new RoleBuilder instance. RoleBuilder is safe to be used uninitialized as well.
func (*RoleBuilder) Build ¶
func (b *RoleBuilder) Build() (*Role, error)
func (*RoleBuilder) Display ¶
func (b *RoleBuilder) Display(in string) *RoleBuilder
func (*RoleBuilder) From ¶
func (b *RoleBuilder) From(in *Role) *RoleBuilder
func (*RoleBuilder) MustBuild ¶
func (b *RoleBuilder) MustBuild() *Role
func (*RoleBuilder) Primary ¶
func (b *RoleBuilder) Primary(in bool) *RoleBuilder
func (*RoleBuilder) SetField ¶
func (b *RoleBuilder) SetField(name string, value interface{}) *RoleBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*RoleBuilder) Type ¶
func (b *RoleBuilder) Type(in string) *RoleBuilder
func (*RoleBuilder) Value ¶
func (b *RoleBuilder) Value(in string) *RoleBuilder
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
represents a Schema resource as defined in the SCIM RFC
func (*Schema) AttributeByName ¶
func (v *Schema) AttributeByName(name string) (*SchemaAttribute, bool)
AttributeByName fetches a schema attribute by its JSON field name. (i.e. you must use `$ref` instead of `Reference`, `name` instead of `Name`, etc)
If an attribute with the given name does not exist, the second return value is false.
Sub-attributes can also be specified by concatenating the field names with a dot ('.'), for example `members.value`
func (*Schema) Attributes ¶
func (v *Schema) Attributes() []*SchemaAttribute
func (*Schema) Description ¶
func (*Schema) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*Schema) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*Schema) HasAttributes ¶
HasAttributes returns true if the field `attributes` has been populated
func (*Schema) HasDescription ¶
HasDescription returns true if the field `description` has been populated
func (*Schema) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*Schema) MarshalJSON ¶
MarshalJSON serializes Schema into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*Schema) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*Schema) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into Schema.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type SchemaAttribute ¶
type SchemaAttribute struct {
// contains filtered or unexported fields
}
func (*SchemaAttribute) AsMap ¶
func (v *SchemaAttribute) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*SchemaAttribute) Attributes ¶
func (v *SchemaAttribute) Attributes() []*SchemaAttribute
Attributes is an alias to `SubAttributes()` method, provided so that resource.Schema and resource.SchemaAttribute can be used interchangeably
func (*SchemaAttribute) CanRead ¶
func (v *SchemaAttribute) CanRead() bool
CanRead returns true if the mutability is either readOnly, readWrite, immutable.
The result is evaluated in context of the SCIM server, from the PoV of the SCIM client.
func (*SchemaAttribute) CanWrite ¶
func (v *SchemaAttribute) CanWrite() bool
CanWrite returns true if the mutability is either readWrite or writeOnly.
The result is evaluated in context of the SCIM server, from the PoV of the SCIM client.
func (*SchemaAttribute) CanonicalValues ¶
func (v *SchemaAttribute) CanonicalValues() []interface{}
func (*SchemaAttribute) CaseExact ¶
func (v *SchemaAttribute) CaseExact() bool
func (*SchemaAttribute) Clone ¶
func (v *SchemaAttribute) Clone(dst interface{}) error
func (*SchemaAttribute) Description ¶
func (v *SchemaAttribute) Description() string
func (*SchemaAttribute) Get ¶
func (v *SchemaAttribute) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*SchemaAttribute) GetExtension ¶
func (v *SchemaAttribute) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*SchemaAttribute) GoAccessorName ¶
func (v *SchemaAttribute) GoAccessorName() string
func (*SchemaAttribute) Has ¶
func (v *SchemaAttribute) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*SchemaAttribute) HasCanonicalValues ¶
func (v *SchemaAttribute) HasCanonicalValues() bool
HasCanonicalValues returns true if the field `canonicalValues` has been populated
func (*SchemaAttribute) HasCaseExact ¶
func (v *SchemaAttribute) HasCaseExact() bool
HasCaseExact returns true if the field `caseExact` has been populated
func (*SchemaAttribute) HasDescription ¶
func (v *SchemaAttribute) HasDescription() bool
HasDescription returns true if the field `description` has been populated
func (*SchemaAttribute) HasMultiValued ¶
func (v *SchemaAttribute) HasMultiValued() bool
HasMultiValued returns true if the field `multiValued` has been populated
func (*SchemaAttribute) HasMutability ¶
func (v *SchemaAttribute) HasMutability() bool
HasMutability returns true if the field `mutability` has been populated
func (*SchemaAttribute) HasName ¶
func (v *SchemaAttribute) HasName() bool
HasName returns true if the field `name` has been populated
func (*SchemaAttribute) HasReferenceTypes ¶
func (v *SchemaAttribute) HasReferenceTypes() bool
HasReferenceTypes returns true if the field `referenceTypes` has been populated
func (*SchemaAttribute) HasRequired ¶
func (v *SchemaAttribute) HasRequired() bool
HasRequired returns true if the field `required` has been populated
func (*SchemaAttribute) HasReturned ¶
func (v *SchemaAttribute) HasReturned() bool
HasReturned returns true if the field `returned` has been populated
func (*SchemaAttribute) HasSubAttributes ¶
func (v *SchemaAttribute) HasSubAttributes() bool
HasSubAttributes returns true if the field `subAttributes` has been populated
func (*SchemaAttribute) HasType ¶
func (v *SchemaAttribute) HasType() bool
HasType returns true if the field `type` has been populated
func (*SchemaAttribute) HasUniqueness ¶
func (v *SchemaAttribute) HasUniqueness() bool
HasUniqueness returns true if the field `uniqueness` has been populated
func (*SchemaAttribute) Keys ¶
func (v *SchemaAttribute) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*SchemaAttribute) MarshalJSON ¶
func (v *SchemaAttribute) MarshalJSON() ([]byte, error)
MarshalJSON serializes SchemaAttribute into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*SchemaAttribute) MultiValued ¶
func (v *SchemaAttribute) MultiValued() bool
func (*SchemaAttribute) Mutability ¶
func (v *SchemaAttribute) Mutability() Mutability
func (*SchemaAttribute) Name ¶
func (v *SchemaAttribute) Name() string
func (*SchemaAttribute) ReferenceTypes ¶
func (v *SchemaAttribute) ReferenceTypes() []string
func (*SchemaAttribute) Remove ¶
func (v *SchemaAttribute) Remove(key string) error
Remove removes the value associated with a key
func (*SchemaAttribute) Required ¶
func (v *SchemaAttribute) Required() bool
func (*SchemaAttribute) Returned ¶
func (v *SchemaAttribute) Returned() Returned
func (*SchemaAttribute) Set ¶
func (v *SchemaAttribute) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*SchemaAttribute) SubAttributes ¶
func (v *SchemaAttribute) SubAttributes() []*SchemaAttribute
func (*SchemaAttribute) Type ¶
func (v *SchemaAttribute) Type() DataType
func (*SchemaAttribute) Uniqueness ¶
func (v *SchemaAttribute) Uniqueness() Uniqueness
func (*SchemaAttribute) UnmarshalJSON ¶
func (v *SchemaAttribute) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into SchemaAttribute.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type SchemaAttributeBuilder ¶
type SchemaAttributeBuilder struct {
// contains filtered or unexported fields
}
func NewSchemaAttributeBuilder ¶
func NewSchemaAttributeBuilder() *SchemaAttributeBuilder
NewSchemaAttributeBuilder creates a new SchemaAttributeBuilder instance. SchemaAttributeBuilder is safe to be used uninitialized as well.
func (*SchemaAttributeBuilder) Attributes ¶
func (v *SchemaAttributeBuilder) Attributes(in ...*SchemaAttribute) *SchemaAttributeBuilder
Attributes is an alias to `SubAttributes()` method, provided so that resource.Schema and resource.SchemaAttribute can be used interchangeably
func (*SchemaAttributeBuilder) Build ¶
func (b *SchemaAttributeBuilder) Build() (*SchemaAttribute, error)
func (*SchemaAttributeBuilder) CanonicalValues ¶
func (b *SchemaAttributeBuilder) CanonicalValues(in ...interface{}) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) CaseExact ¶
func (b *SchemaAttributeBuilder) CaseExact(in bool) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Description ¶
func (b *SchemaAttributeBuilder) Description(in string) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) From ¶
func (b *SchemaAttributeBuilder) From(in *SchemaAttribute) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) GoAccessorName ¶
func (b *SchemaAttributeBuilder) GoAccessorName(name string) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) MultiValued ¶
func (b *SchemaAttributeBuilder) MultiValued(in bool) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) MustBuild ¶
func (b *SchemaAttributeBuilder) MustBuild() *SchemaAttribute
func (*SchemaAttributeBuilder) Mutability ¶
func (b *SchemaAttributeBuilder) Mutability(in Mutability) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Name ¶
func (b *SchemaAttributeBuilder) Name(in string) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) ReferenceTypes ¶
func (b *SchemaAttributeBuilder) ReferenceTypes(in ...string) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Required ¶
func (b *SchemaAttributeBuilder) Required(in bool) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Returned ¶
func (b *SchemaAttributeBuilder) Returned(in Returned) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) SetField ¶
func (b *SchemaAttributeBuilder) SetField(name string, value interface{}) *SchemaAttributeBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*SchemaAttributeBuilder) SubAttributes ¶
func (b *SchemaAttributeBuilder) SubAttributes(in ...*SchemaAttribute) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Type ¶
func (b *SchemaAttributeBuilder) Type(in DataType) *SchemaAttributeBuilder
func (*SchemaAttributeBuilder) Uniqueness ¶
func (b *SchemaAttributeBuilder) Uniqueness(in Uniqueness) *SchemaAttributeBuilder
type SchemaBuilder ¶
type SchemaBuilder struct {
// contains filtered or unexported fields
}
func NewSchemaBuilder ¶
func NewSchemaBuilder() *SchemaBuilder
NewSchemaBuilder creates a new SchemaBuilder instance. SchemaBuilder is safe to be used uninitialized as well.
func (*SchemaBuilder) Attributes ¶
func (b *SchemaBuilder) Attributes(in ...*SchemaAttribute) *SchemaBuilder
func (*SchemaBuilder) Build ¶
func (b *SchemaBuilder) Build() (*Schema, error)
func (*SchemaBuilder) Description ¶
func (b *SchemaBuilder) Description(in string) *SchemaBuilder
func (*SchemaBuilder) ID ¶
func (b *SchemaBuilder) ID(in string) *SchemaBuilder
func (*SchemaBuilder) MustBuild ¶
func (b *SchemaBuilder) MustBuild() *Schema
func (*SchemaBuilder) Name ¶
func (b *SchemaBuilder) Name(in string) *SchemaBuilder
func (*SchemaBuilder) SetField ¶
func (b *SchemaBuilder) SetField(name string, value interface{}) *SchemaBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type SchemaExtension ¶
type SchemaExtension struct {
// contains filtered or unexported fields
}
func (*SchemaExtension) AsMap ¶
func (v *SchemaExtension) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*SchemaExtension) Clone ¶
func (v *SchemaExtension) Clone(dst interface{}) error
func (*SchemaExtension) Get ¶
func (v *SchemaExtension) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*SchemaExtension) GetExtension ¶
func (v *SchemaExtension) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*SchemaExtension) Has ¶
func (v *SchemaExtension) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*SchemaExtension) HasRequired ¶
func (v *SchemaExtension) HasRequired() bool
HasRequired returns true if the field `required` has been populated
func (*SchemaExtension) HasSchema ¶
func (v *SchemaExtension) HasSchema() bool
HasSchema returns true if the field `schema` has been populated
func (*SchemaExtension) Keys ¶
func (v *SchemaExtension) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*SchemaExtension) MarshalJSON ¶
func (v *SchemaExtension) MarshalJSON() ([]byte, error)
MarshalJSON serializes SchemaExtension into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*SchemaExtension) Remove ¶
func (v *SchemaExtension) Remove(key string) error
Remove removes the value associated with a key
func (*SchemaExtension) Required ¶
func (v *SchemaExtension) Required() bool
func (*SchemaExtension) Schema ¶
func (v *SchemaExtension) Schema() string
func (*SchemaExtension) Set ¶
func (v *SchemaExtension) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*SchemaExtension) UnmarshalJSON ¶
func (v *SchemaExtension) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into SchemaExtension.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type SchemaExtensionBuilder ¶
type SchemaExtensionBuilder struct {
// contains filtered or unexported fields
}
func NewSchemaExtensionBuilder ¶
func NewSchemaExtensionBuilder() *SchemaExtensionBuilder
NewSchemaExtensionBuilder creates a new SchemaExtensionBuilder instance. SchemaExtensionBuilder is safe to be used uninitialized as well.
func (*SchemaExtensionBuilder) Build ¶
func (b *SchemaExtensionBuilder) Build() (*SchemaExtension, error)
func (*SchemaExtensionBuilder) From ¶
func (b *SchemaExtensionBuilder) From(in *SchemaExtension) *SchemaExtensionBuilder
func (*SchemaExtensionBuilder) MustBuild ¶
func (b *SchemaExtensionBuilder) MustBuild() *SchemaExtension
func (*SchemaExtensionBuilder) Required ¶
func (b *SchemaExtensionBuilder) Required(in bool) *SchemaExtensionBuilder
func (*SchemaExtensionBuilder) Schema ¶
func (b *SchemaExtensionBuilder) Schema(in string) *SchemaExtensionBuilder
func (*SchemaExtensionBuilder) SetField ¶
func (b *SchemaExtensionBuilder) SetField(name string, value interface{}) *SchemaExtensionBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
type SearchRequest ¶
type SearchRequest struct {
// contains filtered or unexported fields
}
func (*SearchRequest) AsMap ¶
func (v *SearchRequest) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*SearchRequest) Attributes ¶
func (v *SearchRequest) Attributes() []string
func (*SearchRequest) Clone ¶
func (v *SearchRequest) Clone(dst interface{}) error
func (*SearchRequest) Count ¶
func (v *SearchRequest) Count() int
func (*SearchRequest) ExcludedAttributes ¶
func (v *SearchRequest) ExcludedAttributes() []string
func (*SearchRequest) Filter ¶
func (v *SearchRequest) Filter() string
func (*SearchRequest) Get ¶
func (v *SearchRequest) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*SearchRequest) GetExtension ¶
func (v *SearchRequest) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*SearchRequest) Has ¶
func (v *SearchRequest) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*SearchRequest) HasAttributes ¶
func (v *SearchRequest) HasAttributes() bool
HasAttributes returns true if the field `attributes` has been populated
func (*SearchRequest) HasCount ¶
func (v *SearchRequest) HasCount() bool
HasCount returns true if the field `count` has been populated
func (*SearchRequest) HasExcludedAttributes ¶
func (v *SearchRequest) HasExcludedAttributes() bool
HasExcludedAttributes returns true if the field `excludedAttributes` has been populated
func (*SearchRequest) HasFilter ¶
func (v *SearchRequest) HasFilter() bool
HasFilter returns true if the field `filter` has been populated
func (*SearchRequest) HasSchema ¶
func (v *SearchRequest) HasSchema() bool
HasSchema returns true if the field `schema` has been populated
func (*SearchRequest) HasSchemas ¶
func (v *SearchRequest) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*SearchRequest) HasSortBy ¶
func (v *SearchRequest) HasSortBy() bool
HasSortBy returns true if the field `sortBy` has been populated
func (*SearchRequest) HasSortOrder ¶
func (v *SearchRequest) HasSortOrder() bool
HasSortOrder returns true if the field `sortOrder` has been populated
func (*SearchRequest) HasStartIndex ¶
func (v *SearchRequest) HasStartIndex() bool
HasStartIndex returns true if the field `startIndex` has been populated
func (*SearchRequest) Keys ¶
func (v *SearchRequest) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*SearchRequest) MarshalJSON ¶
func (v *SearchRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes SearchRequest into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*SearchRequest) Remove ¶
func (v *SearchRequest) Remove(key string) error
Remove removes the value associated with a key
func (*SearchRequest) Schema ¶
func (v *SearchRequest) Schema() string
func (*SearchRequest) Schemas ¶
func (v *SearchRequest) Schemas() []string
func (*SearchRequest) Set ¶
func (v *SearchRequest) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*SearchRequest) SortBy ¶
func (v *SearchRequest) SortBy() string
func (*SearchRequest) SortOrder ¶
func (v *SearchRequest) SortOrder() string
func (*SearchRequest) StartIndex ¶
func (v *SearchRequest) StartIndex() int
func (*SearchRequest) UnmarshalJSON ¶
func (v *SearchRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into SearchRequest.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type SearchRequestBuilder ¶
type SearchRequestBuilder struct {
// contains filtered or unexported fields
}
func NewSearchRequestBuilder ¶
func NewSearchRequestBuilder() *SearchRequestBuilder
NewSearchRequestBuilder creates a new SearchRequestBuilder instance. SearchRequestBuilder is safe to be used uninitialized as well.
func (*SearchRequestBuilder) Attributes ¶
func (b *SearchRequestBuilder) Attributes(in ...string) *SearchRequestBuilder
func (*SearchRequestBuilder) Build ¶
func (b *SearchRequestBuilder) Build() (*SearchRequest, error)
func (*SearchRequestBuilder) Count ¶
func (b *SearchRequestBuilder) Count(in int) *SearchRequestBuilder
func (*SearchRequestBuilder) ExcludedAttributes ¶
func (b *SearchRequestBuilder) ExcludedAttributes(in ...string) *SearchRequestBuilder
func (*SearchRequestBuilder) Extension ¶
func (b *SearchRequestBuilder) Extension(uri string, value interface{}) *SearchRequestBuilder
func (*SearchRequestBuilder) Filter ¶
func (b *SearchRequestBuilder) Filter(in string) *SearchRequestBuilder
func (*SearchRequestBuilder) From ¶
func (b *SearchRequestBuilder) From(in *SearchRequest) *SearchRequestBuilder
func (*SearchRequestBuilder) MustBuild ¶
func (b *SearchRequestBuilder) MustBuild() *SearchRequest
func (*SearchRequestBuilder) Schema ¶
func (b *SearchRequestBuilder) Schema(in string) *SearchRequestBuilder
func (*SearchRequestBuilder) Schemas ¶
func (b *SearchRequestBuilder) Schemas(in ...string) *SearchRequestBuilder
func (*SearchRequestBuilder) SetField ¶
func (b *SearchRequestBuilder) SetField(name string, value interface{}) *SearchRequestBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*SearchRequestBuilder) SortBy ¶
func (b *SearchRequestBuilder) SortBy(in string) *SearchRequestBuilder
func (*SearchRequestBuilder) SortOrder ¶
func (b *SearchRequestBuilder) SortOrder(in string) *SearchRequestBuilder
func (*SearchRequestBuilder) StartIndex ¶
func (b *SearchRequestBuilder) StartIndex(in int) *SearchRequestBuilder
type ServiceProviderConfig ¶
type ServiceProviderConfig struct {
// contains filtered or unexported fields
}
func (*ServiceProviderConfig) AsMap ¶
func (v *ServiceProviderConfig) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*ServiceProviderConfig) AuthenticationSchemes ¶
func (v *ServiceProviderConfig) AuthenticationSchemes() []*AuthenticationScheme
func (*ServiceProviderConfig) Bulk ¶
func (v *ServiceProviderConfig) Bulk() *BulkSupport
func (*ServiceProviderConfig) ChangePassword ¶
func (v *ServiceProviderConfig) ChangePassword() *GenericSupport
func (*ServiceProviderConfig) Clone ¶
func (v *ServiceProviderConfig) Clone(dst interface{}) error
func (*ServiceProviderConfig) DocumentationURI ¶
func (v *ServiceProviderConfig) DocumentationURI() string
func (*ServiceProviderConfig) ETag ¶
func (v *ServiceProviderConfig) ETag() *GenericSupport
func (*ServiceProviderConfig) Filter ¶
func (v *ServiceProviderConfig) Filter() *FilterSupport
func (*ServiceProviderConfig) Get ¶
func (v *ServiceProviderConfig) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*ServiceProviderConfig) GetExtension ¶
func (v *ServiceProviderConfig) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*ServiceProviderConfig) Has ¶
func (v *ServiceProviderConfig) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*ServiceProviderConfig) HasAuthenticationSchemes ¶
func (v *ServiceProviderConfig) HasAuthenticationSchemes() bool
HasAuthenticationSchemes returns true if the field `authenticationSchemes` has been populated
func (*ServiceProviderConfig) HasBulk ¶
func (v *ServiceProviderConfig) HasBulk() bool
HasBulk returns true if the field `bulk` has been populated
func (*ServiceProviderConfig) HasChangePassword ¶
func (v *ServiceProviderConfig) HasChangePassword() bool
HasChangePassword returns true if the field `changePassword` has been populated
func (*ServiceProviderConfig) HasDocumentationURI ¶
func (v *ServiceProviderConfig) HasDocumentationURI() bool
HasDocumentationURI returns true if the field `documentationUri` has been populated
func (*ServiceProviderConfig) HasETag ¶
func (v *ServiceProviderConfig) HasETag() bool
HasETag returns true if the field `etag` has been populated
func (*ServiceProviderConfig) HasFilter ¶
func (v *ServiceProviderConfig) HasFilter() bool
HasFilter returns true if the field `filter` has been populated
func (*ServiceProviderConfig) HasPatch ¶
func (v *ServiceProviderConfig) HasPatch() bool
HasPatch returns true if the field `patch` has been populated
func (*ServiceProviderConfig) HasSchemas ¶
func (v *ServiceProviderConfig) HasSchemas() bool
HasSchemas returns true if the field `schemas` has been populated
func (*ServiceProviderConfig) HasSort ¶
func (v *ServiceProviderConfig) HasSort() bool
HasSort returns true if the field `sort` has been populated
func (*ServiceProviderConfig) Keys ¶
func (v *ServiceProviderConfig) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*ServiceProviderConfig) MarshalJSON ¶
func (v *ServiceProviderConfig) MarshalJSON() ([]byte, error)
MarshalJSON serializes ServiceProviderConfig into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*ServiceProviderConfig) Patch ¶
func (v *ServiceProviderConfig) Patch() *GenericSupport
func (*ServiceProviderConfig) Remove ¶
func (v *ServiceProviderConfig) Remove(key string) error
Remove removes the value associated with a key
func (*ServiceProviderConfig) Schemas ¶
func (v *ServiceProviderConfig) Schemas() []string
func (*ServiceProviderConfig) Set ¶
func (v *ServiceProviderConfig) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*ServiceProviderConfig) Sort ¶
func (v *ServiceProviderConfig) Sort() *GenericSupport
func (*ServiceProviderConfig) UnmarshalJSON ¶
func (v *ServiceProviderConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into ServiceProviderConfig.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
type ServiceProviderConfigBuilder ¶
type ServiceProviderConfigBuilder struct {
// contains filtered or unexported fields
}
func NewServiceProviderConfigBuilder ¶
func NewServiceProviderConfigBuilder() *ServiceProviderConfigBuilder
NewServiceProviderConfigBuilder creates a new ServiceProviderConfigBuilder instance. ServiceProviderConfigBuilder is safe to be used uninitialized as well.
func (*ServiceProviderConfigBuilder) AuthenticationSchemes ¶
func (b *ServiceProviderConfigBuilder) AuthenticationSchemes(in ...*AuthenticationScheme) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) Build ¶
func (b *ServiceProviderConfigBuilder) Build() (*ServiceProviderConfig, error)
func (*ServiceProviderConfigBuilder) Bulk ¶
func (b *ServiceProviderConfigBuilder) Bulk(in *BulkSupport) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) ChangePassword ¶
func (b *ServiceProviderConfigBuilder) ChangePassword(in *GenericSupport) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) DocumentationURI ¶
func (b *ServiceProviderConfigBuilder) DocumentationURI(in string) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) ETag ¶
func (b *ServiceProviderConfigBuilder) ETag(in *GenericSupport) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) Extension ¶
func (b *ServiceProviderConfigBuilder) Extension(uri string, value interface{}) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) Filter ¶
func (b *ServiceProviderConfigBuilder) Filter(in *FilterSupport) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) From ¶
func (b *ServiceProviderConfigBuilder) From(in *ServiceProviderConfig) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) MustBuild ¶
func (b *ServiceProviderConfigBuilder) MustBuild() *ServiceProviderConfig
func (*ServiceProviderConfigBuilder) Patch ¶
func (b *ServiceProviderConfigBuilder) Patch(in *GenericSupport) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) Schemas ¶
func (b *ServiceProviderConfigBuilder) Schemas(in ...string) *ServiceProviderConfigBuilder
func (*ServiceProviderConfigBuilder) SetField ¶
func (b *ServiceProviderConfigBuilder) SetField(name string, value interface{}) *ServiceProviderConfigBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*ServiceProviderConfigBuilder) Sort ¶
func (b *ServiceProviderConfigBuilder) Sort(in *GenericSupport) *ServiceProviderConfigBuilder
type Uniqueness ¶
type Uniqueness string
const ( UniqNone Uniqueness = `none` UniqServer Uniqueness = `server` UniqGlobal Uniqueness = `global` )
type User ¶
type User struct {
// contains filtered or unexported fields
}
represents a User resource as defined in the SCIM RFC
func (*User) DisplayName ¶
func (*User) Entitlements ¶
func (v *User) Entitlements() []*Entitlement
func (*User) ExternalID ¶
func (*User) GetExtension ¶
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*User) Groups ¶
func (v *User) Groups() []*AssociatedGroup
func (*User) Has ¶
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*User) HasAddresses ¶
HasAddresses returns true if the field `addresses` has been populated
func (*User) HasDisplayName ¶
HasDisplayName returns true if the field `displayName` has been populated
func (*User) HasEntitlements ¶
HasEntitlements returns true if the field `entitlements` has been populated
func (*User) HasExternalID ¶
HasExternalID returns true if the field `externalId` has been populated
func (*User) HasNickName ¶
HasNickName returns true if the field `nickName` has been populated
func (*User) HasPassword ¶
HasPassword returns true if the field `password` has been populated
func (*User) HasPhoneNumbers ¶
HasPhoneNumbers returns true if the field `phoneNumbers` has been populated
func (*User) HasPreferredLanguage ¶
HasPreferredLanguage returns true if the field `preferredLanguage` has been populated
func (*User) HasProfileURL ¶
HasProfileURL returns true if the field `profileUrl` has been populated
func (*User) HasSchemas ¶
HasSchemas returns true if the field `schemas` has been populated
func (*User) HasTimezone ¶
HasTimezone returns true if the field `timezone` has been populated
func (*User) HasUserName ¶
HasUserName returns true if the field `userName` has been populated
func (*User) HasUserType ¶
HasUserType returns true if the field `userType` has been populated
func (*User) HasX509Certificates ¶
HasX509Certificates returns true if the field `x509Certificates` has been populated
func (*User) Keys ¶
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*User) MarshalJSON ¶
MarshalJSON serializes User into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*User) PhoneNumbers ¶
func (v *User) PhoneNumbers() []*PhoneNumber
func (*User) PreferredLanguage ¶
func (*User) ProfileURL ¶
func (*User) Set ¶
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*User) UnmarshalJSON ¶
UnmarshalJSON deserializes a piece of JSON data into User.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*User) X509Certificates ¶
func (v *User) X509Certificates() []*X509Certificate
type UserBuilder ¶
type UserBuilder struct {
// contains filtered or unexported fields
}
func NewUserBuilder ¶
func NewUserBuilder() *UserBuilder
NewUserBuilder creates a new UserBuilder instance. UserBuilder is safe to be used uninitialized as well.
func (*UserBuilder) Active ¶
func (b *UserBuilder) Active(in bool) *UserBuilder
func (*UserBuilder) Addresses ¶
func (b *UserBuilder) Addresses(in ...*Address) *UserBuilder
func (*UserBuilder) Build ¶
func (b *UserBuilder) Build() (*User, error)
func (*UserBuilder) DisplayName ¶
func (b *UserBuilder) DisplayName(in string) *UserBuilder
func (*UserBuilder) Emails ¶
func (b *UserBuilder) Emails(in ...*Email) *UserBuilder
func (*UserBuilder) Entitlements ¶
func (b *UserBuilder) Entitlements(in ...*Entitlement) *UserBuilder
func (*UserBuilder) Extension ¶
func (b *UserBuilder) Extension(uri string, value interface{}) *UserBuilder
func (*UserBuilder) ExternalID ¶
func (b *UserBuilder) ExternalID(in string) *UserBuilder
func (*UserBuilder) From ¶
func (b *UserBuilder) From(in *User) *UserBuilder
func (*UserBuilder) Groups ¶
func (b *UserBuilder) Groups(in ...*AssociatedGroup) *UserBuilder
func (*UserBuilder) ID ¶
func (b *UserBuilder) ID(in string) *UserBuilder
func (*UserBuilder) IMS ¶
func (b *UserBuilder) IMS(in ...*IMS) *UserBuilder
func (*UserBuilder) Locale ¶
func (b *UserBuilder) Locale(in string) *UserBuilder
func (*UserBuilder) Meta ¶
func (b *UserBuilder) Meta(in *Meta) *UserBuilder
func (*UserBuilder) MustBuild ¶
func (b *UserBuilder) MustBuild() *User
func (*UserBuilder) Name ¶
func (b *UserBuilder) Name(in *Names) *UserBuilder
func (*UserBuilder) NickName ¶
func (b *UserBuilder) NickName(in string) *UserBuilder
func (*UserBuilder) Password ¶
func (b *UserBuilder) Password(in string) *UserBuilder
func (*UserBuilder) PhoneNumbers ¶
func (b *UserBuilder) PhoneNumbers(in ...*PhoneNumber) *UserBuilder
func (*UserBuilder) Photos ¶
func (b *UserBuilder) Photos(in ...*Photo) *UserBuilder
func (*UserBuilder) PreferredLanguage ¶
func (b *UserBuilder) PreferredLanguage(in string) *UserBuilder
func (*UserBuilder) ProfileURL ¶
func (b *UserBuilder) ProfileURL(in string) *UserBuilder
func (*UserBuilder) Roles ¶
func (b *UserBuilder) Roles(in ...*Role) *UserBuilder
func (*UserBuilder) Schemas ¶
func (b *UserBuilder) Schemas(in ...string) *UserBuilder
func (*UserBuilder) SetField ¶
func (b *UserBuilder) SetField(name string, value interface{}) *UserBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*UserBuilder) Timezone ¶
func (b *UserBuilder) Timezone(in string) *UserBuilder
func (*UserBuilder) Title ¶
func (b *UserBuilder) Title(in string) *UserBuilder
func (*UserBuilder) UserName ¶
func (b *UserBuilder) UserName(in string) *UserBuilder
func (*UserBuilder) UserType ¶
func (b *UserBuilder) UserType(in string) *UserBuilder
func (*UserBuilder) X509Certificates ¶
func (b *UserBuilder) X509Certificates(in ...*X509Certificate) *UserBuilder
type X509Certificate ¶
type X509Certificate struct {
// contains filtered or unexported fields
}
func (*X509Certificate) AsMap ¶
func (v *X509Certificate) AsMap(m map[string]interface{}) error
AsMap returns the resource as a Go map
func (*X509Certificate) Clone ¶
func (v *X509Certificate) Clone(dst interface{}) error
func (*X509Certificate) Display ¶
func (v *X509Certificate) Display() string
func (*X509Certificate) Get ¶
func (v *X509Certificate) Get(key string, dst interface{}) error
Get retrieves the value associated with a key
func (*X509Certificate) GetExtension ¶
func (v *X509Certificate) GetExtension(name, uri string, dst interface{}) error
GetExtension takes into account extension uri, and fetches the specified attribute from the extension object
func (*X509Certificate) Has ¶
func (v *X509Certificate) Has(name string) bool
Has returns true if the field specified by the argument has been populated. The field name must be the JSON field name, not the Go-structure's field name.
func (*X509Certificate) HasDisplay ¶
func (v *X509Certificate) HasDisplay() bool
HasDisplay returns true if the field `display` has been populated
func (*X509Certificate) HasPrimary ¶
func (v *X509Certificate) HasPrimary() bool
HasPrimary returns true if the field `primary` has been populated
func (*X509Certificate) HasType ¶
func (v *X509Certificate) HasType() bool
HasType returns true if the field `type` has been populated
func (*X509Certificate) HasValue ¶
func (v *X509Certificate) HasValue() bool
HasValue returns true if the field `value` has been populated
func (*X509Certificate) Keys ¶
func (v *X509Certificate) Keys() []string
Keys returns a slice of string comprising of JSON field names whose values are present in the object.
func (*X509Certificate) MarshalJSON ¶
func (v *X509Certificate) MarshalJSON() ([]byte, error)
MarshalJSON serializes X509Certificate into JSON. All pre-declared fields are included as long as a value is assigned to them, as well as all extra fields. All of these fields are sorted in alphabetical order.
func (*X509Certificate) Primary ¶
func (v *X509Certificate) Primary() bool
func (*X509Certificate) Remove ¶
func (v *X509Certificate) Remove(key string) error
Remove removes the value associated with a key
func (*X509Certificate) Set ¶
func (v *X509Certificate) Set(key string, value interface{}) error
Set sets the value of the specified field. The name must be a JSON field name, not the Go name
func (*X509Certificate) Type ¶
func (v *X509Certificate) Type() string
func (*X509Certificate) UnmarshalJSON ¶
func (v *X509Certificate) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes a piece of JSON data into X509Certificate.
Pre-defined fields must be deserializable via "encoding/json" to their respective Go types, otherwise an error is returned.
Extra fields are stored in a special "extra" storage, which can only be accessed via `Get()` and `Set()` methods.
func (*X509Certificate) Value ¶
func (v *X509Certificate) Value() string
type X509CertificateBuilder ¶
type X509CertificateBuilder struct {
// contains filtered or unexported fields
}
func NewX509CertificateBuilder ¶
func NewX509CertificateBuilder() *X509CertificateBuilder
NewX509CertificateBuilder creates a new X509CertificateBuilder instance. X509CertificateBuilder is safe to be used uninitialized as well.
func (*X509CertificateBuilder) Build ¶
func (b *X509CertificateBuilder) Build() (*X509Certificate, error)
func (*X509CertificateBuilder) Display ¶
func (b *X509CertificateBuilder) Display(in string) *X509CertificateBuilder
func (*X509CertificateBuilder) From ¶
func (b *X509CertificateBuilder) From(in *X509Certificate) *X509CertificateBuilder
func (*X509CertificateBuilder) MustBuild ¶
func (b *X509CertificateBuilder) MustBuild() *X509Certificate
func (*X509CertificateBuilder) Primary ¶
func (b *X509CertificateBuilder) Primary(in bool) *X509CertificateBuilder
func (*X509CertificateBuilder) SetField ¶
func (b *X509CertificateBuilder) SetField(name string, value interface{}) *X509CertificateBuilder
SetField sets the value of any field. The name should be the JSON field name. Type check will only be performed for pre-defined types
func (*X509CertificateBuilder) Type ¶
func (b *X509CertificateBuilder) Type(in string) *X509CertificateBuilder
func (*X509CertificateBuilder) Value ¶
func (b *X509CertificateBuilder) Value(in string) *X509CertificateBuilder
Source Files ¶
- address_gen.go
- associated_group_gen.go
- authentication_scheme_gen.go
- bulk_support_gen.go
- datetime.go
- email_gen.go
- enterprise_manager_gen.go
- enterprise_user_gen.go
- entitlement_gen.go
- error.go
- error_gen.go
- filter_support_gen.go
- generic_support_gen.go
- group.go
- group_gen.go
- group_member_gen.go
- ims_gen.go
- list_response.go
- list_response_gen.go
- meta_gen.go
- names_gen.go
- options_gen.go
- partial_resource_representation_request_gen.go
- patch_operation.go
- patch_operation_gen.go
- patch_request_gen.go
- phone_number.go
- phone_number_gen.go
- photo_gen.go
- registry.go
- resource.go
- resource_type_gen.go
- role_gen.go
- schema.go
- schema_attribute.go
- schema_attribute_gen.go
- schema_extension_gen.go
- schema_gen.go
- search_request_gen.go
- service_provider_config_gen.go
- sketch_gen.go
- user_gen.go
- x_509_certificate_gen.go