Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiDeleteCrmV3SchemasObjectTypeArchiveRequest
- type ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest
- type ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest
- type ApiGetCrmV3SchemasGetAllRequest
- type ApiGetCrmV3SchemasObjectTypeGetByIdRequest
- type ApiPatchCrmV3SchemasObjectTypeUpdateRequest
- type ApiPostCrmV3SchemasCreateRequest
- type ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
- func (r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) AssociationDefinitionEgg(associationDefinitionEgg AssociationDefinitionEgg) ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
- func (r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) Execute() (*AssociationDefinition, *http.Response, error)
- type AssociationDefinition
- func (o *AssociationDefinition) GetCreatedAt() time.Time
- func (o *AssociationDefinition) GetCreatedAtOk() (*time.Time, bool)
- func (o *AssociationDefinition) GetFromObjectTypeId() string
- func (o *AssociationDefinition) GetFromObjectTypeIdOk() (*string, bool)
- func (o *AssociationDefinition) GetId() string
- func (o *AssociationDefinition) GetIdOk() (*string, bool)
- func (o *AssociationDefinition) GetName() string
- func (o *AssociationDefinition) GetNameOk() (*string, bool)
- func (o *AssociationDefinition) GetToObjectTypeId() string
- func (o *AssociationDefinition) GetToObjectTypeIdOk() (*string, bool)
- func (o *AssociationDefinition) GetUpdatedAt() time.Time
- func (o *AssociationDefinition) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AssociationDefinition) HasCreatedAt() bool
- func (o *AssociationDefinition) HasName() bool
- func (o *AssociationDefinition) HasUpdatedAt() bool
- func (o AssociationDefinition) MarshalJSON() ([]byte, error)
- func (o *AssociationDefinition) SetCreatedAt(v time.Time)
- func (o *AssociationDefinition) SetFromObjectTypeId(v string)
- func (o *AssociationDefinition) SetId(v string)
- func (o *AssociationDefinition) SetName(v string)
- func (o *AssociationDefinition) SetToObjectTypeId(v string)
- func (o *AssociationDefinition) SetUpdatedAt(v time.Time)
- type AssociationDefinitionEgg
- func (o *AssociationDefinitionEgg) GetFromObjectTypeId() string
- func (o *AssociationDefinitionEgg) GetFromObjectTypeIdOk() (*string, bool)
- func (o *AssociationDefinitionEgg) GetName() string
- func (o *AssociationDefinitionEgg) GetNameOk() (*string, bool)
- func (o *AssociationDefinitionEgg) GetToObjectTypeId() string
- func (o *AssociationDefinitionEgg) GetToObjectTypeIdOk() (*string, bool)
- func (o *AssociationDefinitionEgg) HasName() bool
- func (o AssociationDefinitionEgg) MarshalJSON() ([]byte, error)
- func (o *AssociationDefinitionEgg) SetFromObjectTypeId(v string)
- func (o *AssociationDefinitionEgg) SetName(v string)
- func (o *AssociationDefinitionEgg) SetToObjectTypeId(v string)
- type BasicAuth
- type CollectionResponseObjectSchemaNoPaging
- func (o *CollectionResponseObjectSchemaNoPaging) GetResults() []ObjectSchema
- func (o *CollectionResponseObjectSchemaNoPaging) GetResultsOk() ([]ObjectSchema, bool)
- func (o CollectionResponseObjectSchemaNoPaging) MarshalJSON() ([]byte, error)
- func (o *CollectionResponseObjectSchemaNoPaging) SetResults(v []ObjectSchema)
- type Configuration
- type CoreApiService
- func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeArchive(ctx context.Context, objectType string) ApiDeleteCrmV3SchemasObjectTypeArchiveRequest
- func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeArchiveExecute(r ApiDeleteCrmV3SchemasObjectTypeArchiveRequest) (*http.Response, error)
- func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociation(ctx context.Context, objectType string, associationIdentifier string) ...
- func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationExecute(...) (*http.Response, error)
- func (a *CoreApiService) GetCrmV3SchemasGetAll(ctx context.Context) ApiGetCrmV3SchemasGetAllRequest
- func (a *CoreApiService) GetCrmV3SchemasGetAllExecute(r ApiGetCrmV3SchemasGetAllRequest) (*CollectionResponseObjectSchemaNoPaging, *http.Response, error)
- func (a *CoreApiService) GetCrmV3SchemasObjectTypeGetById(ctx context.Context, objectType string) ApiGetCrmV3SchemasObjectTypeGetByIdRequest
- func (a *CoreApiService) GetCrmV3SchemasObjectTypeGetByIdExecute(r ApiGetCrmV3SchemasObjectTypeGetByIdRequest) (*ObjectSchema, *http.Response, error)
- func (a *CoreApiService) PatchCrmV3SchemasObjectTypeUpdate(ctx context.Context, objectType string) ApiPatchCrmV3SchemasObjectTypeUpdateRequest
- func (a *CoreApiService) PatchCrmV3SchemasObjectTypeUpdateExecute(r ApiPatchCrmV3SchemasObjectTypeUpdateRequest) (*ObjectTypeDefinition, *http.Response, error)
- func (a *CoreApiService) PostCrmV3SchemasCreate(ctx context.Context) ApiPostCrmV3SchemasCreateRequest
- func (a *CoreApiService) PostCrmV3SchemasCreateExecute(r ApiPostCrmV3SchemasCreateRequest) (*ObjectSchema, *http.Response, error)
- func (a *CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociation(ctx context.Context, objectType string) ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
- func (a *CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociationExecute(r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) (*AssociationDefinition, *http.Response, error)
- type Error
- func (o *Error) GetCategory() string
- func (o *Error) GetCategoryOk() (*string, bool)
- func (o *Error) GetContext() map[string][]string
- func (o *Error) GetContextOk() (*map[string][]string, bool)
- func (o *Error) GetCorrelationId() string
- func (o *Error) GetCorrelationIdOk() (*string, bool)
- func (o *Error) GetErrors() []ErrorDetail
- func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)
- func (o *Error) GetLinks() map[string]string
- func (o *Error) GetLinksOk() (*map[string]string, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetSubCategory() string
- func (o *Error) GetSubCategoryOk() (*string, bool)
- func (o *Error) HasContext() bool
- func (o *Error) HasErrors() bool
- func (o *Error) HasLinks() bool
- func (o *Error) HasSubCategory() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCategory(v string)
- func (o *Error) SetContext(v map[string][]string)
- func (o *Error) SetCorrelationId(v string)
- func (o *Error) SetErrors(v []ErrorDetail)
- func (o *Error) SetLinks(v map[string]string)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetSubCategory(v string)
- type ErrorDetail
- func (o *ErrorDetail) GetCode() string
- func (o *ErrorDetail) GetCodeOk() (*string, bool)
- func (o *ErrorDetail) GetContext() map[string][]string
- func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)
- func (o *ErrorDetail) GetIn() string
- func (o *ErrorDetail) GetInOk() (*string, bool)
- func (o *ErrorDetail) GetMessage() string
- func (o *ErrorDetail) GetMessageOk() (*string, bool)
- func (o *ErrorDetail) GetSubCategory() string
- func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)
- func (o *ErrorDetail) HasCode() bool
- func (o *ErrorDetail) HasContext() bool
- func (o *ErrorDetail) HasIn() bool
- func (o *ErrorDetail) HasSubCategory() bool
- func (o ErrorDetail) MarshalJSON() ([]byte, error)
- func (o *ErrorDetail) SetCode(v string)
- func (o *ErrorDetail) SetContext(v map[string][]string)
- func (o *ErrorDetail) SetIn(v string)
- func (o *ErrorDetail) SetMessage(v string)
- func (o *ErrorDetail) SetSubCategory(v string)
- type GenericOpenAPIError
- type NullableAssociationDefinition
- func (v NullableAssociationDefinition) Get() *AssociationDefinition
- func (v NullableAssociationDefinition) IsSet() bool
- func (v NullableAssociationDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableAssociationDefinition) Set(val *AssociationDefinition)
- func (v *NullableAssociationDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableAssociationDefinition) Unset()
- type NullableAssociationDefinitionEgg
- func (v NullableAssociationDefinitionEgg) Get() *AssociationDefinitionEgg
- func (v NullableAssociationDefinitionEgg) IsSet() bool
- func (v NullableAssociationDefinitionEgg) MarshalJSON() ([]byte, error)
- func (v *NullableAssociationDefinitionEgg) Set(val *AssociationDefinitionEgg)
- func (v *NullableAssociationDefinitionEgg) UnmarshalJSON(src []byte) error
- func (v *NullableAssociationDefinitionEgg) Unset()
- type NullableBool
- type NullableCollectionResponseObjectSchemaNoPaging
- func (v NullableCollectionResponseObjectSchemaNoPaging) Get() *CollectionResponseObjectSchemaNoPaging
- func (v NullableCollectionResponseObjectSchemaNoPaging) IsSet() bool
- func (v NullableCollectionResponseObjectSchemaNoPaging) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionResponseObjectSchemaNoPaging) Set(val *CollectionResponseObjectSchemaNoPaging)
- func (v *NullableCollectionResponseObjectSchemaNoPaging) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionResponseObjectSchemaNoPaging) Unset()
- type NullableError
- type NullableErrorDetail
- func (v NullableErrorDetail) Get() *ErrorDetail
- func (v NullableErrorDetail) IsSet() bool
- func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDetail) Set(val *ErrorDetail)
- func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDetail) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableObjectSchema
- func (v NullableObjectSchema) Get() *ObjectSchema
- func (v NullableObjectSchema) IsSet() bool
- func (v NullableObjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableObjectSchema) Set(val *ObjectSchema)
- func (v *NullableObjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableObjectSchema) Unset()
- type NullableObjectSchemaEgg
- func (v NullableObjectSchemaEgg) Get() *ObjectSchemaEgg
- func (v NullableObjectSchemaEgg) IsSet() bool
- func (v NullableObjectSchemaEgg) MarshalJSON() ([]byte, error)
- func (v *NullableObjectSchemaEgg) Set(val *ObjectSchemaEgg)
- func (v *NullableObjectSchemaEgg) UnmarshalJSON(src []byte) error
- func (v *NullableObjectSchemaEgg) Unset()
- type NullableObjectTypeDefinition
- func (v NullableObjectTypeDefinition) Get() *ObjectTypeDefinition
- func (v NullableObjectTypeDefinition) IsSet() bool
- func (v NullableObjectTypeDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableObjectTypeDefinition) Set(val *ObjectTypeDefinition)
- func (v *NullableObjectTypeDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableObjectTypeDefinition) Unset()
- type NullableObjectTypeDefinitionLabels
- func (v NullableObjectTypeDefinitionLabels) Get() *ObjectTypeDefinitionLabels
- func (v NullableObjectTypeDefinitionLabels) IsSet() bool
- func (v NullableObjectTypeDefinitionLabels) MarshalJSON() ([]byte, error)
- func (v *NullableObjectTypeDefinitionLabels) Set(val *ObjectTypeDefinitionLabels)
- func (v *NullableObjectTypeDefinitionLabels) UnmarshalJSON(src []byte) error
- func (v *NullableObjectTypeDefinitionLabels) Unset()
- type NullableObjectTypeDefinitionPatch
- func (v NullableObjectTypeDefinitionPatch) Get() *ObjectTypeDefinitionPatch
- func (v NullableObjectTypeDefinitionPatch) IsSet() bool
- func (v NullableObjectTypeDefinitionPatch) MarshalJSON() ([]byte, error)
- func (v *NullableObjectTypeDefinitionPatch) Set(val *ObjectTypeDefinitionPatch)
- func (v *NullableObjectTypeDefinitionPatch) UnmarshalJSON(src []byte) error
- func (v *NullableObjectTypeDefinitionPatch) Unset()
- type NullableObjectTypePropertyCreate
- func (v NullableObjectTypePropertyCreate) Get() *ObjectTypePropertyCreate
- func (v NullableObjectTypePropertyCreate) IsSet() bool
- func (v NullableObjectTypePropertyCreate) MarshalJSON() ([]byte, error)
- func (v *NullableObjectTypePropertyCreate) Set(val *ObjectTypePropertyCreate)
- func (v *NullableObjectTypePropertyCreate) UnmarshalJSON(src []byte) error
- func (v *NullableObjectTypePropertyCreate) Unset()
- type NullableOption
- type NullableOptionInput
- func (v NullableOptionInput) Get() *OptionInput
- func (v NullableOptionInput) IsSet() bool
- func (v NullableOptionInput) MarshalJSON() ([]byte, error)
- func (v *NullableOptionInput) Set(val *OptionInput)
- func (v *NullableOptionInput) UnmarshalJSON(src []byte) error
- func (v *NullableOptionInput) Unset()
- type NullableProperty
- type NullablePropertyModificationMetadata
- func (v NullablePropertyModificationMetadata) Get() *PropertyModificationMetadata
- func (v NullablePropertyModificationMetadata) IsSet() bool
- func (v NullablePropertyModificationMetadata) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyModificationMetadata) Set(val *PropertyModificationMetadata)
- func (v *NullablePropertyModificationMetadata) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyModificationMetadata) Unset()
- type NullableString
- type NullableTime
- type ObjectSchema
- func (o *ObjectSchema) GetArchived() bool
- func (o *ObjectSchema) GetArchivedOk() (*bool, bool)
- func (o *ObjectSchema) GetAssociations() []AssociationDefinition
- func (o *ObjectSchema) GetAssociationsOk() ([]AssociationDefinition, bool)
- func (o *ObjectSchema) GetCreatedAt() time.Time
- func (o *ObjectSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *ObjectSchema) GetDescription() string
- func (o *ObjectSchema) GetDescriptionOk() (*string, bool)
- func (o *ObjectSchema) GetFullyQualifiedName() string
- func (o *ObjectSchema) GetFullyQualifiedNameOk() (*string, bool)
- func (o *ObjectSchema) GetId() string
- func (o *ObjectSchema) GetIdOk() (*string, bool)
- func (o *ObjectSchema) GetLabels() ObjectTypeDefinitionLabels
- func (o *ObjectSchema) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
- func (o *ObjectSchema) GetName() string
- func (o *ObjectSchema) GetNameOk() (*string, bool)
- func (o *ObjectSchema) GetObjectTypeId() string
- func (o *ObjectSchema) GetObjectTypeIdOk() (*string, bool)
- func (o *ObjectSchema) GetPrimaryDisplayProperty() string
- func (o *ObjectSchema) GetPrimaryDisplayPropertyOk() (*string, bool)
- func (o *ObjectSchema) GetProperties() []Property
- func (o *ObjectSchema) GetPropertiesOk() ([]Property, bool)
- func (o *ObjectSchema) GetRequiredProperties() []string
- func (o *ObjectSchema) GetRequiredPropertiesOk() ([]string, bool)
- func (o *ObjectSchema) GetSearchableProperties() []string
- func (o *ObjectSchema) GetSearchablePropertiesOk() ([]string, bool)
- func (o *ObjectSchema) GetSecondaryDisplayProperties() []string
- func (o *ObjectSchema) GetSecondaryDisplayPropertiesOk() ([]string, bool)
- func (o *ObjectSchema) GetUpdatedAt() time.Time
- func (o *ObjectSchema) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ObjectSchema) HasArchived() bool
- func (o *ObjectSchema) HasCreatedAt() bool
- func (o *ObjectSchema) HasDescription() bool
- func (o *ObjectSchema) HasFullyQualifiedName() bool
- func (o *ObjectSchema) HasObjectTypeId() bool
- func (o *ObjectSchema) HasPrimaryDisplayProperty() bool
- func (o *ObjectSchema) HasSearchableProperties() bool
- func (o *ObjectSchema) HasSecondaryDisplayProperties() bool
- func (o *ObjectSchema) HasUpdatedAt() bool
- func (o ObjectSchema) MarshalJSON() ([]byte, error)
- func (o *ObjectSchema) SetArchived(v bool)
- func (o *ObjectSchema) SetAssociations(v []AssociationDefinition)
- func (o *ObjectSchema) SetCreatedAt(v time.Time)
- func (o *ObjectSchema) SetDescription(v string)
- func (o *ObjectSchema) SetFullyQualifiedName(v string)
- func (o *ObjectSchema) SetId(v string)
- func (o *ObjectSchema) SetLabels(v ObjectTypeDefinitionLabels)
- func (o *ObjectSchema) SetName(v string)
- func (o *ObjectSchema) SetObjectTypeId(v string)
- func (o *ObjectSchema) SetPrimaryDisplayProperty(v string)
- func (o *ObjectSchema) SetProperties(v []Property)
- func (o *ObjectSchema) SetRequiredProperties(v []string)
- func (o *ObjectSchema) SetSearchableProperties(v []string)
- func (o *ObjectSchema) SetSecondaryDisplayProperties(v []string)
- func (o *ObjectSchema) SetUpdatedAt(v time.Time)
- type ObjectSchemaEgg
- func (o *ObjectSchemaEgg) GetAssociatedObjects() []string
- func (o *ObjectSchemaEgg) GetAssociatedObjectsOk() ([]string, bool)
- func (o *ObjectSchemaEgg) GetDescription() string
- func (o *ObjectSchemaEgg) GetDescriptionOk() (*string, bool)
- func (o *ObjectSchemaEgg) GetLabels() ObjectTypeDefinitionLabels
- func (o *ObjectSchemaEgg) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
- func (o *ObjectSchemaEgg) GetName() string
- func (o *ObjectSchemaEgg) GetNameOk() (*string, bool)
- func (o *ObjectSchemaEgg) GetPrimaryDisplayProperty() string
- func (o *ObjectSchemaEgg) GetPrimaryDisplayPropertyOk() (*string, bool)
- func (o *ObjectSchemaEgg) GetProperties() []ObjectTypePropertyCreate
- func (o *ObjectSchemaEgg) GetPropertiesOk() ([]ObjectTypePropertyCreate, bool)
- func (o *ObjectSchemaEgg) GetRequiredProperties() []string
- func (o *ObjectSchemaEgg) GetRequiredPropertiesOk() ([]string, bool)
- func (o *ObjectSchemaEgg) GetSearchableProperties() []string
- func (o *ObjectSchemaEgg) GetSearchablePropertiesOk() ([]string, bool)
- func (o *ObjectSchemaEgg) GetSecondaryDisplayProperties() []string
- func (o *ObjectSchemaEgg) GetSecondaryDisplayPropertiesOk() ([]string, bool)
- func (o *ObjectSchemaEgg) HasDescription() bool
- func (o *ObjectSchemaEgg) HasPrimaryDisplayProperty() bool
- func (o *ObjectSchemaEgg) HasSearchableProperties() bool
- func (o *ObjectSchemaEgg) HasSecondaryDisplayProperties() bool
- func (o ObjectSchemaEgg) MarshalJSON() ([]byte, error)
- func (o *ObjectSchemaEgg) SetAssociatedObjects(v []string)
- func (o *ObjectSchemaEgg) SetDescription(v string)
- func (o *ObjectSchemaEgg) SetLabels(v ObjectTypeDefinitionLabels)
- func (o *ObjectSchemaEgg) SetName(v string)
- func (o *ObjectSchemaEgg) SetPrimaryDisplayProperty(v string)
- func (o *ObjectSchemaEgg) SetProperties(v []ObjectTypePropertyCreate)
- func (o *ObjectSchemaEgg) SetRequiredProperties(v []string)
- func (o *ObjectSchemaEgg) SetSearchableProperties(v []string)
- func (o *ObjectSchemaEgg) SetSecondaryDisplayProperties(v []string)
- type ObjectTypeDefinition
- func (o *ObjectTypeDefinition) GetArchived() bool
- func (o *ObjectTypeDefinition) GetArchivedOk() (*bool, bool)
- func (o *ObjectTypeDefinition) GetCreatedAt() time.Time
- func (o *ObjectTypeDefinition) GetCreatedAtOk() (*time.Time, bool)
- func (o *ObjectTypeDefinition) GetDescription() string
- func (o *ObjectTypeDefinition) GetDescriptionOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetFullyQualifiedName() string
- func (o *ObjectTypeDefinition) GetFullyQualifiedNameOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetId() string
- func (o *ObjectTypeDefinition) GetIdOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetLabels() ObjectTypeDefinitionLabels
- func (o *ObjectTypeDefinition) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
- func (o *ObjectTypeDefinition) GetName() string
- func (o *ObjectTypeDefinition) GetNameOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetObjectTypeId() string
- func (o *ObjectTypeDefinition) GetObjectTypeIdOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetPortalId() int32
- func (o *ObjectTypeDefinition) GetPortalIdOk() (*int32, bool)
- func (o *ObjectTypeDefinition) GetPrimaryDisplayProperty() string
- func (o *ObjectTypeDefinition) GetPrimaryDisplayPropertyOk() (*string, bool)
- func (o *ObjectTypeDefinition) GetRequiredProperties() []string
- func (o *ObjectTypeDefinition) GetRequiredPropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinition) GetSearchableProperties() []string
- func (o *ObjectTypeDefinition) GetSearchablePropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinition) GetSecondaryDisplayProperties() []string
- func (o *ObjectTypeDefinition) GetSecondaryDisplayPropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinition) GetUpdatedAt() time.Time
- func (o *ObjectTypeDefinition) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ObjectTypeDefinition) HasArchived() bool
- func (o *ObjectTypeDefinition) HasCreatedAt() bool
- func (o *ObjectTypeDefinition) HasDescription() bool
- func (o *ObjectTypeDefinition) HasFullyQualifiedName() bool
- func (o *ObjectTypeDefinition) HasObjectTypeId() bool
- func (o *ObjectTypeDefinition) HasPortalId() bool
- func (o *ObjectTypeDefinition) HasPrimaryDisplayProperty() bool
- func (o *ObjectTypeDefinition) HasSearchableProperties() bool
- func (o *ObjectTypeDefinition) HasSecondaryDisplayProperties() bool
- func (o *ObjectTypeDefinition) HasUpdatedAt() bool
- func (o ObjectTypeDefinition) MarshalJSON() ([]byte, error)
- func (o *ObjectTypeDefinition) SetArchived(v bool)
- func (o *ObjectTypeDefinition) SetCreatedAt(v time.Time)
- func (o *ObjectTypeDefinition) SetDescription(v string)
- func (o *ObjectTypeDefinition) SetFullyQualifiedName(v string)
- func (o *ObjectTypeDefinition) SetId(v string)
- func (o *ObjectTypeDefinition) SetLabels(v ObjectTypeDefinitionLabels)
- func (o *ObjectTypeDefinition) SetName(v string)
- func (o *ObjectTypeDefinition) SetObjectTypeId(v string)
- func (o *ObjectTypeDefinition) SetPortalId(v int32)
- func (o *ObjectTypeDefinition) SetPrimaryDisplayProperty(v string)
- func (o *ObjectTypeDefinition) SetRequiredProperties(v []string)
- func (o *ObjectTypeDefinition) SetSearchableProperties(v []string)
- func (o *ObjectTypeDefinition) SetSecondaryDisplayProperties(v []string)
- func (o *ObjectTypeDefinition) SetUpdatedAt(v time.Time)
- type ObjectTypeDefinitionLabels
- func (o *ObjectTypeDefinitionLabels) GetPlural() string
- func (o *ObjectTypeDefinitionLabels) GetPluralOk() (*string, bool)
- func (o *ObjectTypeDefinitionLabels) GetSingular() string
- func (o *ObjectTypeDefinitionLabels) GetSingularOk() (*string, bool)
- func (o *ObjectTypeDefinitionLabels) HasPlural() bool
- func (o *ObjectTypeDefinitionLabels) HasSingular() bool
- func (o ObjectTypeDefinitionLabels) MarshalJSON() ([]byte, error)
- func (o *ObjectTypeDefinitionLabels) SetPlural(v string)
- func (o *ObjectTypeDefinitionLabels) SetSingular(v string)
- type ObjectTypeDefinitionPatch
- func (o *ObjectTypeDefinitionPatch) GetDescription() string
- func (o *ObjectTypeDefinitionPatch) GetDescriptionOk() (*string, bool)
- func (o *ObjectTypeDefinitionPatch) GetLabels() ObjectTypeDefinitionLabels
- func (o *ObjectTypeDefinitionPatch) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
- func (o *ObjectTypeDefinitionPatch) GetPrimaryDisplayProperty() string
- func (o *ObjectTypeDefinitionPatch) GetPrimaryDisplayPropertyOk() (*string, bool)
- func (o *ObjectTypeDefinitionPatch) GetRequiredProperties() []string
- func (o *ObjectTypeDefinitionPatch) GetRequiredPropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinitionPatch) GetRestorable() bool
- func (o *ObjectTypeDefinitionPatch) GetRestorableOk() (*bool, bool)
- func (o *ObjectTypeDefinitionPatch) GetSearchableProperties() []string
- func (o *ObjectTypeDefinitionPatch) GetSearchablePropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinitionPatch) GetSecondaryDisplayProperties() []string
- func (o *ObjectTypeDefinitionPatch) GetSecondaryDisplayPropertiesOk() ([]string, bool)
- func (o *ObjectTypeDefinitionPatch) HasDescription() bool
- func (o *ObjectTypeDefinitionPatch) HasLabels() bool
- func (o *ObjectTypeDefinitionPatch) HasPrimaryDisplayProperty() bool
- func (o *ObjectTypeDefinitionPatch) HasRequiredProperties() bool
- func (o *ObjectTypeDefinitionPatch) HasRestorable() bool
- func (o *ObjectTypeDefinitionPatch) HasSearchableProperties() bool
- func (o *ObjectTypeDefinitionPatch) HasSecondaryDisplayProperties() bool
- func (o ObjectTypeDefinitionPatch) MarshalJSON() ([]byte, error)
- func (o *ObjectTypeDefinitionPatch) SetDescription(v string)
- func (o *ObjectTypeDefinitionPatch) SetLabels(v ObjectTypeDefinitionLabels)
- func (o *ObjectTypeDefinitionPatch) SetPrimaryDisplayProperty(v string)
- func (o *ObjectTypeDefinitionPatch) SetRequiredProperties(v []string)
- func (o *ObjectTypeDefinitionPatch) SetRestorable(v bool)
- func (o *ObjectTypeDefinitionPatch) SetSearchableProperties(v []string)
- func (o *ObjectTypeDefinitionPatch) SetSecondaryDisplayProperties(v []string)
- type ObjectTypePropertyCreate
- func (o *ObjectTypePropertyCreate) GetDescription() string
- func (o *ObjectTypePropertyCreate) GetDescriptionOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetDisplayOrder() int32
- func (o *ObjectTypePropertyCreate) GetDisplayOrderOk() (*int32, bool)
- func (o *ObjectTypePropertyCreate) GetFieldType() string
- func (o *ObjectTypePropertyCreate) GetFieldTypeOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetFormField() bool
- func (o *ObjectTypePropertyCreate) GetFormFieldOk() (*bool, bool)
- func (o *ObjectTypePropertyCreate) GetGroupName() string
- func (o *ObjectTypePropertyCreate) GetGroupNameOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetHasUniqueValue() bool
- func (o *ObjectTypePropertyCreate) GetHasUniqueValueOk() (*bool, bool)
- func (o *ObjectTypePropertyCreate) GetHidden() bool
- func (o *ObjectTypePropertyCreate) GetHiddenOk() (*bool, bool)
- func (o *ObjectTypePropertyCreate) GetLabel() string
- func (o *ObjectTypePropertyCreate) GetLabelOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetName() string
- func (o *ObjectTypePropertyCreate) GetNameOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetNumberDisplayHint() string
- func (o *ObjectTypePropertyCreate) GetNumberDisplayHintOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetOptionSortStrategy() string
- func (o *ObjectTypePropertyCreate) GetOptionSortStrategyOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetOptions() []OptionInput
- func (o *ObjectTypePropertyCreate) GetOptionsOk() ([]OptionInput, bool)
- func (o *ObjectTypePropertyCreate) GetReferencedObjectType() string
- func (o *ObjectTypePropertyCreate) GetReferencedObjectTypeOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetSearchableInGlobalSearch() bool
- func (o *ObjectTypePropertyCreate) GetSearchableInGlobalSearchOk() (*bool, bool)
- func (o *ObjectTypePropertyCreate) GetShowCurrencySymbol() bool
- func (o *ObjectTypePropertyCreate) GetShowCurrencySymbolOk() (*bool, bool)
- func (o *ObjectTypePropertyCreate) GetTextDisplayHint() string
- func (o *ObjectTypePropertyCreate) GetTextDisplayHintOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) GetType() string
- func (o *ObjectTypePropertyCreate) GetTypeOk() (*string, bool)
- func (o *ObjectTypePropertyCreate) HasDescription() bool
- func (o *ObjectTypePropertyCreate) HasDisplayOrder() bool
- func (o *ObjectTypePropertyCreate) HasFormField() bool
- func (o *ObjectTypePropertyCreate) HasGroupName() bool
- func (o *ObjectTypePropertyCreate) HasHasUniqueValue() bool
- func (o *ObjectTypePropertyCreate) HasHidden() bool
- func (o *ObjectTypePropertyCreate) HasNumberDisplayHint() bool
- func (o *ObjectTypePropertyCreate) HasOptionSortStrategy() bool
- func (o *ObjectTypePropertyCreate) HasOptions() bool
- func (o *ObjectTypePropertyCreate) HasReferencedObjectType() bool
- func (o *ObjectTypePropertyCreate) HasSearchableInGlobalSearch() bool
- func (o *ObjectTypePropertyCreate) HasShowCurrencySymbol() bool
- func (o *ObjectTypePropertyCreate) HasTextDisplayHint() bool
- func (o ObjectTypePropertyCreate) MarshalJSON() ([]byte, error)
- func (o *ObjectTypePropertyCreate) SetDescription(v string)
- func (o *ObjectTypePropertyCreate) SetDisplayOrder(v int32)
- func (o *ObjectTypePropertyCreate) SetFieldType(v string)
- func (o *ObjectTypePropertyCreate) SetFormField(v bool)
- func (o *ObjectTypePropertyCreate) SetGroupName(v string)
- func (o *ObjectTypePropertyCreate) SetHasUniqueValue(v bool)
- func (o *ObjectTypePropertyCreate) SetHidden(v bool)
- func (o *ObjectTypePropertyCreate) SetLabel(v string)
- func (o *ObjectTypePropertyCreate) SetName(v string)
- func (o *ObjectTypePropertyCreate) SetNumberDisplayHint(v string)
- func (o *ObjectTypePropertyCreate) SetOptionSortStrategy(v string)
- func (o *ObjectTypePropertyCreate) SetOptions(v []OptionInput)
- func (o *ObjectTypePropertyCreate) SetReferencedObjectType(v string)
- func (o *ObjectTypePropertyCreate) SetSearchableInGlobalSearch(v bool)
- func (o *ObjectTypePropertyCreate) SetShowCurrencySymbol(v bool)
- func (o *ObjectTypePropertyCreate) SetTextDisplayHint(v string)
- func (o *ObjectTypePropertyCreate) SetType(v string)
- type Option
- func (o *Option) GetDescription() string
- func (o *Option) GetDescriptionOk() (*string, bool)
- func (o *Option) GetDisplayOrder() int32
- func (o *Option) GetDisplayOrderOk() (*int32, bool)
- func (o *Option) GetHidden() bool
- func (o *Option) GetHiddenOk() (*bool, bool)
- func (o *Option) GetLabel() string
- func (o *Option) GetLabelOk() (*string, bool)
- func (o *Option) GetValue() string
- func (o *Option) GetValueOk() (*string, bool)
- func (o *Option) HasDescription() bool
- func (o *Option) HasDisplayOrder() bool
- func (o Option) MarshalJSON() ([]byte, error)
- func (o *Option) SetDescription(v string)
- func (o *Option) SetDisplayOrder(v int32)
- func (o *Option) SetHidden(v bool)
- func (o *Option) SetLabel(v string)
- func (o *Option) SetValue(v string)
- type OptionInput
- func (o *OptionInput) GetDescription() string
- func (o *OptionInput) GetDescriptionOk() (*string, bool)
- func (o *OptionInput) GetDisplayOrder() int32
- func (o *OptionInput) GetDisplayOrderOk() (*int32, bool)
- func (o *OptionInput) GetHidden() bool
- func (o *OptionInput) GetHiddenOk() (*bool, bool)
- func (o *OptionInput) GetLabel() string
- func (o *OptionInput) GetLabelOk() (*string, bool)
- func (o *OptionInput) GetValue() string
- func (o *OptionInput) GetValueOk() (*string, bool)
- func (o *OptionInput) HasDescription() bool
- func (o OptionInput) MarshalJSON() ([]byte, error)
- func (o *OptionInput) SetDescription(v string)
- func (o *OptionInput) SetDisplayOrder(v int32)
- func (o *OptionInput) SetHidden(v bool)
- func (o *OptionInput) SetLabel(v string)
- func (o *OptionInput) SetValue(v string)
- type Property
- func (o *Property) GetArchived() bool
- func (o *Property) GetArchivedAt() time.Time
- func (o *Property) GetArchivedAtOk() (*time.Time, bool)
- func (o *Property) GetArchivedOk() (*bool, bool)
- func (o *Property) GetCalculated() bool
- func (o *Property) GetCalculatedOk() (*bool, bool)
- func (o *Property) GetCalculationFormula() string
- func (o *Property) GetCalculationFormulaOk() (*string, bool)
- func (o *Property) GetCreatedAt() time.Time
- func (o *Property) GetCreatedAtOk() (*time.Time, bool)
- func (o *Property) GetCreatedUserId() string
- func (o *Property) GetCreatedUserIdOk() (*string, bool)
- func (o *Property) GetDescription() string
- func (o *Property) GetDescriptionOk() (*string, bool)
- func (o *Property) GetDisplayOrder() int32
- func (o *Property) GetDisplayOrderOk() (*int32, bool)
- func (o *Property) GetExternalOptions() bool
- func (o *Property) GetExternalOptionsOk() (*bool, bool)
- func (o *Property) GetFieldType() string
- func (o *Property) GetFieldTypeOk() (*string, bool)
- func (o *Property) GetFormField() bool
- func (o *Property) GetFormFieldOk() (*bool, bool)
- func (o *Property) GetGroupName() string
- func (o *Property) GetGroupNameOk() (*string, bool)
- func (o *Property) GetHasUniqueValue() bool
- func (o *Property) GetHasUniqueValueOk() (*bool, bool)
- func (o *Property) GetHidden() bool
- func (o *Property) GetHiddenOk() (*bool, bool)
- func (o *Property) GetHubspotDefined() bool
- func (o *Property) GetHubspotDefinedOk() (*bool, bool)
- func (o *Property) GetLabel() string
- func (o *Property) GetLabelOk() (*string, bool)
- func (o *Property) GetModificationMetadata() PropertyModificationMetadata
- func (o *Property) GetModificationMetadataOk() (*PropertyModificationMetadata, bool)
- func (o *Property) GetName() string
- func (o *Property) GetNameOk() (*string, bool)
- func (o *Property) GetOptions() []Option
- func (o *Property) GetOptionsOk() ([]Option, bool)
- func (o *Property) GetReferencedObjectType() string
- func (o *Property) GetReferencedObjectTypeOk() (*string, bool)
- func (o *Property) GetShowCurrencySymbol() bool
- func (o *Property) GetShowCurrencySymbolOk() (*bool, bool)
- func (o *Property) GetType() string
- func (o *Property) GetTypeOk() (*string, bool)
- func (o *Property) GetUpdatedAt() time.Time
- func (o *Property) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Property) GetUpdatedUserId() string
- func (o *Property) GetUpdatedUserIdOk() (*string, bool)
- func (o *Property) HasArchived() bool
- func (o *Property) HasArchivedAt() bool
- func (o *Property) HasCalculated() bool
- func (o *Property) HasCalculationFormula() bool
- func (o *Property) HasCreatedAt() bool
- func (o *Property) HasCreatedUserId() bool
- func (o *Property) HasDisplayOrder() bool
- func (o *Property) HasExternalOptions() bool
- func (o *Property) HasFormField() bool
- func (o *Property) HasHasUniqueValue() bool
- func (o *Property) HasHidden() bool
- func (o *Property) HasHubspotDefined() bool
- func (o *Property) HasModificationMetadata() bool
- func (o *Property) HasReferencedObjectType() bool
- func (o *Property) HasShowCurrencySymbol() bool
- func (o *Property) HasUpdatedAt() bool
- func (o *Property) HasUpdatedUserId() bool
- func (o Property) MarshalJSON() ([]byte, error)
- func (o *Property) SetArchived(v bool)
- func (o *Property) SetArchivedAt(v time.Time)
- func (o *Property) SetCalculated(v bool)
- func (o *Property) SetCalculationFormula(v string)
- func (o *Property) SetCreatedAt(v time.Time)
- func (o *Property) SetCreatedUserId(v string)
- func (o *Property) SetDescription(v string)
- func (o *Property) SetDisplayOrder(v int32)
- func (o *Property) SetExternalOptions(v bool)
- func (o *Property) SetFieldType(v string)
- func (o *Property) SetFormField(v bool)
- func (o *Property) SetGroupName(v string)
- func (o *Property) SetHasUniqueValue(v bool)
- func (o *Property) SetHidden(v bool)
- func (o *Property) SetHubspotDefined(v bool)
- func (o *Property) SetLabel(v string)
- func (o *Property) SetModificationMetadata(v PropertyModificationMetadata)
- func (o *Property) SetName(v string)
- func (o *Property) SetOptions(v []Option)
- func (o *Property) SetReferencedObjectType(v string)
- func (o *Property) SetShowCurrencySymbol(v bool)
- func (o *Property) SetType(v string)
- func (o *Property) SetUpdatedAt(v time.Time)
- func (o *Property) SetUpdatedUserId(v string)
- type PropertyModificationMetadata
- func (o *PropertyModificationMetadata) GetArchivable() bool
- func (o *PropertyModificationMetadata) GetArchivableOk() (*bool, bool)
- func (o *PropertyModificationMetadata) GetReadOnlyDefinition() bool
- func (o *PropertyModificationMetadata) GetReadOnlyDefinitionOk() (*bool, bool)
- func (o *PropertyModificationMetadata) GetReadOnlyOptions() bool
- func (o *PropertyModificationMetadata) GetReadOnlyOptionsOk() (*bool, bool)
- func (o *PropertyModificationMetadata) GetReadOnlyValue() bool
- func (o *PropertyModificationMetadata) GetReadOnlyValueOk() (*bool, bool)
- func (o *PropertyModificationMetadata) HasReadOnlyOptions() bool
- func (o PropertyModificationMetadata) MarshalJSON() ([]byte, error)
- func (o *PropertyModificationMetadata) SetArchivable(v bool)
- func (o *PropertyModificationMetadata) SetReadOnlyDefinition(v bool)
- func (o *PropertyModificationMetadata) SetReadOnlyOptions(v bool)
- func (o *PropertyModificationMetadata) SetReadOnlyValue(v bool)
- type PublicObjectSchemasApiService
- func (a *PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurge(ctx context.Context, objectType string) ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest
- func (a *PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurgeExecute(r ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest) (*http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { CoreApi *CoreApiService PublicObjectSchemasApi *PublicObjectSchemasApiService // contains filtered or unexported fields }
APIClient manages communication with the Schemas API vv3 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiDeleteCrmV3SchemasObjectTypeArchiveRequest ¶
type ApiDeleteCrmV3SchemasObjectTypeArchiveRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiDeleteCrmV3SchemasObjectTypeArchiveRequest) Archived ¶
func (r ApiDeleteCrmV3SchemasObjectTypeArchiveRequest) Archived(archived bool) ApiDeleteCrmV3SchemasObjectTypeArchiveRequest
Whether to return only results that have been archived.
type ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest ¶
type ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
type ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest ¶
type ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest struct { ApiService *PublicObjectSchemasApiService // contains filtered or unexported fields }
type ApiGetCrmV3SchemasGetAllRequest ¶
type ApiGetCrmV3SchemasGetAllRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiGetCrmV3SchemasGetAllRequest) Archived ¶
func (r ApiGetCrmV3SchemasGetAllRequest) Archived(archived bool) ApiGetCrmV3SchemasGetAllRequest
Whether to return only results that have been archived.
func (ApiGetCrmV3SchemasGetAllRequest) Execute ¶
func (r ApiGetCrmV3SchemasGetAllRequest) Execute() (*CollectionResponseObjectSchemaNoPaging, *http.Response, error)
type ApiGetCrmV3SchemasObjectTypeGetByIdRequest ¶
type ApiGetCrmV3SchemasObjectTypeGetByIdRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiGetCrmV3SchemasObjectTypeGetByIdRequest) Execute ¶
func (r ApiGetCrmV3SchemasObjectTypeGetByIdRequest) Execute() (*ObjectSchema, *http.Response, error)
type ApiPatchCrmV3SchemasObjectTypeUpdateRequest ¶
type ApiPatchCrmV3SchemasObjectTypeUpdateRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiPatchCrmV3SchemasObjectTypeUpdateRequest) Execute ¶
func (r ApiPatchCrmV3SchemasObjectTypeUpdateRequest) Execute() (*ObjectTypeDefinition, *http.Response, error)
func (ApiPatchCrmV3SchemasObjectTypeUpdateRequest) ObjectTypeDefinitionPatch ¶
func (r ApiPatchCrmV3SchemasObjectTypeUpdateRequest) ObjectTypeDefinitionPatch(objectTypeDefinitionPatch ObjectTypeDefinitionPatch) ApiPatchCrmV3SchemasObjectTypeUpdateRequest
Attributes to update in your schema.
type ApiPostCrmV3SchemasCreateRequest ¶
type ApiPostCrmV3SchemasCreateRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiPostCrmV3SchemasCreateRequest) Execute ¶
func (r ApiPostCrmV3SchemasCreateRequest) Execute() (*ObjectSchema, *http.Response, error)
func (ApiPostCrmV3SchemasCreateRequest) ObjectSchemaEgg ¶
func (r ApiPostCrmV3SchemasCreateRequest) ObjectSchemaEgg(objectSchemaEgg ObjectSchemaEgg) ApiPostCrmV3SchemasCreateRequest
Object schema definition, including properties and associations.
type ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest ¶
type ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) AssociationDefinitionEgg ¶
func (r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) AssociationDefinitionEgg(associationDefinitionEgg AssociationDefinitionEgg) ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
Attributes that define the association.
func (ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) Execute ¶
func (r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) Execute() (*AssociationDefinition, *http.Response, error)
type AssociationDefinition ¶
type AssociationDefinition struct { // When the association was defined. CreatedAt *time.Time `json:"createdAt,omitempty"` // ID of the primary object type to link from. FromObjectTypeId string `json:"fromObjectTypeId"` // A unique name for this association. Name *string `json:"name,omitempty"` // A unique ID for this association. Id string `json:"id"` // ID of the target object type ID to link to. ToObjectTypeId string `json:"toObjectTypeId"` // When the association was last updated. UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
AssociationDefinition Defines an association between two object types.
func NewAssociationDefinition ¶
func NewAssociationDefinition(fromObjectTypeId string, id string, toObjectTypeId string) *AssociationDefinition
NewAssociationDefinition instantiates a new AssociationDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssociationDefinitionWithDefaults ¶
func NewAssociationDefinitionWithDefaults() *AssociationDefinition
NewAssociationDefinitionWithDefaults instantiates a new AssociationDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssociationDefinition) GetCreatedAt ¶
func (o *AssociationDefinition) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AssociationDefinition) GetCreatedAtOk ¶
func (o *AssociationDefinition) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssociationDefinition) GetFromObjectTypeId ¶
func (o *AssociationDefinition) GetFromObjectTypeId() string
GetFromObjectTypeId returns the FromObjectTypeId field value
func (*AssociationDefinition) GetFromObjectTypeIdOk ¶
func (o *AssociationDefinition) GetFromObjectTypeIdOk() (*string, bool)
GetFromObjectTypeIdOk returns a tuple with the FromObjectTypeId field value and a boolean to check if the value has been set.
func (*AssociationDefinition) GetId ¶
func (o *AssociationDefinition) GetId() string
GetId returns the Id field value
func (*AssociationDefinition) GetIdOk ¶
func (o *AssociationDefinition) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AssociationDefinition) GetName ¶
func (o *AssociationDefinition) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AssociationDefinition) GetNameOk ¶
func (o *AssociationDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssociationDefinition) GetToObjectTypeId ¶
func (o *AssociationDefinition) GetToObjectTypeId() string
GetToObjectTypeId returns the ToObjectTypeId field value
func (*AssociationDefinition) GetToObjectTypeIdOk ¶
func (o *AssociationDefinition) GetToObjectTypeIdOk() (*string, bool)
GetToObjectTypeIdOk returns a tuple with the ToObjectTypeId field value and a boolean to check if the value has been set.
func (*AssociationDefinition) GetUpdatedAt ¶
func (o *AssociationDefinition) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AssociationDefinition) GetUpdatedAtOk ¶
func (o *AssociationDefinition) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssociationDefinition) HasCreatedAt ¶
func (o *AssociationDefinition) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AssociationDefinition) HasName ¶
func (o *AssociationDefinition) HasName() bool
HasName returns a boolean if a field has been set.
func (*AssociationDefinition) HasUpdatedAt ¶
func (o *AssociationDefinition) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AssociationDefinition) MarshalJSON ¶
func (o AssociationDefinition) MarshalJSON() ([]byte, error)
func (*AssociationDefinition) SetCreatedAt ¶
func (o *AssociationDefinition) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AssociationDefinition) SetFromObjectTypeId ¶
func (o *AssociationDefinition) SetFromObjectTypeId(v string)
SetFromObjectTypeId sets field value
func (*AssociationDefinition) SetId ¶
func (o *AssociationDefinition) SetId(v string)
SetId sets field value
func (*AssociationDefinition) SetName ¶
func (o *AssociationDefinition) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AssociationDefinition) SetToObjectTypeId ¶
func (o *AssociationDefinition) SetToObjectTypeId(v string)
SetToObjectTypeId sets field value
func (*AssociationDefinition) SetUpdatedAt ¶
func (o *AssociationDefinition) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type AssociationDefinitionEgg ¶
type AssociationDefinitionEgg struct { // ID of the primary object type to link from. FromObjectTypeId string `json:"fromObjectTypeId"` // A unique name for this association. Name *string `json:"name,omitempty"` // ID of the target object type ID to link to. ToObjectTypeId string `json:"toObjectTypeId"` }
AssociationDefinitionEgg Defines an association between two object types.
func NewAssociationDefinitionEgg ¶
func NewAssociationDefinitionEgg(fromObjectTypeId string, toObjectTypeId string) *AssociationDefinitionEgg
NewAssociationDefinitionEgg instantiates a new AssociationDefinitionEgg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssociationDefinitionEggWithDefaults ¶
func NewAssociationDefinitionEggWithDefaults() *AssociationDefinitionEgg
NewAssociationDefinitionEggWithDefaults instantiates a new AssociationDefinitionEgg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssociationDefinitionEgg) GetFromObjectTypeId ¶
func (o *AssociationDefinitionEgg) GetFromObjectTypeId() string
GetFromObjectTypeId returns the FromObjectTypeId field value
func (*AssociationDefinitionEgg) GetFromObjectTypeIdOk ¶
func (o *AssociationDefinitionEgg) GetFromObjectTypeIdOk() (*string, bool)
GetFromObjectTypeIdOk returns a tuple with the FromObjectTypeId field value and a boolean to check if the value has been set.
func (*AssociationDefinitionEgg) GetName ¶
func (o *AssociationDefinitionEgg) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AssociationDefinitionEgg) GetNameOk ¶
func (o *AssociationDefinitionEgg) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssociationDefinitionEgg) GetToObjectTypeId ¶
func (o *AssociationDefinitionEgg) GetToObjectTypeId() string
GetToObjectTypeId returns the ToObjectTypeId field value
func (*AssociationDefinitionEgg) GetToObjectTypeIdOk ¶
func (o *AssociationDefinitionEgg) GetToObjectTypeIdOk() (*string, bool)
GetToObjectTypeIdOk returns a tuple with the ToObjectTypeId field value and a boolean to check if the value has been set.
func (*AssociationDefinitionEgg) HasName ¶
func (o *AssociationDefinitionEgg) HasName() bool
HasName returns a boolean if a field has been set.
func (AssociationDefinitionEgg) MarshalJSON ¶
func (o AssociationDefinitionEgg) MarshalJSON() ([]byte, error)
func (*AssociationDefinitionEgg) SetFromObjectTypeId ¶
func (o *AssociationDefinitionEgg) SetFromObjectTypeId(v string)
SetFromObjectTypeId sets field value
func (*AssociationDefinitionEgg) SetName ¶
func (o *AssociationDefinitionEgg) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AssociationDefinitionEgg) SetToObjectTypeId ¶
func (o *AssociationDefinitionEgg) SetToObjectTypeId(v string)
SetToObjectTypeId sets field value
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CollectionResponseObjectSchemaNoPaging ¶
type CollectionResponseObjectSchemaNoPaging struct {
Results []ObjectSchema `json:"results"`
}
CollectionResponseObjectSchemaNoPaging struct for CollectionResponseObjectSchemaNoPaging
func NewCollectionResponseObjectSchemaNoPaging ¶
func NewCollectionResponseObjectSchemaNoPaging(results []ObjectSchema) *CollectionResponseObjectSchemaNoPaging
NewCollectionResponseObjectSchemaNoPaging instantiates a new CollectionResponseObjectSchemaNoPaging object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCollectionResponseObjectSchemaNoPagingWithDefaults ¶
func NewCollectionResponseObjectSchemaNoPagingWithDefaults() *CollectionResponseObjectSchemaNoPaging
NewCollectionResponseObjectSchemaNoPagingWithDefaults instantiates a new CollectionResponseObjectSchemaNoPaging object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CollectionResponseObjectSchemaNoPaging) GetResults ¶
func (o *CollectionResponseObjectSchemaNoPaging) GetResults() []ObjectSchema
GetResults returns the Results field value
func (*CollectionResponseObjectSchemaNoPaging) GetResultsOk ¶
func (o *CollectionResponseObjectSchemaNoPaging) GetResultsOk() ([]ObjectSchema, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (CollectionResponseObjectSchemaNoPaging) MarshalJSON ¶
func (o CollectionResponseObjectSchemaNoPaging) MarshalJSON() ([]byte, error)
func (*CollectionResponseObjectSchemaNoPaging) SetResults ¶
func (o *CollectionResponseObjectSchemaNoPaging) SetResults(v []ObjectSchema)
SetResults sets field value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CoreApiService ¶
type CoreApiService service
CoreApiService CoreApi service
func (*CoreApiService) DeleteCrmV3SchemasObjectTypeArchive ¶
func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeArchive(ctx context.Context, objectType string) ApiDeleteCrmV3SchemasObjectTypeArchiveRequest
DeleteCrmV3SchemasObjectTypeArchive Delete a schema
Deletes a schema. Any existing records of this schema must be deleted **first**. Otherwise this call will fail.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType Fully qualified name or object type ID of your schema. @return ApiDeleteCrmV3SchemasObjectTypeArchiveRequest
func (*CoreApiService) DeleteCrmV3SchemasObjectTypeArchiveExecute ¶
func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeArchiveExecute(r ApiDeleteCrmV3SchemasObjectTypeArchiveRequest) (*http.Response, error)
Execute executes the request
func (*CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociation ¶
func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociation(ctx context.Context, objectType string, associationIdentifier string) ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest
DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociation Remove an association
Removes an existing association from a schema.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType Fully qualified name or object type ID of your schema. @param associationIdentifier Unique ID of the association to remove. @return ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest
func (*CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationExecute ¶
func (a *CoreApiService) DeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationExecute(r ApiDeleteCrmV3SchemasObjectTypeAssociationsAssociationIdentifierArchiveAssociationRequest) (*http.Response, error)
Execute executes the request
func (*CoreApiService) GetCrmV3SchemasGetAll ¶
func (a *CoreApiService) GetCrmV3SchemasGetAll(ctx context.Context) ApiGetCrmV3SchemasGetAllRequest
GetCrmV3SchemasGetAll Get all schemas
Returns all object schemas that have been defined for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCrmV3SchemasGetAllRequest
func (*CoreApiService) GetCrmV3SchemasGetAllExecute ¶
func (a *CoreApiService) GetCrmV3SchemasGetAllExecute(r ApiGetCrmV3SchemasGetAllRequest) (*CollectionResponseObjectSchemaNoPaging, *http.Response, error)
Execute executes the request
@return CollectionResponseObjectSchemaNoPaging
func (*CoreApiService) GetCrmV3SchemasObjectTypeGetById ¶
func (a *CoreApiService) GetCrmV3SchemasObjectTypeGetById(ctx context.Context, objectType string) ApiGetCrmV3SchemasObjectTypeGetByIdRequest
GetCrmV3SchemasObjectTypeGetById Get an existing schema
Returns an existing object schema.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType Fully qualified name or object type ID of your schema. @return ApiGetCrmV3SchemasObjectTypeGetByIdRequest
func (*CoreApiService) GetCrmV3SchemasObjectTypeGetByIdExecute ¶
func (a *CoreApiService) GetCrmV3SchemasObjectTypeGetByIdExecute(r ApiGetCrmV3SchemasObjectTypeGetByIdRequest) (*ObjectSchema, *http.Response, error)
Execute executes the request
@return ObjectSchema
func (*CoreApiService) PatchCrmV3SchemasObjectTypeUpdate ¶
func (a *CoreApiService) PatchCrmV3SchemasObjectTypeUpdate(ctx context.Context, objectType string) ApiPatchCrmV3SchemasObjectTypeUpdateRequest
PatchCrmV3SchemasObjectTypeUpdate Update a schema
Update the details for an existing object schema.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType Fully qualified name or object type ID of your schema. @return ApiPatchCrmV3SchemasObjectTypeUpdateRequest
func (*CoreApiService) PatchCrmV3SchemasObjectTypeUpdateExecute ¶
func (a *CoreApiService) PatchCrmV3SchemasObjectTypeUpdateExecute(r ApiPatchCrmV3SchemasObjectTypeUpdateRequest) (*ObjectTypeDefinition, *http.Response, error)
Execute executes the request
@return ObjectTypeDefinition
func (*CoreApiService) PostCrmV3SchemasCreate ¶
func (a *CoreApiService) PostCrmV3SchemasCreate(ctx context.Context) ApiPostCrmV3SchemasCreateRequest
PostCrmV3SchemasCreate Create a new schema
Define a new object schema, along with custom properties and associations. The entire object schema, including its object type ID, properties, and associations will be returned in the response.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostCrmV3SchemasCreateRequest
func (*CoreApiService) PostCrmV3SchemasCreateExecute ¶
func (a *CoreApiService) PostCrmV3SchemasCreateExecute(r ApiPostCrmV3SchemasCreateRequest) (*ObjectSchema, *http.Response, error)
Execute executes the request
@return ObjectSchema
func (*CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociation ¶
func (a *CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociation(ctx context.Context, objectType string) ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
PostCrmV3SchemasObjectTypeAssociationsCreateAssociation Create an association
Defines a new association between the primary schema's object type and other object types.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType Fully qualified name or object type ID of your schema. @return ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest
func (*CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociationExecute ¶
func (a *CoreApiService) PostCrmV3SchemasObjectTypeAssociationsCreateAssociationExecute(r ApiPostCrmV3SchemasObjectTypeAssociationsCreateAssociationRequest) (*AssociationDefinition, *http.Response, error)
Execute executes the request
@return AssociationDefinition
type Error ¶
type Error struct { // A specific category that contains more specific detail about the error SubCategory *string `json:"subCategory,omitempty"` // Context about the error condition Context *map[string][]string `json:"context,omitempty"` // A unique identifier for the request. Include this value with any error reports or support tickets CorrelationId string `json:"correlationId"` // A map of link names to associated URIs containing documentation about the error or recommended remediation steps Links *map[string]string `json:"links,omitempty"` // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` // The error category Category string `json:"category"` // further information about the error Errors []ErrorDetail `json:"errors,omitempty"` }
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCategory ¶
GetCategory returns the Category field value
func (*Error) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*Error) GetContext ¶
GetContext returns the Context field value if set, zero value otherwise.
func (*Error) GetContextOk ¶
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetCorrelationId ¶
GetCorrelationId returns the CorrelationId field value
func (*Error) GetCorrelationIdOk ¶
GetCorrelationIdOk returns a tuple with the CorrelationId field value and a boolean to check if the value has been set.
func (*Error) GetErrors ¶
func (o *Error) GetErrors() []ErrorDetail
GetErrors returns the Errors field value if set, zero value otherwise.
func (*Error) GetErrorsOk ¶
func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetLinksOk ¶
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetSubCategory ¶
GetSubCategory returns the SubCategory field value if set, zero value otherwise.
func (*Error) GetSubCategoryOk ¶
GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasContext ¶
HasContext returns a boolean if a field has been set.
func (*Error) HasSubCategory ¶
HasSubCategory returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetContext ¶
SetContext gets a reference to the given map[string][]string and assigns it to the Context field.
func (*Error) SetCorrelationId ¶
SetCorrelationId sets field value
func (*Error) SetErrors ¶
func (o *Error) SetErrors(v []ErrorDetail)
SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.
func (*Error) SetLinks ¶
SetLinks gets a reference to the given map[string]string and assigns it to the Links field.
func (*Error) SetSubCategory ¶
SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.
type ErrorDetail ¶
type ErrorDetail struct { // A specific category that contains more specific detail about the error SubCategory *string `json:"subCategory,omitempty"` // The status code associated with the error detail Code *string `json:"code,omitempty"` // The name of the field or parameter in which the error was found. In *string `json:"in,omitempty"` // Context about the error condition Context *map[string][]string `json:"context,omitempty"` // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` }
ErrorDetail struct for ErrorDetail
func NewErrorDetail ¶
func NewErrorDetail(message string) *ErrorDetail
NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorDetailWithDefaults ¶
func NewErrorDetailWithDefaults() *ErrorDetail
NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorDetail) GetCode ¶
func (o *ErrorDetail) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorDetail) GetCodeOk ¶
func (o *ErrorDetail) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetContext ¶
func (o *ErrorDetail) GetContext() map[string][]string
GetContext returns the Context field value if set, zero value otherwise.
func (*ErrorDetail) GetContextOk ¶
func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetIn ¶
func (o *ErrorDetail) GetIn() string
GetIn returns the In field value if set, zero value otherwise.
func (*ErrorDetail) GetInOk ¶
func (o *ErrorDetail) GetInOk() (*string, bool)
GetInOk returns a tuple with the In field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetMessage ¶
func (o *ErrorDetail) GetMessage() string
GetMessage returns the Message field value
func (*ErrorDetail) GetMessageOk ¶
func (o *ErrorDetail) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorDetail) GetSubCategory ¶
func (o *ErrorDetail) GetSubCategory() string
GetSubCategory returns the SubCategory field value if set, zero value otherwise.
func (*ErrorDetail) GetSubCategoryOk ¶
func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)
GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) HasCode ¶
func (o *ErrorDetail) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorDetail) HasContext ¶
func (o *ErrorDetail) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*ErrorDetail) HasIn ¶
func (o *ErrorDetail) HasIn() bool
HasIn returns a boolean if a field has been set.
func (*ErrorDetail) HasSubCategory ¶
func (o *ErrorDetail) HasSubCategory() bool
HasSubCategory returns a boolean if a field has been set.
func (ErrorDetail) MarshalJSON ¶
func (o ErrorDetail) MarshalJSON() ([]byte, error)
func (*ErrorDetail) SetCode ¶
func (o *ErrorDetail) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ErrorDetail) SetContext ¶
func (o *ErrorDetail) SetContext(v map[string][]string)
SetContext gets a reference to the given map[string][]string and assigns it to the Context field.
func (*ErrorDetail) SetIn ¶
func (o *ErrorDetail) SetIn(v string)
SetIn gets a reference to the given string and assigns it to the In field.
func (*ErrorDetail) SetMessage ¶
func (o *ErrorDetail) SetMessage(v string)
SetMessage sets field value
func (*ErrorDetail) SetSubCategory ¶
func (o *ErrorDetail) SetSubCategory(v string)
SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type NullableAssociationDefinition ¶
type NullableAssociationDefinition struct {
// contains filtered or unexported fields
}
func NewNullableAssociationDefinition ¶
func NewNullableAssociationDefinition(val *AssociationDefinition) *NullableAssociationDefinition
func (NullableAssociationDefinition) Get ¶
func (v NullableAssociationDefinition) Get() *AssociationDefinition
func (NullableAssociationDefinition) IsSet ¶
func (v NullableAssociationDefinition) IsSet() bool
func (NullableAssociationDefinition) MarshalJSON ¶
func (v NullableAssociationDefinition) MarshalJSON() ([]byte, error)
func (*NullableAssociationDefinition) Set ¶
func (v *NullableAssociationDefinition) Set(val *AssociationDefinition)
func (*NullableAssociationDefinition) UnmarshalJSON ¶
func (v *NullableAssociationDefinition) UnmarshalJSON(src []byte) error
func (*NullableAssociationDefinition) Unset ¶
func (v *NullableAssociationDefinition) Unset()
type NullableAssociationDefinitionEgg ¶
type NullableAssociationDefinitionEgg struct {
// contains filtered or unexported fields
}
func NewNullableAssociationDefinitionEgg ¶
func NewNullableAssociationDefinitionEgg(val *AssociationDefinitionEgg) *NullableAssociationDefinitionEgg
func (NullableAssociationDefinitionEgg) Get ¶
func (v NullableAssociationDefinitionEgg) Get() *AssociationDefinitionEgg
func (NullableAssociationDefinitionEgg) IsSet ¶
func (v NullableAssociationDefinitionEgg) IsSet() bool
func (NullableAssociationDefinitionEgg) MarshalJSON ¶
func (v NullableAssociationDefinitionEgg) MarshalJSON() ([]byte, error)
func (*NullableAssociationDefinitionEgg) Set ¶
func (v *NullableAssociationDefinitionEgg) Set(val *AssociationDefinitionEgg)
func (*NullableAssociationDefinitionEgg) UnmarshalJSON ¶
func (v *NullableAssociationDefinitionEgg) UnmarshalJSON(src []byte) error
func (*NullableAssociationDefinitionEgg) Unset ¶
func (v *NullableAssociationDefinitionEgg) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCollectionResponseObjectSchemaNoPaging ¶
type NullableCollectionResponseObjectSchemaNoPaging struct {
// contains filtered or unexported fields
}
func NewNullableCollectionResponseObjectSchemaNoPaging ¶
func NewNullableCollectionResponseObjectSchemaNoPaging(val *CollectionResponseObjectSchemaNoPaging) *NullableCollectionResponseObjectSchemaNoPaging
func (NullableCollectionResponseObjectSchemaNoPaging) IsSet ¶
func (v NullableCollectionResponseObjectSchemaNoPaging) IsSet() bool
func (NullableCollectionResponseObjectSchemaNoPaging) MarshalJSON ¶
func (v NullableCollectionResponseObjectSchemaNoPaging) MarshalJSON() ([]byte, error)
func (*NullableCollectionResponseObjectSchemaNoPaging) Set ¶
func (v *NullableCollectionResponseObjectSchemaNoPaging) Set(val *CollectionResponseObjectSchemaNoPaging)
func (*NullableCollectionResponseObjectSchemaNoPaging) UnmarshalJSON ¶
func (v *NullableCollectionResponseObjectSchemaNoPaging) UnmarshalJSON(src []byte) error
func (*NullableCollectionResponseObjectSchemaNoPaging) Unset ¶
func (v *NullableCollectionResponseObjectSchemaNoPaging) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorDetail ¶
type NullableErrorDetail struct {
// contains filtered or unexported fields
}
func NewNullableErrorDetail ¶
func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail
func (NullableErrorDetail) Get ¶
func (v NullableErrorDetail) Get() *ErrorDetail
func (NullableErrorDetail) IsSet ¶
func (v NullableErrorDetail) IsSet() bool
func (NullableErrorDetail) MarshalJSON ¶
func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
func (*NullableErrorDetail) Set ¶
func (v *NullableErrorDetail) Set(val *ErrorDetail)
func (*NullableErrorDetail) UnmarshalJSON ¶
func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
func (*NullableErrorDetail) Unset ¶
func (v *NullableErrorDetail) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableObjectSchema ¶
type NullableObjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableObjectSchema ¶
func NewNullableObjectSchema(val *ObjectSchema) *NullableObjectSchema
func (NullableObjectSchema) Get ¶
func (v NullableObjectSchema) Get() *ObjectSchema
func (NullableObjectSchema) IsSet ¶
func (v NullableObjectSchema) IsSet() bool
func (NullableObjectSchema) MarshalJSON ¶
func (v NullableObjectSchema) MarshalJSON() ([]byte, error)
func (*NullableObjectSchema) Set ¶
func (v *NullableObjectSchema) Set(val *ObjectSchema)
func (*NullableObjectSchema) UnmarshalJSON ¶
func (v *NullableObjectSchema) UnmarshalJSON(src []byte) error
func (*NullableObjectSchema) Unset ¶
func (v *NullableObjectSchema) Unset()
type NullableObjectSchemaEgg ¶
type NullableObjectSchemaEgg struct {
// contains filtered or unexported fields
}
func NewNullableObjectSchemaEgg ¶
func NewNullableObjectSchemaEgg(val *ObjectSchemaEgg) *NullableObjectSchemaEgg
func (NullableObjectSchemaEgg) Get ¶
func (v NullableObjectSchemaEgg) Get() *ObjectSchemaEgg
func (NullableObjectSchemaEgg) IsSet ¶
func (v NullableObjectSchemaEgg) IsSet() bool
func (NullableObjectSchemaEgg) MarshalJSON ¶
func (v NullableObjectSchemaEgg) MarshalJSON() ([]byte, error)
func (*NullableObjectSchemaEgg) Set ¶
func (v *NullableObjectSchemaEgg) Set(val *ObjectSchemaEgg)
func (*NullableObjectSchemaEgg) UnmarshalJSON ¶
func (v *NullableObjectSchemaEgg) UnmarshalJSON(src []byte) error
func (*NullableObjectSchemaEgg) Unset ¶
func (v *NullableObjectSchemaEgg) Unset()
type NullableObjectTypeDefinition ¶
type NullableObjectTypeDefinition struct {
// contains filtered or unexported fields
}
func NewNullableObjectTypeDefinition ¶
func NewNullableObjectTypeDefinition(val *ObjectTypeDefinition) *NullableObjectTypeDefinition
func (NullableObjectTypeDefinition) Get ¶
func (v NullableObjectTypeDefinition) Get() *ObjectTypeDefinition
func (NullableObjectTypeDefinition) IsSet ¶
func (v NullableObjectTypeDefinition) IsSet() bool
func (NullableObjectTypeDefinition) MarshalJSON ¶
func (v NullableObjectTypeDefinition) MarshalJSON() ([]byte, error)
func (*NullableObjectTypeDefinition) Set ¶
func (v *NullableObjectTypeDefinition) Set(val *ObjectTypeDefinition)
func (*NullableObjectTypeDefinition) UnmarshalJSON ¶
func (v *NullableObjectTypeDefinition) UnmarshalJSON(src []byte) error
func (*NullableObjectTypeDefinition) Unset ¶
func (v *NullableObjectTypeDefinition) Unset()
type NullableObjectTypeDefinitionLabels ¶
type NullableObjectTypeDefinitionLabels struct {
// contains filtered or unexported fields
}
func NewNullableObjectTypeDefinitionLabels ¶
func NewNullableObjectTypeDefinitionLabels(val *ObjectTypeDefinitionLabels) *NullableObjectTypeDefinitionLabels
func (NullableObjectTypeDefinitionLabels) Get ¶
func (v NullableObjectTypeDefinitionLabels) Get() *ObjectTypeDefinitionLabels
func (NullableObjectTypeDefinitionLabels) IsSet ¶
func (v NullableObjectTypeDefinitionLabels) IsSet() bool
func (NullableObjectTypeDefinitionLabels) MarshalJSON ¶
func (v NullableObjectTypeDefinitionLabels) MarshalJSON() ([]byte, error)
func (*NullableObjectTypeDefinitionLabels) Set ¶
func (v *NullableObjectTypeDefinitionLabels) Set(val *ObjectTypeDefinitionLabels)
func (*NullableObjectTypeDefinitionLabels) UnmarshalJSON ¶
func (v *NullableObjectTypeDefinitionLabels) UnmarshalJSON(src []byte) error
func (*NullableObjectTypeDefinitionLabels) Unset ¶
func (v *NullableObjectTypeDefinitionLabels) Unset()
type NullableObjectTypeDefinitionPatch ¶
type NullableObjectTypeDefinitionPatch struct {
// contains filtered or unexported fields
}
func NewNullableObjectTypeDefinitionPatch ¶
func NewNullableObjectTypeDefinitionPatch(val *ObjectTypeDefinitionPatch) *NullableObjectTypeDefinitionPatch
func (NullableObjectTypeDefinitionPatch) Get ¶
func (v NullableObjectTypeDefinitionPatch) Get() *ObjectTypeDefinitionPatch
func (NullableObjectTypeDefinitionPatch) IsSet ¶
func (v NullableObjectTypeDefinitionPatch) IsSet() bool
func (NullableObjectTypeDefinitionPatch) MarshalJSON ¶
func (v NullableObjectTypeDefinitionPatch) MarshalJSON() ([]byte, error)
func (*NullableObjectTypeDefinitionPatch) Set ¶
func (v *NullableObjectTypeDefinitionPatch) Set(val *ObjectTypeDefinitionPatch)
func (*NullableObjectTypeDefinitionPatch) UnmarshalJSON ¶
func (v *NullableObjectTypeDefinitionPatch) UnmarshalJSON(src []byte) error
func (*NullableObjectTypeDefinitionPatch) Unset ¶
func (v *NullableObjectTypeDefinitionPatch) Unset()
type NullableObjectTypePropertyCreate ¶
type NullableObjectTypePropertyCreate struct {
// contains filtered or unexported fields
}
func NewNullableObjectTypePropertyCreate ¶
func NewNullableObjectTypePropertyCreate(val *ObjectTypePropertyCreate) *NullableObjectTypePropertyCreate
func (NullableObjectTypePropertyCreate) Get ¶
func (v NullableObjectTypePropertyCreate) Get() *ObjectTypePropertyCreate
func (NullableObjectTypePropertyCreate) IsSet ¶
func (v NullableObjectTypePropertyCreate) IsSet() bool
func (NullableObjectTypePropertyCreate) MarshalJSON ¶
func (v NullableObjectTypePropertyCreate) MarshalJSON() ([]byte, error)
func (*NullableObjectTypePropertyCreate) Set ¶
func (v *NullableObjectTypePropertyCreate) Set(val *ObjectTypePropertyCreate)
func (*NullableObjectTypePropertyCreate) UnmarshalJSON ¶
func (v *NullableObjectTypePropertyCreate) UnmarshalJSON(src []byte) error
func (*NullableObjectTypePropertyCreate) Unset ¶
func (v *NullableObjectTypePropertyCreate) Unset()
type NullableOption ¶
type NullableOption struct {
// contains filtered or unexported fields
}
func NewNullableOption ¶
func NewNullableOption(val *Option) *NullableOption
func (NullableOption) Get ¶
func (v NullableOption) Get() *Option
func (NullableOption) IsSet ¶
func (v NullableOption) IsSet() bool
func (NullableOption) MarshalJSON ¶
func (v NullableOption) MarshalJSON() ([]byte, error)
func (*NullableOption) Set ¶
func (v *NullableOption) Set(val *Option)
func (*NullableOption) UnmarshalJSON ¶
func (v *NullableOption) UnmarshalJSON(src []byte) error
func (*NullableOption) Unset ¶
func (v *NullableOption) Unset()
type NullableOptionInput ¶
type NullableOptionInput struct {
// contains filtered or unexported fields
}
func NewNullableOptionInput ¶
func NewNullableOptionInput(val *OptionInput) *NullableOptionInput
func (NullableOptionInput) Get ¶
func (v NullableOptionInput) Get() *OptionInput
func (NullableOptionInput) IsSet ¶
func (v NullableOptionInput) IsSet() bool
func (NullableOptionInput) MarshalJSON ¶
func (v NullableOptionInput) MarshalJSON() ([]byte, error)
func (*NullableOptionInput) Set ¶
func (v *NullableOptionInput) Set(val *OptionInput)
func (*NullableOptionInput) UnmarshalJSON ¶
func (v *NullableOptionInput) UnmarshalJSON(src []byte) error
func (*NullableOptionInput) Unset ¶
func (v *NullableOptionInput) Unset()
type NullableProperty ¶
type NullableProperty struct {
// contains filtered or unexported fields
}
func NewNullableProperty ¶
func NewNullableProperty(val *Property) *NullableProperty
func (NullableProperty) Get ¶
func (v NullableProperty) Get() *Property
func (NullableProperty) IsSet ¶
func (v NullableProperty) IsSet() bool
func (NullableProperty) MarshalJSON ¶
func (v NullableProperty) MarshalJSON() ([]byte, error)
func (*NullableProperty) Set ¶
func (v *NullableProperty) Set(val *Property)
func (*NullableProperty) UnmarshalJSON ¶
func (v *NullableProperty) UnmarshalJSON(src []byte) error
func (*NullableProperty) Unset ¶
func (v *NullableProperty) Unset()
type NullablePropertyModificationMetadata ¶
type NullablePropertyModificationMetadata struct {
// contains filtered or unexported fields
}
func NewNullablePropertyModificationMetadata ¶
func NewNullablePropertyModificationMetadata(val *PropertyModificationMetadata) *NullablePropertyModificationMetadata
func (NullablePropertyModificationMetadata) Get ¶
func (v NullablePropertyModificationMetadata) Get() *PropertyModificationMetadata
func (NullablePropertyModificationMetadata) IsSet ¶
func (v NullablePropertyModificationMetadata) IsSet() bool
func (NullablePropertyModificationMetadata) MarshalJSON ¶
func (v NullablePropertyModificationMetadata) MarshalJSON() ([]byte, error)
func (*NullablePropertyModificationMetadata) Set ¶
func (v *NullablePropertyModificationMetadata) Set(val *PropertyModificationMetadata)
func (*NullablePropertyModificationMetadata) UnmarshalJSON ¶
func (v *NullablePropertyModificationMetadata) UnmarshalJSON(src []byte) error
func (*NullablePropertyModificationMetadata) Unset ¶
func (v *NullablePropertyModificationMetadata) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ObjectSchema ¶
type ObjectSchema struct { // Associations defined for a given object type. Associations []AssociationDefinition `json:"associations"` // The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. SecondaryDisplayProperties []string `json:"secondaryDisplayProperties,omitempty"` ObjectTypeId *string `json:"objectTypeId,omitempty"` Description *string `json:"description,omitempty"` // An assigned unique ID for the object, including portal ID and object name. FullyQualifiedName *string `json:"fullyQualifiedName,omitempty"` Labels ObjectTypeDefinitionLabels `json:"labels"` Archived *bool `json:"archived,omitempty"` // When the object schema was created. CreatedAt *time.Time `json:"createdAt,omitempty"` // The names of properties that should be **required** when creating an object of this type. RequiredProperties []string `json:"requiredProperties"` // Names of properties that will be indexed for this object type in by HubSpot's product search. SearchableProperties []string `json:"searchableProperties,omitempty"` // The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. PrimaryDisplayProperty *string `json:"primaryDisplayProperty,omitempty"` // A unique name for the schema's object type. Name string `json:"name"` // A unique ID for this schema's object type. Will be defined as {meta-type}-{unique ID}. Id string `json:"id"` // Properties defined for this object type. Properties []Property `json:"properties"` // When the object schema was last updated. UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
ObjectSchema Defines an object schema, including its properties and associations.
func NewObjectSchema ¶
func NewObjectSchema(associations []AssociationDefinition, labels ObjectTypeDefinitionLabels, requiredProperties []string, name string, id string, properties []Property) *ObjectSchema
NewObjectSchema instantiates a new ObjectSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectSchemaWithDefaults ¶
func NewObjectSchemaWithDefaults() *ObjectSchema
NewObjectSchemaWithDefaults instantiates a new ObjectSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectSchema) GetArchived ¶
func (o *ObjectSchema) GetArchived() bool
GetArchived returns the Archived field value if set, zero value otherwise.
func (*ObjectSchema) GetArchivedOk ¶
func (o *ObjectSchema) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetAssociations ¶
func (o *ObjectSchema) GetAssociations() []AssociationDefinition
GetAssociations returns the Associations field value
func (*ObjectSchema) GetAssociationsOk ¶
func (o *ObjectSchema) GetAssociationsOk() ([]AssociationDefinition, bool)
GetAssociationsOk returns a tuple with the Associations field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetCreatedAt ¶
func (o *ObjectSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ObjectSchema) GetCreatedAtOk ¶
func (o *ObjectSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetDescription ¶
func (o *ObjectSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ObjectSchema) GetDescriptionOk ¶
func (o *ObjectSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetFullyQualifiedName ¶
func (o *ObjectSchema) GetFullyQualifiedName() string
GetFullyQualifiedName returns the FullyQualifiedName field value if set, zero value otherwise.
func (*ObjectSchema) GetFullyQualifiedNameOk ¶
func (o *ObjectSchema) GetFullyQualifiedNameOk() (*string, bool)
GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetIdOk ¶
func (o *ObjectSchema) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetLabels ¶
func (o *ObjectSchema) GetLabels() ObjectTypeDefinitionLabels
GetLabels returns the Labels field value
func (*ObjectSchema) GetLabelsOk ¶
func (o *ObjectSchema) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetName ¶
func (o *ObjectSchema) GetName() string
GetName returns the Name field value
func (*ObjectSchema) GetNameOk ¶
func (o *ObjectSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetObjectTypeId ¶
func (o *ObjectSchema) GetObjectTypeId() string
GetObjectTypeId returns the ObjectTypeId field value if set, zero value otherwise.
func (*ObjectSchema) GetObjectTypeIdOk ¶
func (o *ObjectSchema) GetObjectTypeIdOk() (*string, bool)
GetObjectTypeIdOk returns a tuple with the ObjectTypeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetPrimaryDisplayProperty ¶
func (o *ObjectSchema) GetPrimaryDisplayProperty() string
GetPrimaryDisplayProperty returns the PrimaryDisplayProperty field value if set, zero value otherwise.
func (*ObjectSchema) GetPrimaryDisplayPropertyOk ¶
func (o *ObjectSchema) GetPrimaryDisplayPropertyOk() (*string, bool)
GetPrimaryDisplayPropertyOk returns a tuple with the PrimaryDisplayProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetProperties ¶
func (o *ObjectSchema) GetProperties() []Property
GetProperties returns the Properties field value
func (*ObjectSchema) GetPropertiesOk ¶
func (o *ObjectSchema) GetPropertiesOk() ([]Property, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetRequiredProperties ¶
func (o *ObjectSchema) GetRequiredProperties() []string
GetRequiredProperties returns the RequiredProperties field value
func (*ObjectSchema) GetRequiredPropertiesOk ¶
func (o *ObjectSchema) GetRequiredPropertiesOk() ([]string, bool)
GetRequiredPropertiesOk returns a tuple with the RequiredProperties field value and a boolean to check if the value has been set.
func (*ObjectSchema) GetSearchableProperties ¶
func (o *ObjectSchema) GetSearchableProperties() []string
GetSearchableProperties returns the SearchableProperties field value if set, zero value otherwise.
func (*ObjectSchema) GetSearchablePropertiesOk ¶
func (o *ObjectSchema) GetSearchablePropertiesOk() ([]string, bool)
GetSearchablePropertiesOk returns a tuple with the SearchableProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetSecondaryDisplayProperties ¶
func (o *ObjectSchema) GetSecondaryDisplayProperties() []string
GetSecondaryDisplayProperties returns the SecondaryDisplayProperties field value if set, zero value otherwise.
func (*ObjectSchema) GetSecondaryDisplayPropertiesOk ¶
func (o *ObjectSchema) GetSecondaryDisplayPropertiesOk() ([]string, bool)
GetSecondaryDisplayPropertiesOk returns a tuple with the SecondaryDisplayProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) GetUpdatedAt ¶
func (o *ObjectSchema) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ObjectSchema) GetUpdatedAtOk ¶
func (o *ObjectSchema) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchema) HasArchived ¶
func (o *ObjectSchema) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (*ObjectSchema) HasCreatedAt ¶
func (o *ObjectSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ObjectSchema) HasDescription ¶
func (o *ObjectSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ObjectSchema) HasFullyQualifiedName ¶
func (o *ObjectSchema) HasFullyQualifiedName() bool
HasFullyQualifiedName returns a boolean if a field has been set.
func (*ObjectSchema) HasObjectTypeId ¶
func (o *ObjectSchema) HasObjectTypeId() bool
HasObjectTypeId returns a boolean if a field has been set.
func (*ObjectSchema) HasPrimaryDisplayProperty ¶
func (o *ObjectSchema) HasPrimaryDisplayProperty() bool
HasPrimaryDisplayProperty returns a boolean if a field has been set.
func (*ObjectSchema) HasSearchableProperties ¶
func (o *ObjectSchema) HasSearchableProperties() bool
HasSearchableProperties returns a boolean if a field has been set.
func (*ObjectSchema) HasSecondaryDisplayProperties ¶
func (o *ObjectSchema) HasSecondaryDisplayProperties() bool
HasSecondaryDisplayProperties returns a boolean if a field has been set.
func (*ObjectSchema) HasUpdatedAt ¶
func (o *ObjectSchema) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ObjectSchema) MarshalJSON ¶
func (o ObjectSchema) MarshalJSON() ([]byte, error)
func (*ObjectSchema) SetArchived ¶
func (o *ObjectSchema) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*ObjectSchema) SetAssociations ¶
func (o *ObjectSchema) SetAssociations(v []AssociationDefinition)
SetAssociations sets field value
func (*ObjectSchema) SetCreatedAt ¶
func (o *ObjectSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ObjectSchema) SetDescription ¶
func (o *ObjectSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ObjectSchema) SetFullyQualifiedName ¶
func (o *ObjectSchema) SetFullyQualifiedName(v string)
SetFullyQualifiedName gets a reference to the given string and assigns it to the FullyQualifiedName field.
func (*ObjectSchema) SetLabels ¶
func (o *ObjectSchema) SetLabels(v ObjectTypeDefinitionLabels)
SetLabels sets field value
func (*ObjectSchema) SetObjectTypeId ¶
func (o *ObjectSchema) SetObjectTypeId(v string)
SetObjectTypeId gets a reference to the given string and assigns it to the ObjectTypeId field.
func (*ObjectSchema) SetPrimaryDisplayProperty ¶
func (o *ObjectSchema) SetPrimaryDisplayProperty(v string)
SetPrimaryDisplayProperty gets a reference to the given string and assigns it to the PrimaryDisplayProperty field.
func (*ObjectSchema) SetProperties ¶
func (o *ObjectSchema) SetProperties(v []Property)
SetProperties sets field value
func (*ObjectSchema) SetRequiredProperties ¶
func (o *ObjectSchema) SetRequiredProperties(v []string)
SetRequiredProperties sets field value
func (*ObjectSchema) SetSearchableProperties ¶
func (o *ObjectSchema) SetSearchableProperties(v []string)
SetSearchableProperties gets a reference to the given []string and assigns it to the SearchableProperties field.
func (*ObjectSchema) SetSecondaryDisplayProperties ¶
func (o *ObjectSchema) SetSecondaryDisplayProperties(v []string)
SetSecondaryDisplayProperties gets a reference to the given []string and assigns it to the SecondaryDisplayProperties field.
func (*ObjectSchema) SetUpdatedAt ¶
func (o *ObjectSchema) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type ObjectSchemaEgg ¶
type ObjectSchemaEgg struct { // The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. SecondaryDisplayProperties []string `json:"secondaryDisplayProperties,omitempty"` // The names of properties that should be **required** when creating an object of this type. RequiredProperties []string `json:"requiredProperties"` // Names of properties that will be indexed for this object type in by HubSpot's product search. SearchableProperties []string `json:"searchableProperties,omitempty"` // The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. PrimaryDisplayProperty *string `json:"primaryDisplayProperty,omitempty"` // A unique name for this object. For internal use only. Name string `json:"name"` Description *string `json:"description,omitempty"` // Associations defined for this object type. AssociatedObjects []string `json:"associatedObjects"` // Properties defined for this object type. Properties []ObjectTypePropertyCreate `json:"properties"` Labels ObjectTypeDefinitionLabels `json:"labels"` }
ObjectSchemaEgg Defines a new object type, its properties, and associations.
func NewObjectSchemaEgg ¶
func NewObjectSchemaEgg(requiredProperties []string, name string, associatedObjects []string, properties []ObjectTypePropertyCreate, labels ObjectTypeDefinitionLabels) *ObjectSchemaEgg
NewObjectSchemaEgg instantiates a new ObjectSchemaEgg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectSchemaEggWithDefaults ¶
func NewObjectSchemaEggWithDefaults() *ObjectSchemaEgg
NewObjectSchemaEggWithDefaults instantiates a new ObjectSchemaEgg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectSchemaEgg) GetAssociatedObjects ¶
func (o *ObjectSchemaEgg) GetAssociatedObjects() []string
GetAssociatedObjects returns the AssociatedObjects field value
func (*ObjectSchemaEgg) GetAssociatedObjectsOk ¶
func (o *ObjectSchemaEgg) GetAssociatedObjectsOk() ([]string, bool)
GetAssociatedObjectsOk returns a tuple with the AssociatedObjects field value and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetDescription ¶
func (o *ObjectSchemaEgg) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ObjectSchemaEgg) GetDescriptionOk ¶
func (o *ObjectSchemaEgg) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetLabels ¶
func (o *ObjectSchemaEgg) GetLabels() ObjectTypeDefinitionLabels
GetLabels returns the Labels field value
func (*ObjectSchemaEgg) GetLabelsOk ¶
func (o *ObjectSchemaEgg) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetName ¶
func (o *ObjectSchemaEgg) GetName() string
GetName returns the Name field value
func (*ObjectSchemaEgg) GetNameOk ¶
func (o *ObjectSchemaEgg) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetPrimaryDisplayProperty ¶
func (o *ObjectSchemaEgg) GetPrimaryDisplayProperty() string
GetPrimaryDisplayProperty returns the PrimaryDisplayProperty field value if set, zero value otherwise.
func (*ObjectSchemaEgg) GetPrimaryDisplayPropertyOk ¶
func (o *ObjectSchemaEgg) GetPrimaryDisplayPropertyOk() (*string, bool)
GetPrimaryDisplayPropertyOk returns a tuple with the PrimaryDisplayProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetProperties ¶
func (o *ObjectSchemaEgg) GetProperties() []ObjectTypePropertyCreate
GetProperties returns the Properties field value
func (*ObjectSchemaEgg) GetPropertiesOk ¶
func (o *ObjectSchemaEgg) GetPropertiesOk() ([]ObjectTypePropertyCreate, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetRequiredProperties ¶
func (o *ObjectSchemaEgg) GetRequiredProperties() []string
GetRequiredProperties returns the RequiredProperties field value
func (*ObjectSchemaEgg) GetRequiredPropertiesOk ¶
func (o *ObjectSchemaEgg) GetRequiredPropertiesOk() ([]string, bool)
GetRequiredPropertiesOk returns a tuple with the RequiredProperties field value and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetSearchableProperties ¶
func (o *ObjectSchemaEgg) GetSearchableProperties() []string
GetSearchableProperties returns the SearchableProperties field value if set, zero value otherwise.
func (*ObjectSchemaEgg) GetSearchablePropertiesOk ¶
func (o *ObjectSchemaEgg) GetSearchablePropertiesOk() ([]string, bool)
GetSearchablePropertiesOk returns a tuple with the SearchableProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) GetSecondaryDisplayProperties ¶
func (o *ObjectSchemaEgg) GetSecondaryDisplayProperties() []string
GetSecondaryDisplayProperties returns the SecondaryDisplayProperties field value if set, zero value otherwise.
func (*ObjectSchemaEgg) GetSecondaryDisplayPropertiesOk ¶
func (o *ObjectSchemaEgg) GetSecondaryDisplayPropertiesOk() ([]string, bool)
GetSecondaryDisplayPropertiesOk returns a tuple with the SecondaryDisplayProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectSchemaEgg) HasDescription ¶
func (o *ObjectSchemaEgg) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ObjectSchemaEgg) HasPrimaryDisplayProperty ¶
func (o *ObjectSchemaEgg) HasPrimaryDisplayProperty() bool
HasPrimaryDisplayProperty returns a boolean if a field has been set.
func (*ObjectSchemaEgg) HasSearchableProperties ¶
func (o *ObjectSchemaEgg) HasSearchableProperties() bool
HasSearchableProperties returns a boolean if a field has been set.
func (*ObjectSchemaEgg) HasSecondaryDisplayProperties ¶
func (o *ObjectSchemaEgg) HasSecondaryDisplayProperties() bool
HasSecondaryDisplayProperties returns a boolean if a field has been set.
func (ObjectSchemaEgg) MarshalJSON ¶
func (o ObjectSchemaEgg) MarshalJSON() ([]byte, error)
func (*ObjectSchemaEgg) SetAssociatedObjects ¶
func (o *ObjectSchemaEgg) SetAssociatedObjects(v []string)
SetAssociatedObjects sets field value
func (*ObjectSchemaEgg) SetDescription ¶
func (o *ObjectSchemaEgg) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ObjectSchemaEgg) SetLabels ¶
func (o *ObjectSchemaEgg) SetLabels(v ObjectTypeDefinitionLabels)
SetLabels sets field value
func (*ObjectSchemaEgg) SetName ¶
func (o *ObjectSchemaEgg) SetName(v string)
SetName sets field value
func (*ObjectSchemaEgg) SetPrimaryDisplayProperty ¶
func (o *ObjectSchemaEgg) SetPrimaryDisplayProperty(v string)
SetPrimaryDisplayProperty gets a reference to the given string and assigns it to the PrimaryDisplayProperty field.
func (*ObjectSchemaEgg) SetProperties ¶
func (o *ObjectSchemaEgg) SetProperties(v []ObjectTypePropertyCreate)
SetProperties sets field value
func (*ObjectSchemaEgg) SetRequiredProperties ¶
func (o *ObjectSchemaEgg) SetRequiredProperties(v []string)
SetRequiredProperties sets field value
func (*ObjectSchemaEgg) SetSearchableProperties ¶
func (o *ObjectSchemaEgg) SetSearchableProperties(v []string)
SetSearchableProperties gets a reference to the given []string and assigns it to the SearchableProperties field.
func (*ObjectSchemaEgg) SetSecondaryDisplayProperties ¶
func (o *ObjectSchemaEgg) SetSecondaryDisplayProperties(v []string)
SetSecondaryDisplayProperties gets a reference to the given []string and assigns it to the SecondaryDisplayProperties field.
type ObjectTypeDefinition ¶
type ObjectTypeDefinition struct { // The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. SecondaryDisplayProperties []string `json:"secondaryDisplayProperties,omitempty"` ObjectTypeId *string `json:"objectTypeId,omitempty"` Description *string `json:"description,omitempty"` FullyQualifiedName *string `json:"fullyQualifiedName,omitempty"` Labels ObjectTypeDefinitionLabels `json:"labels"` Archived *bool `json:"archived,omitempty"` // When the object type was created. CreatedAt *time.Time `json:"createdAt,omitempty"` // The names of properties that should be **required** when creating an object of this type. RequiredProperties []string `json:"requiredProperties"` // Names of properties that will be indexed for this object type in by HubSpot's product search. SearchableProperties []string `json:"searchableProperties,omitempty"` // The ID of the account that this object type is specific to. PortalId *int32 `json:"portalId,omitempty"` // The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. PrimaryDisplayProperty *string `json:"primaryDisplayProperty,omitempty"` // A unique name for this object. For internal use only. Name string `json:"name"` // A unique ID for this object type. Will be defined as {meta-type}-{unique ID}. Id string `json:"id"` // When the object type was last updated. UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
ObjectTypeDefinition Defines an object type.
func NewObjectTypeDefinition ¶
func NewObjectTypeDefinition(labels ObjectTypeDefinitionLabels, requiredProperties []string, name string, id string) *ObjectTypeDefinition
NewObjectTypeDefinition instantiates a new ObjectTypeDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectTypeDefinitionWithDefaults ¶
func NewObjectTypeDefinitionWithDefaults() *ObjectTypeDefinition
NewObjectTypeDefinitionWithDefaults instantiates a new ObjectTypeDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectTypeDefinition) GetArchived ¶
func (o *ObjectTypeDefinition) GetArchived() bool
GetArchived returns the Archived field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetArchivedOk ¶
func (o *ObjectTypeDefinition) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetCreatedAt ¶
func (o *ObjectTypeDefinition) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetCreatedAtOk ¶
func (o *ObjectTypeDefinition) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetDescription ¶
func (o *ObjectTypeDefinition) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetDescriptionOk ¶
func (o *ObjectTypeDefinition) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetFullyQualifiedName ¶
func (o *ObjectTypeDefinition) GetFullyQualifiedName() string
GetFullyQualifiedName returns the FullyQualifiedName field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetFullyQualifiedNameOk ¶
func (o *ObjectTypeDefinition) GetFullyQualifiedNameOk() (*string, bool)
GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetId ¶
func (o *ObjectTypeDefinition) GetId() string
GetId returns the Id field value
func (*ObjectTypeDefinition) GetIdOk ¶
func (o *ObjectTypeDefinition) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetLabels ¶
func (o *ObjectTypeDefinition) GetLabels() ObjectTypeDefinitionLabels
GetLabels returns the Labels field value
func (*ObjectTypeDefinition) GetLabelsOk ¶
func (o *ObjectTypeDefinition) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetName ¶
func (o *ObjectTypeDefinition) GetName() string
GetName returns the Name field value
func (*ObjectTypeDefinition) GetNameOk ¶
func (o *ObjectTypeDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetObjectTypeId ¶
func (o *ObjectTypeDefinition) GetObjectTypeId() string
GetObjectTypeId returns the ObjectTypeId field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetObjectTypeIdOk ¶
func (o *ObjectTypeDefinition) GetObjectTypeIdOk() (*string, bool)
GetObjectTypeIdOk returns a tuple with the ObjectTypeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetPortalId ¶
func (o *ObjectTypeDefinition) GetPortalId() int32
GetPortalId returns the PortalId field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetPortalIdOk ¶
func (o *ObjectTypeDefinition) GetPortalIdOk() (*int32, bool)
GetPortalIdOk returns a tuple with the PortalId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinition) GetPrimaryDisplayProperty() string
GetPrimaryDisplayProperty returns the PrimaryDisplayProperty field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetPrimaryDisplayPropertyOk ¶
func (o *ObjectTypeDefinition) GetPrimaryDisplayPropertyOk() (*string, bool)
GetPrimaryDisplayPropertyOk returns a tuple with the PrimaryDisplayProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetRequiredProperties ¶
func (o *ObjectTypeDefinition) GetRequiredProperties() []string
GetRequiredProperties returns the RequiredProperties field value
func (*ObjectTypeDefinition) GetRequiredPropertiesOk ¶
func (o *ObjectTypeDefinition) GetRequiredPropertiesOk() ([]string, bool)
GetRequiredPropertiesOk returns a tuple with the RequiredProperties field value and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetSearchableProperties ¶
func (o *ObjectTypeDefinition) GetSearchableProperties() []string
GetSearchableProperties returns the SearchableProperties field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetSearchablePropertiesOk ¶
func (o *ObjectTypeDefinition) GetSearchablePropertiesOk() ([]string, bool)
GetSearchablePropertiesOk returns a tuple with the SearchableProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinition) GetSecondaryDisplayProperties() []string
GetSecondaryDisplayProperties returns the SecondaryDisplayProperties field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetSecondaryDisplayPropertiesOk ¶
func (o *ObjectTypeDefinition) GetSecondaryDisplayPropertiesOk() ([]string, bool)
GetSecondaryDisplayPropertiesOk returns a tuple with the SecondaryDisplayProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) GetUpdatedAt ¶
func (o *ObjectTypeDefinition) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ObjectTypeDefinition) GetUpdatedAtOk ¶
func (o *ObjectTypeDefinition) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinition) HasArchived ¶
func (o *ObjectTypeDefinition) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasCreatedAt ¶
func (o *ObjectTypeDefinition) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasDescription ¶
func (o *ObjectTypeDefinition) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasFullyQualifiedName ¶
func (o *ObjectTypeDefinition) HasFullyQualifiedName() bool
HasFullyQualifiedName returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasObjectTypeId ¶
func (o *ObjectTypeDefinition) HasObjectTypeId() bool
HasObjectTypeId returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasPortalId ¶
func (o *ObjectTypeDefinition) HasPortalId() bool
HasPortalId returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinition) HasPrimaryDisplayProperty() bool
HasPrimaryDisplayProperty returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasSearchableProperties ¶
func (o *ObjectTypeDefinition) HasSearchableProperties() bool
HasSearchableProperties returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinition) HasSecondaryDisplayProperties() bool
HasSecondaryDisplayProperties returns a boolean if a field has been set.
func (*ObjectTypeDefinition) HasUpdatedAt ¶
func (o *ObjectTypeDefinition) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ObjectTypeDefinition) MarshalJSON ¶
func (o ObjectTypeDefinition) MarshalJSON() ([]byte, error)
func (*ObjectTypeDefinition) SetArchived ¶
func (o *ObjectTypeDefinition) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*ObjectTypeDefinition) SetCreatedAt ¶
func (o *ObjectTypeDefinition) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ObjectTypeDefinition) SetDescription ¶
func (o *ObjectTypeDefinition) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ObjectTypeDefinition) SetFullyQualifiedName ¶
func (o *ObjectTypeDefinition) SetFullyQualifiedName(v string)
SetFullyQualifiedName gets a reference to the given string and assigns it to the FullyQualifiedName field.
func (*ObjectTypeDefinition) SetId ¶
func (o *ObjectTypeDefinition) SetId(v string)
SetId sets field value
func (*ObjectTypeDefinition) SetLabels ¶
func (o *ObjectTypeDefinition) SetLabels(v ObjectTypeDefinitionLabels)
SetLabels sets field value
func (*ObjectTypeDefinition) SetName ¶
func (o *ObjectTypeDefinition) SetName(v string)
SetName sets field value
func (*ObjectTypeDefinition) SetObjectTypeId ¶
func (o *ObjectTypeDefinition) SetObjectTypeId(v string)
SetObjectTypeId gets a reference to the given string and assigns it to the ObjectTypeId field.
func (*ObjectTypeDefinition) SetPortalId ¶
func (o *ObjectTypeDefinition) SetPortalId(v int32)
SetPortalId gets a reference to the given int32 and assigns it to the PortalId field.
func (*ObjectTypeDefinition) SetPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinition) SetPrimaryDisplayProperty(v string)
SetPrimaryDisplayProperty gets a reference to the given string and assigns it to the PrimaryDisplayProperty field.
func (*ObjectTypeDefinition) SetRequiredProperties ¶
func (o *ObjectTypeDefinition) SetRequiredProperties(v []string)
SetRequiredProperties sets field value
func (*ObjectTypeDefinition) SetSearchableProperties ¶
func (o *ObjectTypeDefinition) SetSearchableProperties(v []string)
SetSearchableProperties gets a reference to the given []string and assigns it to the SearchableProperties field.
func (*ObjectTypeDefinition) SetSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinition) SetSecondaryDisplayProperties(v []string)
SetSecondaryDisplayProperties gets a reference to the given []string and assigns it to the SecondaryDisplayProperties field.
func (*ObjectTypeDefinition) SetUpdatedAt ¶
func (o *ObjectTypeDefinition) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type ObjectTypeDefinitionLabels ¶
type ObjectTypeDefinitionLabels struct { // The word for multiple objects. (There’s no way to change this later.) Plural *string `json:"plural,omitempty"` // The word for one object. (There’s no way to change this later.) Singular *string `json:"singular,omitempty"` }
ObjectTypeDefinitionLabels Singular and plural labels for the object. Used in CRM display.
func NewObjectTypeDefinitionLabels ¶
func NewObjectTypeDefinitionLabels() *ObjectTypeDefinitionLabels
NewObjectTypeDefinitionLabels instantiates a new ObjectTypeDefinitionLabels object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectTypeDefinitionLabelsWithDefaults ¶
func NewObjectTypeDefinitionLabelsWithDefaults() *ObjectTypeDefinitionLabels
NewObjectTypeDefinitionLabelsWithDefaults instantiates a new ObjectTypeDefinitionLabels object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectTypeDefinitionLabels) GetPlural ¶
func (o *ObjectTypeDefinitionLabels) GetPlural() string
GetPlural returns the Plural field value if set, zero value otherwise.
func (*ObjectTypeDefinitionLabels) GetPluralOk ¶
func (o *ObjectTypeDefinitionLabels) GetPluralOk() (*string, bool)
GetPluralOk returns a tuple with the Plural field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionLabels) GetSingular ¶
func (o *ObjectTypeDefinitionLabels) GetSingular() string
GetSingular returns the Singular field value if set, zero value otherwise.
func (*ObjectTypeDefinitionLabels) GetSingularOk ¶
func (o *ObjectTypeDefinitionLabels) GetSingularOk() (*string, bool)
GetSingularOk returns a tuple with the Singular field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionLabels) HasPlural ¶
func (o *ObjectTypeDefinitionLabels) HasPlural() bool
HasPlural returns a boolean if a field has been set.
func (*ObjectTypeDefinitionLabels) HasSingular ¶
func (o *ObjectTypeDefinitionLabels) HasSingular() bool
HasSingular returns a boolean if a field has been set.
func (ObjectTypeDefinitionLabels) MarshalJSON ¶
func (o ObjectTypeDefinitionLabels) MarshalJSON() ([]byte, error)
func (*ObjectTypeDefinitionLabels) SetPlural ¶
func (o *ObjectTypeDefinitionLabels) SetPlural(v string)
SetPlural gets a reference to the given string and assigns it to the Plural field.
func (*ObjectTypeDefinitionLabels) SetSingular ¶
func (o *ObjectTypeDefinitionLabels) SetSingular(v string)
SetSingular gets a reference to the given string and assigns it to the Singular field.
type ObjectTypeDefinitionPatch ¶
type ObjectTypeDefinitionPatch struct { // The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. SecondaryDisplayProperties []string `json:"secondaryDisplayProperties,omitempty"` // The names of properties that should be **required** when creating an object of this type. RequiredProperties []string `json:"requiredProperties,omitempty"` // Names of properties that will be indexed for this object type in by HubSpot's product search. SearchableProperties []string `json:"searchableProperties,omitempty"` // The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. PrimaryDisplayProperty *string `json:"primaryDisplayProperty,omitempty"` Description *string `json:"description,omitempty"` Restorable *bool `json:"restorable,omitempty"` Labels *ObjectTypeDefinitionLabels `json:"labels,omitempty"` }
ObjectTypeDefinitionPatch Defines attributes to update on an object type.
func NewObjectTypeDefinitionPatch ¶
func NewObjectTypeDefinitionPatch() *ObjectTypeDefinitionPatch
NewObjectTypeDefinitionPatch instantiates a new ObjectTypeDefinitionPatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectTypeDefinitionPatchWithDefaults ¶
func NewObjectTypeDefinitionPatchWithDefaults() *ObjectTypeDefinitionPatch
NewObjectTypeDefinitionPatchWithDefaults instantiates a new ObjectTypeDefinitionPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectTypeDefinitionPatch) GetDescription ¶
func (o *ObjectTypeDefinitionPatch) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetDescriptionOk ¶
func (o *ObjectTypeDefinitionPatch) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetLabels ¶
func (o *ObjectTypeDefinitionPatch) GetLabels() ObjectTypeDefinitionLabels
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetLabelsOk ¶
func (o *ObjectTypeDefinitionPatch) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinitionPatch) GetPrimaryDisplayProperty() string
GetPrimaryDisplayProperty returns the PrimaryDisplayProperty field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetPrimaryDisplayPropertyOk ¶
func (o *ObjectTypeDefinitionPatch) GetPrimaryDisplayPropertyOk() (*string, bool)
GetPrimaryDisplayPropertyOk returns a tuple with the PrimaryDisplayProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetRequiredProperties ¶
func (o *ObjectTypeDefinitionPatch) GetRequiredProperties() []string
GetRequiredProperties returns the RequiredProperties field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetRequiredPropertiesOk ¶
func (o *ObjectTypeDefinitionPatch) GetRequiredPropertiesOk() ([]string, bool)
GetRequiredPropertiesOk returns a tuple with the RequiredProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetRestorable ¶
func (o *ObjectTypeDefinitionPatch) GetRestorable() bool
GetRestorable returns the Restorable field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetRestorableOk ¶
func (o *ObjectTypeDefinitionPatch) GetRestorableOk() (*bool, bool)
GetRestorableOk returns a tuple with the Restorable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetSearchableProperties ¶
func (o *ObjectTypeDefinitionPatch) GetSearchableProperties() []string
GetSearchableProperties returns the SearchableProperties field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetSearchablePropertiesOk ¶
func (o *ObjectTypeDefinitionPatch) GetSearchablePropertiesOk() ([]string, bool)
GetSearchablePropertiesOk returns a tuple with the SearchableProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) GetSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinitionPatch) GetSecondaryDisplayProperties() []string
GetSecondaryDisplayProperties returns the SecondaryDisplayProperties field value if set, zero value otherwise.
func (*ObjectTypeDefinitionPatch) GetSecondaryDisplayPropertiesOk ¶
func (o *ObjectTypeDefinitionPatch) GetSecondaryDisplayPropertiesOk() ([]string, bool)
GetSecondaryDisplayPropertiesOk returns a tuple with the SecondaryDisplayProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypeDefinitionPatch) HasDescription ¶
func (o *ObjectTypeDefinitionPatch) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasLabels ¶
func (o *ObjectTypeDefinitionPatch) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinitionPatch) HasPrimaryDisplayProperty() bool
HasPrimaryDisplayProperty returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasRequiredProperties ¶
func (o *ObjectTypeDefinitionPatch) HasRequiredProperties() bool
HasRequiredProperties returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasRestorable ¶
func (o *ObjectTypeDefinitionPatch) HasRestorable() bool
HasRestorable returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasSearchableProperties ¶
func (o *ObjectTypeDefinitionPatch) HasSearchableProperties() bool
HasSearchableProperties returns a boolean if a field has been set.
func (*ObjectTypeDefinitionPatch) HasSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinitionPatch) HasSecondaryDisplayProperties() bool
HasSecondaryDisplayProperties returns a boolean if a field has been set.
func (ObjectTypeDefinitionPatch) MarshalJSON ¶
func (o ObjectTypeDefinitionPatch) MarshalJSON() ([]byte, error)
func (*ObjectTypeDefinitionPatch) SetDescription ¶
func (o *ObjectTypeDefinitionPatch) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ObjectTypeDefinitionPatch) SetLabels ¶
func (o *ObjectTypeDefinitionPatch) SetLabels(v ObjectTypeDefinitionLabels)
SetLabels gets a reference to the given ObjectTypeDefinitionLabels and assigns it to the Labels field.
func (*ObjectTypeDefinitionPatch) SetPrimaryDisplayProperty ¶
func (o *ObjectTypeDefinitionPatch) SetPrimaryDisplayProperty(v string)
SetPrimaryDisplayProperty gets a reference to the given string and assigns it to the PrimaryDisplayProperty field.
func (*ObjectTypeDefinitionPatch) SetRequiredProperties ¶
func (o *ObjectTypeDefinitionPatch) SetRequiredProperties(v []string)
SetRequiredProperties gets a reference to the given []string and assigns it to the RequiredProperties field.
func (*ObjectTypeDefinitionPatch) SetRestorable ¶
func (o *ObjectTypeDefinitionPatch) SetRestorable(v bool)
SetRestorable gets a reference to the given bool and assigns it to the Restorable field.
func (*ObjectTypeDefinitionPatch) SetSearchableProperties ¶
func (o *ObjectTypeDefinitionPatch) SetSearchableProperties(v []string)
SetSearchableProperties gets a reference to the given []string and assigns it to the SearchableProperties field.
func (*ObjectTypeDefinitionPatch) SetSecondaryDisplayProperties ¶
func (o *ObjectTypeDefinitionPatch) SetSecondaryDisplayProperties(v []string)
SetSecondaryDisplayProperties gets a reference to the given []string and assigns it to the SecondaryDisplayProperties field.
type ObjectTypePropertyCreate ¶
type ObjectTypePropertyCreate struct { Hidden *bool `json:"hidden,omitempty"` // Controls how the property options will be sorted in the HubSpot UI. OptionSortStrategy *string `json:"optionSortStrategy,omitempty"` // The order that this property should be displayed in the HubSpot UI relative to other properties for this object type. Properties are displayed in order starting with the lowest positive integer value. A value of -1 will cause the property to be displayed **after** any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` // A description of the property that will be shown as help text in HubSpot. Description *string `json:"description,omitempty"` // Whether the property will display the currency symbol in the HubSpot UI. ShowCurrencySymbol *bool `json:"showCurrencySymbol,omitempty"` // A human-readable property label that will be shown in HubSpot. Label string `json:"label"` // The data type of the property. Type string `json:"type"` // Whether the property can be used in a HubSpot form. FormField *bool `json:"formField,omitempty"` // The name of the group this property belongs to. GroupName *string `json:"groupName,omitempty"` // Defines the options this property will return, e.g. OWNER would return name of users on the portal. ReferencedObjectType *string `json:"referencedObjectType,omitempty"` // Controls how text properties are formatted in the HubSpot UI TextDisplayHint *string `json:"textDisplayHint,omitempty"` // The internal property name, which must be used when referencing the property from the API. Name string `json:"name"` // A list of available options for the property. This field is only required for enumerated properties. Options []OptionInput `json:"options,omitempty"` // Allow users to search for information entered to this field (limited to 3 properties) SearchableInGlobalSearch *bool `json:"searchableInGlobalSearch,omitempty"` // Controls how numeric properties are formatted in the HubSpot UI NumberDisplayHint *string `json:"numberDisplayHint,omitempty"` // Whether or not the property's value must be unique. Once set, this can't be changed. HasUniqueValue *bool `json:"hasUniqueValue,omitempty"` // Controls how the property appears in HubSpot. FieldType string `json:"fieldType"` }
ObjectTypePropertyCreate Defines a property to create.
func NewObjectTypePropertyCreate ¶
func NewObjectTypePropertyCreate(label string, type_ string, name string, fieldType string) *ObjectTypePropertyCreate
NewObjectTypePropertyCreate instantiates a new ObjectTypePropertyCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectTypePropertyCreateWithDefaults ¶
func NewObjectTypePropertyCreateWithDefaults() *ObjectTypePropertyCreate
NewObjectTypePropertyCreateWithDefaults instantiates a new ObjectTypePropertyCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectTypePropertyCreate) GetDescription ¶
func (o *ObjectTypePropertyCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetDescriptionOk ¶
func (o *ObjectTypePropertyCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetDisplayOrder ¶
func (o *ObjectTypePropertyCreate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetDisplayOrderOk ¶
func (o *ObjectTypePropertyCreate) GetDisplayOrderOk() (*int32, bool)
GetDisplayOrderOk returns a tuple with the DisplayOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetFieldType ¶
func (o *ObjectTypePropertyCreate) GetFieldType() string
GetFieldType returns the FieldType field value
func (*ObjectTypePropertyCreate) GetFieldTypeOk ¶
func (o *ObjectTypePropertyCreate) GetFieldTypeOk() (*string, bool)
GetFieldTypeOk returns a tuple with the FieldType field value and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetFormField ¶
func (o *ObjectTypePropertyCreate) GetFormField() bool
GetFormField returns the FormField field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetFormFieldOk ¶
func (o *ObjectTypePropertyCreate) GetFormFieldOk() (*bool, bool)
GetFormFieldOk returns a tuple with the FormField field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetGroupName ¶
func (o *ObjectTypePropertyCreate) GetGroupName() string
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetGroupNameOk ¶
func (o *ObjectTypePropertyCreate) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetHasUniqueValue ¶
func (o *ObjectTypePropertyCreate) GetHasUniqueValue() bool
GetHasUniqueValue returns the HasUniqueValue field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetHasUniqueValueOk ¶
func (o *ObjectTypePropertyCreate) GetHasUniqueValueOk() (*bool, bool)
GetHasUniqueValueOk returns a tuple with the HasUniqueValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetHidden ¶
func (o *ObjectTypePropertyCreate) GetHidden() bool
GetHidden returns the Hidden field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetHiddenOk ¶
func (o *ObjectTypePropertyCreate) GetHiddenOk() (*bool, bool)
GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetLabel ¶
func (o *ObjectTypePropertyCreate) GetLabel() string
GetLabel returns the Label field value
func (*ObjectTypePropertyCreate) GetLabelOk ¶
func (o *ObjectTypePropertyCreate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetName ¶
func (o *ObjectTypePropertyCreate) GetName() string
GetName returns the Name field value
func (*ObjectTypePropertyCreate) GetNameOk ¶
func (o *ObjectTypePropertyCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetNumberDisplayHint ¶
func (o *ObjectTypePropertyCreate) GetNumberDisplayHint() string
GetNumberDisplayHint returns the NumberDisplayHint field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetNumberDisplayHintOk ¶
func (o *ObjectTypePropertyCreate) GetNumberDisplayHintOk() (*string, bool)
GetNumberDisplayHintOk returns a tuple with the NumberDisplayHint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetOptionSortStrategy ¶
func (o *ObjectTypePropertyCreate) GetOptionSortStrategy() string
GetOptionSortStrategy returns the OptionSortStrategy field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetOptionSortStrategyOk ¶
func (o *ObjectTypePropertyCreate) GetOptionSortStrategyOk() (*string, bool)
GetOptionSortStrategyOk returns a tuple with the OptionSortStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetOptions ¶
func (o *ObjectTypePropertyCreate) GetOptions() []OptionInput
GetOptions returns the Options field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetOptionsOk ¶
func (o *ObjectTypePropertyCreate) GetOptionsOk() ([]OptionInput, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetReferencedObjectType ¶
func (o *ObjectTypePropertyCreate) GetReferencedObjectType() string
GetReferencedObjectType returns the ReferencedObjectType field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetReferencedObjectTypeOk ¶
func (o *ObjectTypePropertyCreate) GetReferencedObjectTypeOk() (*string, bool)
GetReferencedObjectTypeOk returns a tuple with the ReferencedObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetSearchableInGlobalSearch ¶
func (o *ObjectTypePropertyCreate) GetSearchableInGlobalSearch() bool
GetSearchableInGlobalSearch returns the SearchableInGlobalSearch field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetSearchableInGlobalSearchOk ¶
func (o *ObjectTypePropertyCreate) GetSearchableInGlobalSearchOk() (*bool, bool)
GetSearchableInGlobalSearchOk returns a tuple with the SearchableInGlobalSearch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetShowCurrencySymbol ¶
func (o *ObjectTypePropertyCreate) GetShowCurrencySymbol() bool
GetShowCurrencySymbol returns the ShowCurrencySymbol field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetShowCurrencySymbolOk ¶
func (o *ObjectTypePropertyCreate) GetShowCurrencySymbolOk() (*bool, bool)
GetShowCurrencySymbolOk returns a tuple with the ShowCurrencySymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetTextDisplayHint ¶
func (o *ObjectTypePropertyCreate) GetTextDisplayHint() string
GetTextDisplayHint returns the TextDisplayHint field value if set, zero value otherwise.
func (*ObjectTypePropertyCreate) GetTextDisplayHintOk ¶
func (o *ObjectTypePropertyCreate) GetTextDisplayHintOk() (*string, bool)
GetTextDisplayHintOk returns a tuple with the TextDisplayHint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) GetType ¶
func (o *ObjectTypePropertyCreate) GetType() string
GetType returns the Type field value
func (*ObjectTypePropertyCreate) GetTypeOk ¶
func (o *ObjectTypePropertyCreate) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ObjectTypePropertyCreate) HasDescription ¶
func (o *ObjectTypePropertyCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasDisplayOrder ¶
func (o *ObjectTypePropertyCreate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasFormField ¶
func (o *ObjectTypePropertyCreate) HasFormField() bool
HasFormField returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasGroupName ¶
func (o *ObjectTypePropertyCreate) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasHasUniqueValue ¶
func (o *ObjectTypePropertyCreate) HasHasUniqueValue() bool
HasHasUniqueValue returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasHidden ¶
func (o *ObjectTypePropertyCreate) HasHidden() bool
HasHidden returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasNumberDisplayHint ¶
func (o *ObjectTypePropertyCreate) HasNumberDisplayHint() bool
HasNumberDisplayHint returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasOptionSortStrategy ¶
func (o *ObjectTypePropertyCreate) HasOptionSortStrategy() bool
HasOptionSortStrategy returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasOptions ¶
func (o *ObjectTypePropertyCreate) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasReferencedObjectType ¶
func (o *ObjectTypePropertyCreate) HasReferencedObjectType() bool
HasReferencedObjectType returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasSearchableInGlobalSearch ¶
func (o *ObjectTypePropertyCreate) HasSearchableInGlobalSearch() bool
HasSearchableInGlobalSearch returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasShowCurrencySymbol ¶
func (o *ObjectTypePropertyCreate) HasShowCurrencySymbol() bool
HasShowCurrencySymbol returns a boolean if a field has been set.
func (*ObjectTypePropertyCreate) HasTextDisplayHint ¶
func (o *ObjectTypePropertyCreate) HasTextDisplayHint() bool
HasTextDisplayHint returns a boolean if a field has been set.
func (ObjectTypePropertyCreate) MarshalJSON ¶
func (o ObjectTypePropertyCreate) MarshalJSON() ([]byte, error)
func (*ObjectTypePropertyCreate) SetDescription ¶
func (o *ObjectTypePropertyCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ObjectTypePropertyCreate) SetDisplayOrder ¶
func (o *ObjectTypePropertyCreate) SetDisplayOrder(v int32)
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*ObjectTypePropertyCreate) SetFieldType ¶
func (o *ObjectTypePropertyCreate) SetFieldType(v string)
SetFieldType sets field value
func (*ObjectTypePropertyCreate) SetFormField ¶
func (o *ObjectTypePropertyCreate) SetFormField(v bool)
SetFormField gets a reference to the given bool and assigns it to the FormField field.
func (*ObjectTypePropertyCreate) SetGroupName ¶
func (o *ObjectTypePropertyCreate) SetGroupName(v string)
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*ObjectTypePropertyCreate) SetHasUniqueValue ¶
func (o *ObjectTypePropertyCreate) SetHasUniqueValue(v bool)
SetHasUniqueValue gets a reference to the given bool and assigns it to the HasUniqueValue field.
func (*ObjectTypePropertyCreate) SetHidden ¶
func (o *ObjectTypePropertyCreate) SetHidden(v bool)
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*ObjectTypePropertyCreate) SetLabel ¶
func (o *ObjectTypePropertyCreate) SetLabel(v string)
SetLabel sets field value
func (*ObjectTypePropertyCreate) SetName ¶
func (o *ObjectTypePropertyCreate) SetName(v string)
SetName sets field value
func (*ObjectTypePropertyCreate) SetNumberDisplayHint ¶
func (o *ObjectTypePropertyCreate) SetNumberDisplayHint(v string)
SetNumberDisplayHint gets a reference to the given string and assigns it to the NumberDisplayHint field.
func (*ObjectTypePropertyCreate) SetOptionSortStrategy ¶
func (o *ObjectTypePropertyCreate) SetOptionSortStrategy(v string)
SetOptionSortStrategy gets a reference to the given string and assigns it to the OptionSortStrategy field.
func (*ObjectTypePropertyCreate) SetOptions ¶
func (o *ObjectTypePropertyCreate) SetOptions(v []OptionInput)
SetOptions gets a reference to the given []OptionInput and assigns it to the Options field.
func (*ObjectTypePropertyCreate) SetReferencedObjectType ¶
func (o *ObjectTypePropertyCreate) SetReferencedObjectType(v string)
SetReferencedObjectType gets a reference to the given string and assigns it to the ReferencedObjectType field.
func (*ObjectTypePropertyCreate) SetSearchableInGlobalSearch ¶
func (o *ObjectTypePropertyCreate) SetSearchableInGlobalSearch(v bool)
SetSearchableInGlobalSearch gets a reference to the given bool and assigns it to the SearchableInGlobalSearch field.
func (*ObjectTypePropertyCreate) SetShowCurrencySymbol ¶
func (o *ObjectTypePropertyCreate) SetShowCurrencySymbol(v bool)
SetShowCurrencySymbol gets a reference to the given bool and assigns it to the ShowCurrencySymbol field.
func (*ObjectTypePropertyCreate) SetTextDisplayHint ¶
func (o *ObjectTypePropertyCreate) SetTextDisplayHint(v string)
SetTextDisplayHint gets a reference to the given string and assigns it to the TextDisplayHint field.
func (*ObjectTypePropertyCreate) SetType ¶
func (o *ObjectTypePropertyCreate) SetType(v string)
SetType sets field value
type Option ¶
type Option struct { // Hidden options will not be displayed in HubSpot. Hidden bool `json:"hidden"` // Options are displayed in order starting with the lowest positive integer value. Values of -1 will cause the option to be displayed after any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` // A description of the option. Description *string `json:"description,omitempty"` // A human-readable option label that will be shown in HubSpot. Label string `json:"label"` // The internal value of the option, which must be used when setting the property value through the API. Value string `json:"value"` }
Option The options available when a property is an enumeration
func NewOption ¶
NewOption instantiates a new Option object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOptionWithDefaults ¶
func NewOptionWithDefaults() *Option
NewOptionWithDefaults instantiates a new Option object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Option) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Option) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Option) GetDisplayOrder ¶
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*Option) GetDisplayOrderOk ¶
GetDisplayOrderOk returns a tuple with the DisplayOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Option) GetHiddenOk ¶
GetHiddenOk returns a tuple with the Hidden field value and a boolean to check if the value has been set.
func (*Option) GetLabelOk ¶
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*Option) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*Option) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Option) HasDisplayOrder ¶
HasDisplayOrder returns a boolean if a field has been set.
func (Option) MarshalJSON ¶
func (*Option) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Option) SetDisplayOrder ¶
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
type OptionInput ¶
type OptionInput struct { // Hidden options won't be shown in HubSpot. Hidden bool `json:"hidden"` // Options are shown in order starting with the lowest positive integer value. Values of -1 will cause the option to be displayed after any positive values. DisplayOrder int32 `json:"displayOrder"` // A description of the option. Description *string `json:"description,omitempty"` // A human-readable option label that will be shown in HubSpot. Label string `json:"label"` // The internal value of the option, which must be used when setting the property value through the API. Value string `json:"value"` }
OptionInput Defines a enumeration property option
func NewOptionInput ¶
func NewOptionInput(hidden bool, displayOrder int32, label string, value string) *OptionInput
NewOptionInput instantiates a new OptionInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOptionInputWithDefaults ¶
func NewOptionInputWithDefaults() *OptionInput
NewOptionInputWithDefaults instantiates a new OptionInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OptionInput) GetDescription ¶
func (o *OptionInput) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*OptionInput) GetDescriptionOk ¶
func (o *OptionInput) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OptionInput) GetDisplayOrder ¶
func (o *OptionInput) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value
func (*OptionInput) GetDisplayOrderOk ¶
func (o *OptionInput) GetDisplayOrderOk() (*int32, bool)
GetDisplayOrderOk returns a tuple with the DisplayOrder field value and a boolean to check if the value has been set.
func (*OptionInput) GetHidden ¶
func (o *OptionInput) GetHidden() bool
GetHidden returns the Hidden field value
func (*OptionInput) GetHiddenOk ¶
func (o *OptionInput) GetHiddenOk() (*bool, bool)
GetHiddenOk returns a tuple with the Hidden field value and a boolean to check if the value has been set.
func (*OptionInput) GetLabel ¶
func (o *OptionInput) GetLabel() string
GetLabel returns the Label field value
func (*OptionInput) GetLabelOk ¶
func (o *OptionInput) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*OptionInput) GetValue ¶
func (o *OptionInput) GetValue() string
GetValue returns the Value field value
func (*OptionInput) GetValueOk ¶
func (o *OptionInput) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*OptionInput) HasDescription ¶
func (o *OptionInput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (OptionInput) MarshalJSON ¶
func (o OptionInput) MarshalJSON() ([]byte, error)
func (*OptionInput) SetDescription ¶
func (o *OptionInput) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*OptionInput) SetDisplayOrder ¶
func (o *OptionInput) SetDisplayOrder(v int32)
SetDisplayOrder sets field value
type Property ¶
type Property struct { // The internal ID of the user who created the property in HubSpot. This field may not exist if the property was created outside of HubSpot. CreatedUserId *string `json:"createdUserId,omitempty"` Hidden *bool `json:"hidden,omitempty"` ModificationMetadata *PropertyModificationMetadata `json:"modificationMetadata,omitempty"` // The order that this property should be displayed in the HubSpot UI relative to other properties for this object type. Properties are displayed in order starting with the lowest positive integer value. A value of -1 will cause the property to be displayed **after** any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` // A description of the property that will be shown as help text in HubSpot. Description string `json:"description"` // Whether the property will display the currency symbol set in the account settings. ShowCurrencySymbol *bool `json:"showCurrencySymbol,omitempty"` // A human-readable property label that will be shown in HubSpot. Label string `json:"label"` // The property data type. Type string `json:"type"` // This will be true for default object properties built into HubSpot. HubspotDefined *bool `json:"hubspotDefined,omitempty"` // Whether or not the property can be used in a HubSpot form. FormField *bool `json:"formField,omitempty"` // When the property was created CreatedAt *time.Time `json:"createdAt,omitempty"` // When the property was archived. ArchivedAt *time.Time `json:"archivedAt,omitempty"` // Whether or not the property is archived. Archived *bool `json:"archived,omitempty"` // The name of the property group the property belongs to. GroupName string `json:"groupName"` // If this property is related to other object(s), they'll be listed here. ReferencedObjectType *string `json:"referencedObjectType,omitempty"` // The internal property name, which must be used when referencing the property via the API. Name string `json:"name"` // A list of valid options for the property. This field is required for enumerated properties, but will be empty for other property types. Options []Option `json:"options"` CalculationFormula *string `json:"calculationFormula,omitempty"` // Whether or not the property's value must be unique. Once set, this can't be changed. HasUniqueValue *bool `json:"hasUniqueValue,omitempty"` // Controls how the property appears in HubSpot. FieldType string `json:"fieldType"` // The internal user ID of the user who updated the property in HubSpot. This field may not exist if the property was updated outside of HubSpot. UpdatedUserId *string `json:"updatedUserId,omitempty"` // For default properties, true indicates that the property is calculated by a HubSpot process. It has no effect for custom properties. Calculated *bool `json:"calculated,omitempty"` // For default properties, true indicates that the options are stored externally to the property settings. ExternalOptions *bool `json:"externalOptions,omitempty"` // UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
Property Defines a property
func NewProperty ¶
func NewProperty(description string, label string, type_ string, groupName string, name string, options []Option, fieldType string) *Property
NewProperty instantiates a new Property object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPropertyWithDefaults ¶
func NewPropertyWithDefaults() *Property
NewPropertyWithDefaults instantiates a new Property object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Property) GetArchived ¶
GetArchived returns the Archived field value if set, zero value otherwise.
func (*Property) GetArchivedAt ¶
GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.
func (*Property) GetArchivedAtOk ¶
GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetArchivedOk ¶
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetCalculated ¶
GetCalculated returns the Calculated field value if set, zero value otherwise.
func (*Property) GetCalculatedOk ¶
GetCalculatedOk returns a tuple with the Calculated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetCalculationFormula ¶
GetCalculationFormula returns the CalculationFormula field value if set, zero value otherwise.
func (*Property) GetCalculationFormulaOk ¶
GetCalculationFormulaOk returns a tuple with the CalculationFormula field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Property) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetCreatedUserId ¶
GetCreatedUserId returns the CreatedUserId field value if set, zero value otherwise.
func (*Property) GetCreatedUserIdOk ¶
GetCreatedUserIdOk returns a tuple with the CreatedUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetDescription ¶
GetDescription returns the Description field value
func (*Property) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Property) GetDisplayOrder ¶
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*Property) GetDisplayOrderOk ¶
GetDisplayOrderOk returns a tuple with the DisplayOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetExternalOptions ¶
GetExternalOptions returns the ExternalOptions field value if set, zero value otherwise.
func (*Property) GetExternalOptionsOk ¶
GetExternalOptionsOk returns a tuple with the ExternalOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetFieldType ¶
GetFieldType returns the FieldType field value
func (*Property) GetFieldTypeOk ¶
GetFieldTypeOk returns a tuple with the FieldType field value and a boolean to check if the value has been set.
func (*Property) GetFormField ¶
GetFormField returns the FormField field value if set, zero value otherwise.
func (*Property) GetFormFieldOk ¶
GetFormFieldOk returns a tuple with the FormField field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetGroupName ¶
GetGroupName returns the GroupName field value
func (*Property) GetGroupNameOk ¶
GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.
func (*Property) GetHasUniqueValue ¶
GetHasUniqueValue returns the HasUniqueValue field value if set, zero value otherwise.
func (*Property) GetHasUniqueValueOk ¶
GetHasUniqueValueOk returns a tuple with the HasUniqueValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetHiddenOk ¶
GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetHubspotDefined ¶
GetHubspotDefined returns the HubspotDefined field value if set, zero value otherwise.
func (*Property) GetHubspotDefinedOk ¶
GetHubspotDefinedOk returns a tuple with the HubspotDefined field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetLabelOk ¶
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*Property) GetModificationMetadata ¶
func (o *Property) GetModificationMetadata() PropertyModificationMetadata
GetModificationMetadata returns the ModificationMetadata field value if set, zero value otherwise.
func (*Property) GetModificationMetadataOk ¶
func (o *Property) GetModificationMetadataOk() (*PropertyModificationMetadata, bool)
GetModificationMetadataOk returns a tuple with the ModificationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Property) GetOptions ¶
GetOptions returns the Options field value
func (*Property) GetOptionsOk ¶
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (*Property) GetReferencedObjectType ¶
GetReferencedObjectType returns the ReferencedObjectType field value if set, zero value otherwise.
func (*Property) GetReferencedObjectTypeOk ¶
GetReferencedObjectTypeOk returns a tuple with the ReferencedObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetShowCurrencySymbol ¶
GetShowCurrencySymbol returns the ShowCurrencySymbol field value if set, zero value otherwise.
func (*Property) GetShowCurrencySymbolOk ¶
GetShowCurrencySymbolOk returns a tuple with the ShowCurrencySymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Property) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Property) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) GetUpdatedUserId ¶
GetUpdatedUserId returns the UpdatedUserId field value if set, zero value otherwise.
func (*Property) GetUpdatedUserIdOk ¶
GetUpdatedUserIdOk returns a tuple with the UpdatedUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Property) HasArchived ¶
HasArchived returns a boolean if a field has been set.
func (*Property) HasArchivedAt ¶
HasArchivedAt returns a boolean if a field has been set.
func (*Property) HasCalculated ¶
HasCalculated returns a boolean if a field has been set.
func (*Property) HasCalculationFormula ¶
HasCalculationFormula returns a boolean if a field has been set.
func (*Property) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Property) HasCreatedUserId ¶
HasCreatedUserId returns a boolean if a field has been set.
func (*Property) HasDisplayOrder ¶
HasDisplayOrder returns a boolean if a field has been set.
func (*Property) HasExternalOptions ¶
HasExternalOptions returns a boolean if a field has been set.
func (*Property) HasFormField ¶
HasFormField returns a boolean if a field has been set.
func (*Property) HasHasUniqueValue ¶
HasHasUniqueValue returns a boolean if a field has been set.
func (*Property) HasHubspotDefined ¶
HasHubspotDefined returns a boolean if a field has been set.
func (*Property) HasModificationMetadata ¶
HasModificationMetadata returns a boolean if a field has been set.
func (*Property) HasReferencedObjectType ¶
HasReferencedObjectType returns a boolean if a field has been set.
func (*Property) HasShowCurrencySymbol ¶
HasShowCurrencySymbol returns a boolean if a field has been set.
func (*Property) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Property) HasUpdatedUserId ¶
HasUpdatedUserId returns a boolean if a field has been set.
func (Property) MarshalJSON ¶
func (*Property) SetArchived ¶
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*Property) SetArchivedAt ¶
SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.
func (*Property) SetCalculated ¶
SetCalculated gets a reference to the given bool and assigns it to the Calculated field.
func (*Property) SetCalculationFormula ¶
SetCalculationFormula gets a reference to the given string and assigns it to the CalculationFormula field.
func (*Property) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Property) SetCreatedUserId ¶
SetCreatedUserId gets a reference to the given string and assigns it to the CreatedUserId field.
func (*Property) SetDescription ¶
SetDescription sets field value
func (*Property) SetDisplayOrder ¶
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*Property) SetExternalOptions ¶
SetExternalOptions gets a reference to the given bool and assigns it to the ExternalOptions field.
func (*Property) SetFieldType ¶
SetFieldType sets field value
func (*Property) SetFormField ¶
SetFormField gets a reference to the given bool and assigns it to the FormField field.
func (*Property) SetGroupName ¶
SetGroupName sets field value
func (*Property) SetHasUniqueValue ¶
SetHasUniqueValue gets a reference to the given bool and assigns it to the HasUniqueValue field.
func (*Property) SetHidden ¶
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*Property) SetHubspotDefined ¶
SetHubspotDefined gets a reference to the given bool and assigns it to the HubspotDefined field.
func (*Property) SetModificationMetadata ¶
func (o *Property) SetModificationMetadata(v PropertyModificationMetadata)
SetModificationMetadata gets a reference to the given PropertyModificationMetadata and assigns it to the ModificationMetadata field.
func (*Property) SetReferencedObjectType ¶
SetReferencedObjectType gets a reference to the given string and assigns it to the ReferencedObjectType field.
func (*Property) SetShowCurrencySymbol ¶
SetShowCurrencySymbol gets a reference to the given bool and assigns it to the ShowCurrencySymbol field.
func (*Property) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Property) SetUpdatedUserId ¶
SetUpdatedUserId gets a reference to the given string and assigns it to the UpdatedUserId field.
type PropertyModificationMetadata ¶
type PropertyModificationMetadata struct { // ReadOnlyOptions *bool `json:"readOnlyOptions,omitempty"` // ReadOnlyValue bool `json:"readOnlyValue"` // ReadOnlyDefinition bool `json:"readOnlyDefinition"` // Archivable bool `json:"archivable"` }
PropertyModificationMetadata struct for PropertyModificationMetadata
func NewPropertyModificationMetadata ¶
func NewPropertyModificationMetadata(readOnlyValue bool, readOnlyDefinition bool, archivable bool) *PropertyModificationMetadata
NewPropertyModificationMetadata instantiates a new PropertyModificationMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPropertyModificationMetadataWithDefaults ¶
func NewPropertyModificationMetadataWithDefaults() *PropertyModificationMetadata
NewPropertyModificationMetadataWithDefaults instantiates a new PropertyModificationMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PropertyModificationMetadata) GetArchivable ¶
func (o *PropertyModificationMetadata) GetArchivable() bool
GetArchivable returns the Archivable field value
func (*PropertyModificationMetadata) GetArchivableOk ¶
func (o *PropertyModificationMetadata) GetArchivableOk() (*bool, bool)
GetArchivableOk returns a tuple with the Archivable field value and a boolean to check if the value has been set.
func (*PropertyModificationMetadata) GetReadOnlyDefinition ¶
func (o *PropertyModificationMetadata) GetReadOnlyDefinition() bool
GetReadOnlyDefinition returns the ReadOnlyDefinition field value
func (*PropertyModificationMetadata) GetReadOnlyDefinitionOk ¶
func (o *PropertyModificationMetadata) GetReadOnlyDefinitionOk() (*bool, bool)
GetReadOnlyDefinitionOk returns a tuple with the ReadOnlyDefinition field value and a boolean to check if the value has been set.
func (*PropertyModificationMetadata) GetReadOnlyOptions ¶
func (o *PropertyModificationMetadata) GetReadOnlyOptions() bool
GetReadOnlyOptions returns the ReadOnlyOptions field value if set, zero value otherwise.
func (*PropertyModificationMetadata) GetReadOnlyOptionsOk ¶
func (o *PropertyModificationMetadata) GetReadOnlyOptionsOk() (*bool, bool)
GetReadOnlyOptionsOk returns a tuple with the ReadOnlyOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PropertyModificationMetadata) GetReadOnlyValue ¶
func (o *PropertyModificationMetadata) GetReadOnlyValue() bool
GetReadOnlyValue returns the ReadOnlyValue field value
func (*PropertyModificationMetadata) GetReadOnlyValueOk ¶
func (o *PropertyModificationMetadata) GetReadOnlyValueOk() (*bool, bool)
GetReadOnlyValueOk returns a tuple with the ReadOnlyValue field value and a boolean to check if the value has been set.
func (*PropertyModificationMetadata) HasReadOnlyOptions ¶
func (o *PropertyModificationMetadata) HasReadOnlyOptions() bool
HasReadOnlyOptions returns a boolean if a field has been set.
func (PropertyModificationMetadata) MarshalJSON ¶
func (o PropertyModificationMetadata) MarshalJSON() ([]byte, error)
func (*PropertyModificationMetadata) SetArchivable ¶
func (o *PropertyModificationMetadata) SetArchivable(v bool)
SetArchivable sets field value
func (*PropertyModificationMetadata) SetReadOnlyDefinition ¶
func (o *PropertyModificationMetadata) SetReadOnlyDefinition(v bool)
SetReadOnlyDefinition sets field value
func (*PropertyModificationMetadata) SetReadOnlyOptions ¶
func (o *PropertyModificationMetadata) SetReadOnlyOptions(v bool)
SetReadOnlyOptions gets a reference to the given bool and assigns it to the ReadOnlyOptions field.
func (*PropertyModificationMetadata) SetReadOnlyValue ¶
func (o *PropertyModificationMetadata) SetReadOnlyValue(v bool)
SetReadOnlyValue sets field value
type PublicObjectSchemasApiService ¶
type PublicObjectSchemasApiService service
PublicObjectSchemasApiService PublicObjectSchemasApi service
func (*PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurge ¶
func (a *PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurge(ctx context.Context, objectType string) ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest
DeleteCrmV3SchemasObjectTypePurgePurge Method for DeleteCrmV3SchemasObjectTypePurgePurge
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest
Deprecated
func (*PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurgeExecute ¶
func (a *PublicObjectSchemasApiService) DeleteCrmV3SchemasObjectTypePurgePurgeExecute(r ApiDeleteCrmV3SchemasObjectTypePurgePurgeRequest) (*http.Response, error)
Execute executes the request Deprecated
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_core.go
- api_public_object_schemas.go
- client.go
- configuration.go
- model_association_definition.go
- model_association_definition_egg.go
- model_collection_response_object_schema_no_paging.go
- model_error.go
- model_error_detail.go
- model_object_schema.go
- model_object_schema_egg.go
- model_object_type_definition.go
- model_object_type_definition_labels.go
- model_object_type_definition_patch.go
- model_object_type_property_create.go
- model_option.go
- model_option_input.go
- model_property.go
- model_property_modification_metadata.go
- response.go
- utils.go