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 ApiArchiveRequest
- type ApiBatchArchiveRequest
- type ApiBatchCreateRequest
- type ApiBatchReadRequest
- type ApiCreateRequest
- type ApiGetAllRequest
- type ApiGetByNameRequest
- type ApiGroupsArchiveRequest
- type ApiGroupsCreateRequest
- type ApiGroupsGetAllRequest
- type ApiGroupsGetByNameRequest
- type ApiGroupsUpdateRequest
- type ApiUpdateRequest
- type BasicAuth
- type BatchApiService
- func (a *BatchApiService) BatchArchive(ctx context.Context, objectType string) ApiBatchArchiveRequest
- func (a *BatchApiService) BatchArchiveExecute(r ApiBatchArchiveRequest) (*http.Response, error)
- func (a *BatchApiService) BatchCreate(ctx context.Context, objectType string) ApiBatchCreateRequest
- func (a *BatchApiService) BatchCreateExecute(r ApiBatchCreateRequest) (*BatchResponseProperty, *http.Response, error)
- func (a *BatchApiService) BatchRead(ctx context.Context, objectType string) ApiBatchReadRequest
- func (a *BatchApiService) BatchReadExecute(r ApiBatchReadRequest) (*BatchResponseProperty, *http.Response, error)
- type BatchInputPropertyCreate
- type BatchInputPropertyName
- type BatchReadInputPropertyName
- func (o *BatchReadInputPropertyName) GetArchived() bool
- func (o *BatchReadInputPropertyName) GetArchivedOk() (*bool, bool)
- func (o *BatchReadInputPropertyName) GetInputs() []PropertyName
- func (o *BatchReadInputPropertyName) GetInputsOk() ([]PropertyName, bool)
- func (o BatchReadInputPropertyName) MarshalJSON() ([]byte, error)
- func (o *BatchReadInputPropertyName) SetArchived(v bool)
- func (o *BatchReadInputPropertyName) SetInputs(v []PropertyName)
- type BatchResponseProperty
- func (o *BatchResponseProperty) GetCompletedAt() time.Time
- func (o *BatchResponseProperty) GetCompletedAtOk() (*time.Time, bool)
- func (o *BatchResponseProperty) GetErrors() []StandardError
- func (o *BatchResponseProperty) GetErrorsOk() ([]StandardError, bool)
- func (o *BatchResponseProperty) GetLinks() map[string]string
- func (o *BatchResponseProperty) GetLinksOk() (*map[string]string, bool)
- func (o *BatchResponseProperty) GetNumErrors() int32
- func (o *BatchResponseProperty) GetNumErrorsOk() (*int32, bool)
- func (o *BatchResponseProperty) GetRequestedAt() time.Time
- func (o *BatchResponseProperty) GetRequestedAtOk() (*time.Time, bool)
- func (o *BatchResponseProperty) GetResults() []Property
- func (o *BatchResponseProperty) GetResultsOk() ([]Property, bool)
- func (o *BatchResponseProperty) GetStartedAt() time.Time
- func (o *BatchResponseProperty) GetStartedAtOk() (*time.Time, bool)
- func (o *BatchResponseProperty) GetStatus() string
- func (o *BatchResponseProperty) GetStatusOk() (*string, bool)
- func (o *BatchResponseProperty) HasErrors() bool
- func (o *BatchResponseProperty) HasLinks() bool
- func (o *BatchResponseProperty) HasNumErrors() bool
- func (o *BatchResponseProperty) HasRequestedAt() bool
- func (o BatchResponseProperty) MarshalJSON() ([]byte, error)
- func (o *BatchResponseProperty) SetCompletedAt(v time.Time)
- func (o *BatchResponseProperty) SetErrors(v []StandardError)
- func (o *BatchResponseProperty) SetLinks(v map[string]string)
- func (o *BatchResponseProperty) SetNumErrors(v int32)
- func (o *BatchResponseProperty) SetRequestedAt(v time.Time)
- func (o *BatchResponseProperty) SetResults(v []Property)
- func (o *BatchResponseProperty) SetStartedAt(v time.Time)
- func (o *BatchResponseProperty) SetStatus(v string)
- type CollectionResponseProperty
- func (o *CollectionResponseProperty) GetPaging() Paging
- func (o *CollectionResponseProperty) GetPagingOk() (*Paging, bool)
- func (o *CollectionResponseProperty) GetResults() []Property
- func (o *CollectionResponseProperty) GetResultsOk() ([]Property, bool)
- func (o *CollectionResponseProperty) HasPaging() bool
- func (o CollectionResponseProperty) MarshalJSON() ([]byte, error)
- func (o *CollectionResponseProperty) SetPaging(v Paging)
- func (o *CollectionResponseProperty) SetResults(v []Property)
- type CollectionResponsePropertyGroup
- func (o *CollectionResponsePropertyGroup) GetPaging() Paging
- func (o *CollectionResponsePropertyGroup) GetPagingOk() (*Paging, bool)
- func (o *CollectionResponsePropertyGroup) GetResults() []PropertyGroup
- func (o *CollectionResponsePropertyGroup) GetResultsOk() ([]PropertyGroup, bool)
- func (o *CollectionResponsePropertyGroup) HasPaging() bool
- func (o CollectionResponsePropertyGroup) MarshalJSON() ([]byte, error)
- func (o *CollectionResponsePropertyGroup) SetPaging(v Paging)
- func (o *CollectionResponsePropertyGroup) SetResults(v []PropertyGroup)
- type Configuration
- type CoreApiService
- func (a *CoreApiService) Archive(ctx context.Context, objectType string, propertyName string) ApiArchiveRequest
- func (a *CoreApiService) ArchiveExecute(r ApiArchiveRequest) (*http.Response, error)
- func (a *CoreApiService) Create(ctx context.Context, objectType string) ApiCreateRequest
- func (a *CoreApiService) CreateExecute(r ApiCreateRequest) (*Property, *http.Response, error)
- func (a *CoreApiService) GetAll(ctx context.Context, objectType string) ApiGetAllRequest
- func (a *CoreApiService) GetAllExecute(r ApiGetAllRequest) (*CollectionResponseProperty, *http.Response, error)
- func (a *CoreApiService) GetByName(ctx context.Context, objectType string, propertyName string) ApiGetByNameRequest
- func (a *CoreApiService) GetByNameExecute(r ApiGetByNameRequest) (*Property, *http.Response, error)
- func (a *CoreApiService) Update(ctx context.Context, objectType string, propertyName string) ApiUpdateRequest
- func (a *CoreApiService) UpdateExecute(r ApiUpdateRequest) (*Property, *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 ErrorCategory
- func (o *ErrorCategory) GetHttpStatus() string
- func (o *ErrorCategory) GetHttpStatusOk() (*string, bool)
- func (o *ErrorCategory) GetName() string
- func (o *ErrorCategory) GetNameOk() (*string, bool)
- func (o ErrorCategory) MarshalJSON() ([]byte, error)
- func (o *ErrorCategory) SetHttpStatus(v string)
- func (o *ErrorCategory) SetName(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 GroupsApiService
- func (a *GroupsApiService) GroupsArchive(ctx context.Context, objectType string, groupName string) ApiGroupsArchiveRequest
- func (a *GroupsApiService) GroupsArchiveExecute(r ApiGroupsArchiveRequest) (*http.Response, error)
- func (a *GroupsApiService) GroupsCreate(ctx context.Context, objectType string) ApiGroupsCreateRequest
- func (a *GroupsApiService) GroupsCreateExecute(r ApiGroupsCreateRequest) (*PropertyGroup, *http.Response, error)
- func (a *GroupsApiService) GroupsGetAll(ctx context.Context, objectType string) ApiGroupsGetAllRequest
- func (a *GroupsApiService) GroupsGetAllExecute(r ApiGroupsGetAllRequest) (*CollectionResponsePropertyGroup, *http.Response, error)
- func (a *GroupsApiService) GroupsGetByName(ctx context.Context, objectType string, groupName string) ApiGroupsGetByNameRequest
- func (a *GroupsApiService) GroupsGetByNameExecute(r ApiGroupsGetByNameRequest) (*PropertyGroup, *http.Response, error)
- func (a *GroupsApiService) GroupsUpdate(ctx context.Context, objectType string, groupName string) ApiGroupsUpdateRequest
- func (a *GroupsApiService) GroupsUpdateExecute(r ApiGroupsUpdateRequest) (*PropertyGroup, *http.Response, error)
- type NextPage
- func (o *NextPage) GetAfter() string
- func (o *NextPage) GetAfterOk() (*string, bool)
- func (o *NextPage) GetLink() string
- func (o *NextPage) GetLinkOk() (*string, bool)
- func (o *NextPage) HasLink() bool
- func (o NextPage) MarshalJSON() ([]byte, error)
- func (o *NextPage) SetAfter(v string)
- func (o *NextPage) SetLink(v string)
- type NullableBatchInputPropertyCreate
- func (v NullableBatchInputPropertyCreate) Get() *BatchInputPropertyCreate
- func (v NullableBatchInputPropertyCreate) IsSet() bool
- func (v NullableBatchInputPropertyCreate) MarshalJSON() ([]byte, error)
- func (v *NullableBatchInputPropertyCreate) Set(val *BatchInputPropertyCreate)
- func (v *NullableBatchInputPropertyCreate) UnmarshalJSON(src []byte) error
- func (v *NullableBatchInputPropertyCreate) Unset()
- type NullableBatchInputPropertyName
- func (v NullableBatchInputPropertyName) Get() *BatchInputPropertyName
- func (v NullableBatchInputPropertyName) IsSet() bool
- func (v NullableBatchInputPropertyName) MarshalJSON() ([]byte, error)
- func (v *NullableBatchInputPropertyName) Set(val *BatchInputPropertyName)
- func (v *NullableBatchInputPropertyName) UnmarshalJSON(src []byte) error
- func (v *NullableBatchInputPropertyName) Unset()
- type NullableBatchReadInputPropertyName
- func (v NullableBatchReadInputPropertyName) Get() *BatchReadInputPropertyName
- func (v NullableBatchReadInputPropertyName) IsSet() bool
- func (v NullableBatchReadInputPropertyName) MarshalJSON() ([]byte, error)
- func (v *NullableBatchReadInputPropertyName) Set(val *BatchReadInputPropertyName)
- func (v *NullableBatchReadInputPropertyName) UnmarshalJSON(src []byte) error
- func (v *NullableBatchReadInputPropertyName) Unset()
- type NullableBatchResponseProperty
- func (v NullableBatchResponseProperty) Get() *BatchResponseProperty
- func (v NullableBatchResponseProperty) IsSet() bool
- func (v NullableBatchResponseProperty) MarshalJSON() ([]byte, error)
- func (v *NullableBatchResponseProperty) Set(val *BatchResponseProperty)
- func (v *NullableBatchResponseProperty) UnmarshalJSON(src []byte) error
- func (v *NullableBatchResponseProperty) Unset()
- type NullableBool
- type NullableCollectionResponseProperty
- func (v NullableCollectionResponseProperty) Get() *CollectionResponseProperty
- func (v NullableCollectionResponseProperty) IsSet() bool
- func (v NullableCollectionResponseProperty) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionResponseProperty) Set(val *CollectionResponseProperty)
- func (v *NullableCollectionResponseProperty) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionResponseProperty) Unset()
- type NullableCollectionResponsePropertyGroup
- func (v NullableCollectionResponsePropertyGroup) Get() *CollectionResponsePropertyGroup
- func (v NullableCollectionResponsePropertyGroup) IsSet() bool
- func (v NullableCollectionResponsePropertyGroup) MarshalJSON() ([]byte, error)
- func (v *NullableCollectionResponsePropertyGroup) Set(val *CollectionResponsePropertyGroup)
- func (v *NullableCollectionResponsePropertyGroup) UnmarshalJSON(src []byte) error
- func (v *NullableCollectionResponsePropertyGroup) Unset()
- type NullableError
- type NullableErrorCategory
- func (v NullableErrorCategory) Get() *ErrorCategory
- func (v NullableErrorCategory) IsSet() bool
- func (v NullableErrorCategory) MarshalJSON() ([]byte, error)
- func (v *NullableErrorCategory) Set(val *ErrorCategory)
- func (v *NullableErrorCategory) UnmarshalJSON(src []byte) error
- func (v *NullableErrorCategory) Unset()
- 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 NullableNextPage
- 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 NullablePaging
- type NullableProperty
- type NullablePropertyCreate
- func (v NullablePropertyCreate) Get() *PropertyCreate
- func (v NullablePropertyCreate) IsSet() bool
- func (v NullablePropertyCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyCreate) Set(val *PropertyCreate)
- func (v *NullablePropertyCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyCreate) Unset()
- type NullablePropertyGroup
- func (v NullablePropertyGroup) Get() *PropertyGroup
- func (v NullablePropertyGroup) IsSet() bool
- func (v NullablePropertyGroup) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyGroup) Set(val *PropertyGroup)
- func (v *NullablePropertyGroup) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyGroup) Unset()
- type NullablePropertyGroupCreate
- func (v NullablePropertyGroupCreate) Get() *PropertyGroupCreate
- func (v NullablePropertyGroupCreate) IsSet() bool
- func (v NullablePropertyGroupCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyGroupCreate) Set(val *PropertyGroupCreate)
- func (v *NullablePropertyGroupCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyGroupCreate) Unset()
- type NullablePropertyGroupUpdate
- func (v NullablePropertyGroupUpdate) Get() *PropertyGroupUpdate
- func (v NullablePropertyGroupUpdate) IsSet() bool
- func (v NullablePropertyGroupUpdate) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyGroupUpdate) Set(val *PropertyGroupUpdate)
- func (v *NullablePropertyGroupUpdate) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyGroupUpdate) Unset()
- 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 NullablePropertyName
- func (v NullablePropertyName) Get() *PropertyName
- func (v NullablePropertyName) IsSet() bool
- func (v NullablePropertyName) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyName) Set(val *PropertyName)
- func (v *NullablePropertyName) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyName) Unset()
- type NullablePropertyUpdate
- func (v NullablePropertyUpdate) Get() *PropertyUpdate
- func (v NullablePropertyUpdate) IsSet() bool
- func (v NullablePropertyUpdate) MarshalJSON() ([]byte, error)
- func (v *NullablePropertyUpdate) Set(val *PropertyUpdate)
- func (v *NullablePropertyUpdate) UnmarshalJSON(src []byte) error
- func (v *NullablePropertyUpdate) Unset()
- type NullableStandardError
- func (v NullableStandardError) Get() *StandardError
- func (v NullableStandardError) IsSet() bool
- func (v NullableStandardError) MarshalJSON() ([]byte, error)
- func (v *NullableStandardError) Set(val *StandardError)
- func (v *NullableStandardError) UnmarshalJSON(src []byte) error
- func (v *NullableStandardError) Unset()
- type NullableString
- type NullableTime
- 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) HasDisplayOrder() 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 Paging
- 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) 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) 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) 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 PropertyCreate
- func (o *PropertyCreate) GetDescription() string
- func (o *PropertyCreate) GetDescriptionOk() (*string, bool)
- func (o *PropertyCreate) GetDisplayOrder() int32
- func (o *PropertyCreate) GetDisplayOrderOk() (*int32, bool)
- func (o *PropertyCreate) GetFieldType() string
- func (o *PropertyCreate) GetFieldTypeOk() (*string, bool)
- func (o *PropertyCreate) GetFormField() bool
- func (o *PropertyCreate) GetFormFieldOk() (*bool, bool)
- func (o *PropertyCreate) GetGroupName() string
- func (o *PropertyCreate) GetGroupNameOk() (*string, bool)
- func (o *PropertyCreate) GetHasUniqueValue() bool
- func (o *PropertyCreate) GetHasUniqueValueOk() (*bool, bool)
- func (o *PropertyCreate) GetHidden() bool
- func (o *PropertyCreate) GetHiddenOk() (*bool, bool)
- func (o *PropertyCreate) GetLabel() string
- func (o *PropertyCreate) GetLabelOk() (*string, bool)
- func (o *PropertyCreate) GetName() string
- func (o *PropertyCreate) GetNameOk() (*string, bool)
- func (o *PropertyCreate) GetOptions() []OptionInput
- func (o *PropertyCreate) GetOptionsOk() ([]OptionInput, bool)
- func (o *PropertyCreate) GetType() string
- func (o *PropertyCreate) GetTypeOk() (*string, bool)
- func (o *PropertyCreate) HasDescription() bool
- func (o *PropertyCreate) HasDisplayOrder() bool
- func (o *PropertyCreate) HasFormField() bool
- func (o *PropertyCreate) HasHasUniqueValue() bool
- func (o *PropertyCreate) HasHidden() bool
- func (o *PropertyCreate) HasOptions() bool
- func (o PropertyCreate) MarshalJSON() ([]byte, error)
- func (o *PropertyCreate) SetDescription(v string)
- func (o *PropertyCreate) SetDisplayOrder(v int32)
- func (o *PropertyCreate) SetFieldType(v string)
- func (o *PropertyCreate) SetFormField(v bool)
- func (o *PropertyCreate) SetGroupName(v string)
- func (o *PropertyCreate) SetHasUniqueValue(v bool)
- func (o *PropertyCreate) SetHidden(v bool)
- func (o *PropertyCreate) SetLabel(v string)
- func (o *PropertyCreate) SetName(v string)
- func (o *PropertyCreate) SetOptions(v []OptionInput)
- func (o *PropertyCreate) SetType(v string)
- type PropertyGroup
- func (o *PropertyGroup) GetArchived() bool
- func (o *PropertyGroup) GetArchivedOk() (*bool, bool)
- func (o *PropertyGroup) GetDisplayOrder() int32
- func (o *PropertyGroup) GetDisplayOrderOk() (*int32, bool)
- func (o *PropertyGroup) GetLabel() string
- func (o *PropertyGroup) GetLabelOk() (*string, bool)
- func (o *PropertyGroup) GetName() string
- func (o *PropertyGroup) GetNameOk() (*string, bool)
- func (o PropertyGroup) MarshalJSON() ([]byte, error)
- func (o *PropertyGroup) SetArchived(v bool)
- func (o *PropertyGroup) SetDisplayOrder(v int32)
- func (o *PropertyGroup) SetLabel(v string)
- func (o *PropertyGroup) SetName(v string)
- type PropertyGroupCreate
- func (o *PropertyGroupCreate) GetDisplayOrder() int32
- func (o *PropertyGroupCreate) GetDisplayOrderOk() (*int32, bool)
- func (o *PropertyGroupCreate) GetLabel() string
- func (o *PropertyGroupCreate) GetLabelOk() (*string, bool)
- func (o *PropertyGroupCreate) GetName() string
- func (o *PropertyGroupCreate) GetNameOk() (*string, bool)
- func (o *PropertyGroupCreate) HasDisplayOrder() bool
- func (o PropertyGroupCreate) MarshalJSON() ([]byte, error)
- func (o *PropertyGroupCreate) SetDisplayOrder(v int32)
- func (o *PropertyGroupCreate) SetLabel(v string)
- func (o *PropertyGroupCreate) SetName(v string)
- type PropertyGroupUpdate
- func (o *PropertyGroupUpdate) GetDisplayOrder() int32
- func (o *PropertyGroupUpdate) GetDisplayOrderOk() (*int32, bool)
- func (o *PropertyGroupUpdate) GetLabel() string
- func (o *PropertyGroupUpdate) GetLabelOk() (*string, bool)
- func (o *PropertyGroupUpdate) HasDisplayOrder() bool
- func (o *PropertyGroupUpdate) HasLabel() bool
- func (o PropertyGroupUpdate) MarshalJSON() ([]byte, error)
- func (o *PropertyGroupUpdate) SetDisplayOrder(v int32)
- func (o *PropertyGroupUpdate) SetLabel(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 PropertyName
- type PropertyUpdate
- func (o *PropertyUpdate) GetDescription() string
- func (o *PropertyUpdate) GetDescriptionOk() (*string, bool)
- func (o *PropertyUpdate) GetDisplayOrder() int32
- func (o *PropertyUpdate) GetDisplayOrderOk() (*int32, bool)
- func (o *PropertyUpdate) GetFieldType() string
- func (o *PropertyUpdate) GetFieldTypeOk() (*string, bool)
- func (o *PropertyUpdate) GetFormField() bool
- func (o *PropertyUpdate) GetFormFieldOk() (*bool, bool)
- func (o *PropertyUpdate) GetGroupName() string
- func (o *PropertyUpdate) GetGroupNameOk() (*string, bool)
- func (o *PropertyUpdate) GetHidden() bool
- func (o *PropertyUpdate) GetHiddenOk() (*bool, bool)
- func (o *PropertyUpdate) GetLabel() string
- func (o *PropertyUpdate) GetLabelOk() (*string, bool)
- func (o *PropertyUpdate) GetOptions() []OptionInput
- func (o *PropertyUpdate) GetOptionsOk() ([]OptionInput, bool)
- func (o *PropertyUpdate) GetType() string
- func (o *PropertyUpdate) GetTypeOk() (*string, bool)
- func (o *PropertyUpdate) HasDescription() bool
- func (o *PropertyUpdate) HasDisplayOrder() bool
- func (o *PropertyUpdate) HasFieldType() bool
- func (o *PropertyUpdate) HasFormField() bool
- func (o *PropertyUpdate) HasGroupName() bool
- func (o *PropertyUpdate) HasHidden() bool
- func (o *PropertyUpdate) HasLabel() bool
- func (o *PropertyUpdate) HasOptions() bool
- func (o *PropertyUpdate) HasType() bool
- func (o PropertyUpdate) MarshalJSON() ([]byte, error)
- func (o *PropertyUpdate) SetDescription(v string)
- func (o *PropertyUpdate) SetDisplayOrder(v int32)
- func (o *PropertyUpdate) SetFieldType(v string)
- func (o *PropertyUpdate) SetFormField(v bool)
- func (o *PropertyUpdate) SetGroupName(v string)
- func (o *PropertyUpdate) SetHidden(v bool)
- func (o *PropertyUpdate) SetLabel(v string)
- func (o *PropertyUpdate) SetOptions(v []OptionInput)
- func (o *PropertyUpdate) SetType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StandardError
- func (o *StandardError) GetCategory() ErrorCategory
- func (o *StandardError) GetCategoryOk() (*ErrorCategory, bool)
- func (o *StandardError) GetContext() map[string][]string
- func (o *StandardError) GetContextOk() (*map[string][]string, bool)
- func (o *StandardError) GetErrors() []ErrorDetail
- func (o *StandardError) GetErrorsOk() ([]ErrorDetail, bool)
- func (o *StandardError) GetId() string
- func (o *StandardError) GetIdOk() (*string, bool)
- func (o *StandardError) GetLinks() map[string]string
- func (o *StandardError) GetLinksOk() (*map[string]string, bool)
- func (o *StandardError) GetMessage() string
- func (o *StandardError) GetMessageOk() (*string, bool)
- func (o *StandardError) GetStatus() string
- func (o *StandardError) GetStatusOk() (*string, bool)
- func (o *StandardError) GetSubCategory() map[string]interface{}
- func (o *StandardError) GetSubCategoryOk() (map[string]interface{}, bool)
- func (o *StandardError) HasId() bool
- func (o *StandardError) HasSubCategory() bool
- func (o StandardError) MarshalJSON() ([]byte, error)
- func (o *StandardError) SetCategory(v ErrorCategory)
- func (o *StandardError) SetContext(v map[string][]string)
- func (o *StandardError) SetErrors(v []ErrorDetail)
- func (o *StandardError) SetId(v string)
- func (o *StandardError) SetLinks(v map[string]string)
- func (o *StandardError) SetMessage(v string)
- func (o *StandardError) SetStatus(v string)
- func (o *StandardError) SetSubCategory(v map[string]interface{})
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 { BatchApi *BatchApiService CoreApi *CoreApiService GroupsApi *GroupsApiService // contains filtered or unexported fields }
APIClient manages communication with the Properties 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 ApiArchiveRequest ¶
type ApiArchiveRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
type ApiBatchArchiveRequest ¶
type ApiBatchArchiveRequest struct { ApiService *BatchApiService // contains filtered or unexported fields }
func (ApiBatchArchiveRequest) BatchInputPropertyName ¶
func (r ApiBatchArchiveRequest) BatchInputPropertyName(batchInputPropertyName BatchInputPropertyName) ApiBatchArchiveRequest
type ApiBatchCreateRequest ¶
type ApiBatchCreateRequest struct { ApiService *BatchApiService // contains filtered or unexported fields }
func (ApiBatchCreateRequest) BatchInputPropertyCreate ¶
func (r ApiBatchCreateRequest) BatchInputPropertyCreate(batchInputPropertyCreate BatchInputPropertyCreate) ApiBatchCreateRequest
func (ApiBatchCreateRequest) Execute ¶
func (r ApiBatchCreateRequest) Execute() (*BatchResponseProperty, *http.Response, error)
type ApiBatchReadRequest ¶
type ApiBatchReadRequest struct { ApiService *BatchApiService // contains filtered or unexported fields }
func (ApiBatchReadRequest) BatchReadInputPropertyName ¶
func (r ApiBatchReadRequest) BatchReadInputPropertyName(batchReadInputPropertyName BatchReadInputPropertyName) ApiBatchReadRequest
func (ApiBatchReadRequest) Execute ¶
func (r ApiBatchReadRequest) Execute() (*BatchResponseProperty, *http.Response, error)
type ApiCreateRequest ¶
type ApiCreateRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiCreateRequest) Execute ¶
func (r ApiCreateRequest) Execute() (*Property, *http.Response, error)
func (ApiCreateRequest) PropertyCreate ¶
func (r ApiCreateRequest) PropertyCreate(propertyCreate PropertyCreate) ApiCreateRequest
type ApiGetAllRequest ¶
type ApiGetAllRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiGetAllRequest) Archived ¶
func (r ApiGetAllRequest) Archived(archived bool) ApiGetAllRequest
Whether to return only results that have been archived.
func (ApiGetAllRequest) Execute ¶
func (r ApiGetAllRequest) Execute() (*CollectionResponseProperty, *http.Response, error)
type ApiGetByNameRequest ¶
type ApiGetByNameRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiGetByNameRequest) Archived ¶
func (r ApiGetByNameRequest) Archived(archived bool) ApiGetByNameRequest
Whether to return only results that have been archived.
type ApiGroupsArchiveRequest ¶
type ApiGroupsArchiveRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
type ApiGroupsCreateRequest ¶
type ApiGroupsCreateRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
func (ApiGroupsCreateRequest) Execute ¶
func (r ApiGroupsCreateRequest) Execute() (*PropertyGroup, *http.Response, error)
func (ApiGroupsCreateRequest) PropertyGroupCreate ¶
func (r ApiGroupsCreateRequest) PropertyGroupCreate(propertyGroupCreate PropertyGroupCreate) ApiGroupsCreateRequest
type ApiGroupsGetAllRequest ¶
type ApiGroupsGetAllRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
func (ApiGroupsGetAllRequest) Execute ¶
func (r ApiGroupsGetAllRequest) Execute() (*CollectionResponsePropertyGroup, *http.Response, error)
type ApiGroupsGetByNameRequest ¶
type ApiGroupsGetByNameRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
func (ApiGroupsGetByNameRequest) Execute ¶
func (r ApiGroupsGetByNameRequest) Execute() (*PropertyGroup, *http.Response, error)
type ApiGroupsUpdateRequest ¶
type ApiGroupsUpdateRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
func (ApiGroupsUpdateRequest) Execute ¶
func (r ApiGroupsUpdateRequest) Execute() (*PropertyGroup, *http.Response, error)
func (ApiGroupsUpdateRequest) PropertyGroupUpdate ¶
func (r ApiGroupsUpdateRequest) PropertyGroupUpdate(propertyGroupUpdate PropertyGroupUpdate) ApiGroupsUpdateRequest
type ApiUpdateRequest ¶
type ApiUpdateRequest struct { ApiService *CoreApiService // contains filtered or unexported fields }
func (ApiUpdateRequest) Execute ¶
func (r ApiUpdateRequest) Execute() (*Property, *http.Response, error)
func (ApiUpdateRequest) PropertyUpdate ¶
func (r ApiUpdateRequest) PropertyUpdate(propertyUpdate PropertyUpdate) ApiUpdateRequest
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 BatchApiService ¶
type BatchApiService service
BatchApiService BatchApi service
func (*BatchApiService) BatchArchive ¶
func (a *BatchApiService) BatchArchive(ctx context.Context, objectType string) ApiBatchArchiveRequest
BatchArchive Archive a batch of properties
Archive a provided list of properties. This method will return a 204 No Content response on success regardless of the initial state of the property (e.g. active, already archived, non-existent).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiBatchArchiveRequest
func (*BatchApiService) BatchArchiveExecute ¶
func (a *BatchApiService) BatchArchiveExecute(r ApiBatchArchiveRequest) (*http.Response, error)
Execute executes the request
func (*BatchApiService) BatchCreate ¶
func (a *BatchApiService) BatchCreate(ctx context.Context, objectType string) ApiBatchCreateRequest
BatchCreate Create a batch of properties
Create a batch of properties using the same rules as when creating an individual property.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiBatchCreateRequest
func (*BatchApiService) BatchCreateExecute ¶
func (a *BatchApiService) BatchCreateExecute(r ApiBatchCreateRequest) (*BatchResponseProperty, *http.Response, error)
Execute executes the request
@return BatchResponseProperty
func (*BatchApiService) BatchRead ¶
func (a *BatchApiService) BatchRead(ctx context.Context, objectType string) ApiBatchReadRequest
BatchRead Read a batch of properties
Read a provided list of properties.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiBatchReadRequest
func (*BatchApiService) BatchReadExecute ¶
func (a *BatchApiService) BatchReadExecute(r ApiBatchReadRequest) (*BatchResponseProperty, *http.Response, error)
Execute executes the request
@return BatchResponseProperty
type BatchInputPropertyCreate ¶
type BatchInputPropertyCreate struct {
Inputs []PropertyCreate `json:"inputs"`
}
BatchInputPropertyCreate struct for BatchInputPropertyCreate
func NewBatchInputPropertyCreate ¶
func NewBatchInputPropertyCreate(inputs []PropertyCreate) *BatchInputPropertyCreate
NewBatchInputPropertyCreate instantiates a new BatchInputPropertyCreate 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 NewBatchInputPropertyCreateWithDefaults ¶
func NewBatchInputPropertyCreateWithDefaults() *BatchInputPropertyCreate
NewBatchInputPropertyCreateWithDefaults instantiates a new BatchInputPropertyCreate 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 (*BatchInputPropertyCreate) GetInputs ¶
func (o *BatchInputPropertyCreate) GetInputs() []PropertyCreate
GetInputs returns the Inputs field value
func (*BatchInputPropertyCreate) GetInputsOk ¶
func (o *BatchInputPropertyCreate) GetInputsOk() ([]PropertyCreate, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (BatchInputPropertyCreate) MarshalJSON ¶
func (o BatchInputPropertyCreate) MarshalJSON() ([]byte, error)
func (*BatchInputPropertyCreate) SetInputs ¶
func (o *BatchInputPropertyCreate) SetInputs(v []PropertyCreate)
SetInputs sets field value
type BatchInputPropertyName ¶
type BatchInputPropertyName struct {
Inputs []PropertyName `json:"inputs"`
}
BatchInputPropertyName struct for BatchInputPropertyName
func NewBatchInputPropertyName ¶
func NewBatchInputPropertyName(inputs []PropertyName) *BatchInputPropertyName
NewBatchInputPropertyName instantiates a new BatchInputPropertyName 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 NewBatchInputPropertyNameWithDefaults ¶
func NewBatchInputPropertyNameWithDefaults() *BatchInputPropertyName
NewBatchInputPropertyNameWithDefaults instantiates a new BatchInputPropertyName 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 (*BatchInputPropertyName) GetInputs ¶
func (o *BatchInputPropertyName) GetInputs() []PropertyName
GetInputs returns the Inputs field value
func (*BatchInputPropertyName) GetInputsOk ¶
func (o *BatchInputPropertyName) GetInputsOk() ([]PropertyName, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (BatchInputPropertyName) MarshalJSON ¶
func (o BatchInputPropertyName) MarshalJSON() ([]byte, error)
func (*BatchInputPropertyName) SetInputs ¶
func (o *BatchInputPropertyName) SetInputs(v []PropertyName)
SetInputs sets field value
type BatchReadInputPropertyName ¶
type BatchReadInputPropertyName struct { Inputs []PropertyName `json:"inputs"` Archived bool `json:"archived"` }
BatchReadInputPropertyName struct for BatchReadInputPropertyName
func NewBatchReadInputPropertyName ¶
func NewBatchReadInputPropertyName(inputs []PropertyName, archived bool) *BatchReadInputPropertyName
NewBatchReadInputPropertyName instantiates a new BatchReadInputPropertyName 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 NewBatchReadInputPropertyNameWithDefaults ¶
func NewBatchReadInputPropertyNameWithDefaults() *BatchReadInputPropertyName
NewBatchReadInputPropertyNameWithDefaults instantiates a new BatchReadInputPropertyName 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 (*BatchReadInputPropertyName) GetArchived ¶
func (o *BatchReadInputPropertyName) GetArchived() bool
GetArchived returns the Archived field value
func (*BatchReadInputPropertyName) GetArchivedOk ¶
func (o *BatchReadInputPropertyName) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*BatchReadInputPropertyName) GetInputs ¶
func (o *BatchReadInputPropertyName) GetInputs() []PropertyName
GetInputs returns the Inputs field value
func (*BatchReadInputPropertyName) GetInputsOk ¶
func (o *BatchReadInputPropertyName) GetInputsOk() ([]PropertyName, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (BatchReadInputPropertyName) MarshalJSON ¶
func (o BatchReadInputPropertyName) MarshalJSON() ([]byte, error)
func (*BatchReadInputPropertyName) SetArchived ¶
func (o *BatchReadInputPropertyName) SetArchived(v bool)
SetArchived sets field value
func (*BatchReadInputPropertyName) SetInputs ¶
func (o *BatchReadInputPropertyName) SetInputs(v []PropertyName)
SetInputs sets field value
type BatchResponseProperty ¶
type BatchResponseProperty struct { Status string `json:"status"` Results []Property `json:"results"` NumErrors *int32 `json:"numErrors,omitempty"` Errors []StandardError `json:"errors,omitempty"` RequestedAt *time.Time `json:"requestedAt,omitempty"` StartedAt time.Time `json:"startedAt"` CompletedAt time.Time `json:"completedAt"` Links *map[string]string `json:"links,omitempty"` }
BatchResponseProperty struct for BatchResponseProperty
func NewBatchResponseProperty ¶
func NewBatchResponseProperty(status string, results []Property, startedAt time.Time, completedAt time.Time) *BatchResponseProperty
NewBatchResponseProperty instantiates a new BatchResponseProperty 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 NewBatchResponsePropertyWithDefaults ¶
func NewBatchResponsePropertyWithDefaults() *BatchResponseProperty
NewBatchResponsePropertyWithDefaults instantiates a new BatchResponseProperty 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 (*BatchResponseProperty) GetCompletedAt ¶
func (o *BatchResponseProperty) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value
func (*BatchResponseProperty) GetCompletedAtOk ¶
func (o *BatchResponseProperty) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field value and a boolean to check if the value has been set.
func (*BatchResponseProperty) GetErrors ¶
func (o *BatchResponseProperty) GetErrors() []StandardError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*BatchResponseProperty) GetErrorsOk ¶
func (o *BatchResponseProperty) GetErrorsOk() ([]StandardError, 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 (*BatchResponseProperty) GetLinks ¶
func (o *BatchResponseProperty) GetLinks() map[string]string
GetLinks returns the Links field value if set, zero value otherwise.
func (*BatchResponseProperty) GetLinksOk ¶
func (o *BatchResponseProperty) GetLinksOk() (*map[string]string, bool)
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 (*BatchResponseProperty) GetNumErrors ¶
func (o *BatchResponseProperty) GetNumErrors() int32
GetNumErrors returns the NumErrors field value if set, zero value otherwise.
func (*BatchResponseProperty) GetNumErrorsOk ¶
func (o *BatchResponseProperty) GetNumErrorsOk() (*int32, bool)
GetNumErrorsOk returns a tuple with the NumErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchResponseProperty) GetRequestedAt ¶
func (o *BatchResponseProperty) GetRequestedAt() time.Time
GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.
func (*BatchResponseProperty) GetRequestedAtOk ¶
func (o *BatchResponseProperty) GetRequestedAtOk() (*time.Time, bool)
GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchResponseProperty) GetResults ¶
func (o *BatchResponseProperty) GetResults() []Property
GetResults returns the Results field value
func (*BatchResponseProperty) GetResultsOk ¶
func (o *BatchResponseProperty) GetResultsOk() ([]Property, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*BatchResponseProperty) GetStartedAt ¶
func (o *BatchResponseProperty) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field value
func (*BatchResponseProperty) GetStartedAtOk ¶
func (o *BatchResponseProperty) GetStartedAtOk() (*time.Time, bool)
GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.
func (*BatchResponseProperty) GetStatus ¶
func (o *BatchResponseProperty) GetStatus() string
GetStatus returns the Status field value
func (*BatchResponseProperty) GetStatusOk ¶
func (o *BatchResponseProperty) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*BatchResponseProperty) HasErrors ¶
func (o *BatchResponseProperty) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*BatchResponseProperty) HasLinks ¶
func (o *BatchResponseProperty) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*BatchResponseProperty) HasNumErrors ¶
func (o *BatchResponseProperty) HasNumErrors() bool
HasNumErrors returns a boolean if a field has been set.
func (*BatchResponseProperty) HasRequestedAt ¶
func (o *BatchResponseProperty) HasRequestedAt() bool
HasRequestedAt returns a boolean if a field has been set.
func (BatchResponseProperty) MarshalJSON ¶
func (o BatchResponseProperty) MarshalJSON() ([]byte, error)
func (*BatchResponseProperty) SetCompletedAt ¶
func (o *BatchResponseProperty) SetCompletedAt(v time.Time)
SetCompletedAt sets field value
func (*BatchResponseProperty) SetErrors ¶
func (o *BatchResponseProperty) SetErrors(v []StandardError)
SetErrors gets a reference to the given []StandardError and assigns it to the Errors field.
func (*BatchResponseProperty) SetLinks ¶
func (o *BatchResponseProperty) SetLinks(v map[string]string)
SetLinks gets a reference to the given map[string]string and assigns it to the Links field.
func (*BatchResponseProperty) SetNumErrors ¶
func (o *BatchResponseProperty) SetNumErrors(v int32)
SetNumErrors gets a reference to the given int32 and assigns it to the NumErrors field.
func (*BatchResponseProperty) SetRequestedAt ¶
func (o *BatchResponseProperty) SetRequestedAt(v time.Time)
SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.
func (*BatchResponseProperty) SetResults ¶
func (o *BatchResponseProperty) SetResults(v []Property)
SetResults sets field value
func (*BatchResponseProperty) SetStartedAt ¶
func (o *BatchResponseProperty) SetStartedAt(v time.Time)
SetStartedAt sets field value
func (*BatchResponseProperty) SetStatus ¶
func (o *BatchResponseProperty) SetStatus(v string)
SetStatus sets field value
type CollectionResponseProperty ¶
type CollectionResponseProperty struct { Results []Property `json:"results"` Paging *Paging `json:"paging,omitempty"` }
CollectionResponseProperty struct for CollectionResponseProperty
func NewCollectionResponseProperty ¶
func NewCollectionResponseProperty(results []Property) *CollectionResponseProperty
NewCollectionResponseProperty instantiates a new CollectionResponseProperty 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 NewCollectionResponsePropertyWithDefaults ¶
func NewCollectionResponsePropertyWithDefaults() *CollectionResponseProperty
NewCollectionResponsePropertyWithDefaults instantiates a new CollectionResponseProperty 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 (*CollectionResponseProperty) GetPaging ¶
func (o *CollectionResponseProperty) GetPaging() Paging
GetPaging returns the Paging field value if set, zero value otherwise.
func (*CollectionResponseProperty) GetPagingOk ¶
func (o *CollectionResponseProperty) GetPagingOk() (*Paging, bool)
GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionResponseProperty) GetResults ¶
func (o *CollectionResponseProperty) GetResults() []Property
GetResults returns the Results field value
func (*CollectionResponseProperty) GetResultsOk ¶
func (o *CollectionResponseProperty) GetResultsOk() ([]Property, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*CollectionResponseProperty) HasPaging ¶
func (o *CollectionResponseProperty) HasPaging() bool
HasPaging returns a boolean if a field has been set.
func (CollectionResponseProperty) MarshalJSON ¶
func (o CollectionResponseProperty) MarshalJSON() ([]byte, error)
func (*CollectionResponseProperty) SetPaging ¶
func (o *CollectionResponseProperty) SetPaging(v Paging)
SetPaging gets a reference to the given Paging and assigns it to the Paging field.
func (*CollectionResponseProperty) SetResults ¶
func (o *CollectionResponseProperty) SetResults(v []Property)
SetResults sets field value
type CollectionResponsePropertyGroup ¶
type CollectionResponsePropertyGroup struct { Results []PropertyGroup `json:"results"` Paging *Paging `json:"paging,omitempty"` }
CollectionResponsePropertyGroup struct for CollectionResponsePropertyGroup
func NewCollectionResponsePropertyGroup ¶
func NewCollectionResponsePropertyGroup(results []PropertyGroup) *CollectionResponsePropertyGroup
NewCollectionResponsePropertyGroup instantiates a new CollectionResponsePropertyGroup 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 NewCollectionResponsePropertyGroupWithDefaults ¶
func NewCollectionResponsePropertyGroupWithDefaults() *CollectionResponsePropertyGroup
NewCollectionResponsePropertyGroupWithDefaults instantiates a new CollectionResponsePropertyGroup 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 (*CollectionResponsePropertyGroup) GetPaging ¶
func (o *CollectionResponsePropertyGroup) GetPaging() Paging
GetPaging returns the Paging field value if set, zero value otherwise.
func (*CollectionResponsePropertyGroup) GetPagingOk ¶
func (o *CollectionResponsePropertyGroup) GetPagingOk() (*Paging, bool)
GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectionResponsePropertyGroup) GetResults ¶
func (o *CollectionResponsePropertyGroup) GetResults() []PropertyGroup
GetResults returns the Results field value
func (*CollectionResponsePropertyGroup) GetResultsOk ¶
func (o *CollectionResponsePropertyGroup) GetResultsOk() ([]PropertyGroup, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*CollectionResponsePropertyGroup) HasPaging ¶
func (o *CollectionResponsePropertyGroup) HasPaging() bool
HasPaging returns a boolean if a field has been set.
func (CollectionResponsePropertyGroup) MarshalJSON ¶
func (o CollectionResponsePropertyGroup) MarshalJSON() ([]byte, error)
func (*CollectionResponsePropertyGroup) SetPaging ¶
func (o *CollectionResponsePropertyGroup) SetPaging(v Paging)
SetPaging gets a reference to the given Paging and assigns it to the Paging field.
func (*CollectionResponsePropertyGroup) SetResults ¶
func (o *CollectionResponsePropertyGroup) SetResults(v []PropertyGroup)
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) Archive ¶
func (a *CoreApiService) Archive(ctx context.Context, objectType string, propertyName string) ApiArchiveRequest
Archive Archive a property
Move a property identified by {propertyName} to the recycling bin.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param propertyName @return ApiArchiveRequest
func (*CoreApiService) ArchiveExecute ¶
func (a *CoreApiService) ArchiveExecute(r ApiArchiveRequest) (*http.Response, error)
Execute executes the request
func (*CoreApiService) Create ¶
func (a *CoreApiService) Create(ctx context.Context, objectType string) ApiCreateRequest
Create Create a property
Create and return a copy of a new property for the specified object type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiCreateRequest
func (*CoreApiService) CreateExecute ¶
func (a *CoreApiService) CreateExecute(r ApiCreateRequest) (*Property, *http.Response, error)
Execute executes the request
@return Property
func (*CoreApiService) GetAll ¶
func (a *CoreApiService) GetAll(ctx context.Context, objectType string) ApiGetAllRequest
GetAll Read all properties
Read all existing properties for the specified object type and HubSpot account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiGetAllRequest
func (*CoreApiService) GetAllExecute ¶
func (a *CoreApiService) GetAllExecute(r ApiGetAllRequest) (*CollectionResponseProperty, *http.Response, error)
Execute executes the request
@return CollectionResponseProperty
func (*CoreApiService) GetByName ¶
func (a *CoreApiService) GetByName(ctx context.Context, objectType string, propertyName string) ApiGetByNameRequest
GetByName Read a property
Read a property identified by {propertyName}.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param propertyName @return ApiGetByNameRequest
func (*CoreApiService) GetByNameExecute ¶
func (a *CoreApiService) GetByNameExecute(r ApiGetByNameRequest) (*Property, *http.Response, error)
Execute executes the request
@return Property
func (*CoreApiService) Update ¶
func (a *CoreApiService) Update(ctx context.Context, objectType string, propertyName string) ApiUpdateRequest
Update Update a property
Perform a partial update of a property identified by {propertyName}. Provided fields will be overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param propertyName @return ApiUpdateRequest
func (*CoreApiService) UpdateExecute ¶
func (a *CoreApiService) UpdateExecute(r ApiUpdateRequest) (*Property, *http.Response, error)
Execute executes the request
@return Property
type Error ¶
type Error struct { // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` // A unique identifier for the request. Include this value with any error reports or support tickets CorrelationId string `json:"correlationId"` // The error category Category string `json:"category"` // A specific category that contains more specific detail about the error SubCategory *string `json:"subCategory,omitempty"` // further information about the error Errors []ErrorDetail `json:"errors,omitempty"` // Context about the error condition Context *map[string][]string `json:"context,omitempty"` // A map of link names to associated URIs containing documentation about the error or recommended remediation steps Links *map[string]string `json:"links,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 ErrorCategory ¶
ErrorCategory struct for ErrorCategory
func NewErrorCategory ¶
func NewErrorCategory(httpStatus string, name string) *ErrorCategory
NewErrorCategory instantiates a new ErrorCategory 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 NewErrorCategoryWithDefaults ¶
func NewErrorCategoryWithDefaults() *ErrorCategory
NewErrorCategoryWithDefaults instantiates a new ErrorCategory 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 (*ErrorCategory) GetHttpStatus ¶
func (o *ErrorCategory) GetHttpStatus() string
GetHttpStatus returns the HttpStatus field value
func (*ErrorCategory) GetHttpStatusOk ¶
func (o *ErrorCategory) GetHttpStatusOk() (*string, bool)
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set.
func (*ErrorCategory) GetName ¶
func (o *ErrorCategory) GetName() string
GetName returns the Name field value
func (*ErrorCategory) GetNameOk ¶
func (o *ErrorCategory) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ErrorCategory) MarshalJSON ¶
func (o ErrorCategory) MarshalJSON() ([]byte, error)
func (*ErrorCategory) SetHttpStatus ¶
func (o *ErrorCategory) SetHttpStatus(v string)
SetHttpStatus sets field value
type ErrorDetail ¶
type ErrorDetail struct { // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` // The name of the field or parameter in which the error was found. In *string `json:"in,omitempty"` // The status code associated with the error detail Code *string `json:"code,omitempty"` // 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"` }
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 GroupsApiService ¶
type GroupsApiService service
GroupsApiService GroupsApi service
func (*GroupsApiService) GroupsArchive ¶
func (a *GroupsApiService) GroupsArchive(ctx context.Context, objectType string, groupName string) ApiGroupsArchiveRequest
GroupsArchive Archive a property group
Move a property group identified by {groupName} to the recycling bin.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param groupName @return ApiGroupsArchiveRequest
func (*GroupsApiService) GroupsArchiveExecute ¶
func (a *GroupsApiService) GroupsArchiveExecute(r ApiGroupsArchiveRequest) (*http.Response, error)
Execute executes the request
func (*GroupsApiService) GroupsCreate ¶
func (a *GroupsApiService) GroupsCreate(ctx context.Context, objectType string) ApiGroupsCreateRequest
GroupsCreate Create a property group
Create and return a copy of a new property group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiGroupsCreateRequest
func (*GroupsApiService) GroupsCreateExecute ¶
func (a *GroupsApiService) GroupsCreateExecute(r ApiGroupsCreateRequest) (*PropertyGroup, *http.Response, error)
Execute executes the request
@return PropertyGroup
func (*GroupsApiService) GroupsGetAll ¶
func (a *GroupsApiService) GroupsGetAll(ctx context.Context, objectType string) ApiGroupsGetAllRequest
GroupsGetAll Read all property groups
Read all existing property groups for the specified object type and HubSpot account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @return ApiGroupsGetAllRequest
func (*GroupsApiService) GroupsGetAllExecute ¶
func (a *GroupsApiService) GroupsGetAllExecute(r ApiGroupsGetAllRequest) (*CollectionResponsePropertyGroup, *http.Response, error)
Execute executes the request
@return CollectionResponsePropertyGroup
func (*GroupsApiService) GroupsGetByName ¶
func (a *GroupsApiService) GroupsGetByName(ctx context.Context, objectType string, groupName string) ApiGroupsGetByNameRequest
GroupsGetByName Read a property group
Read a property group identified by {groupName}.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param groupName @return ApiGroupsGetByNameRequest
func (*GroupsApiService) GroupsGetByNameExecute ¶
func (a *GroupsApiService) GroupsGetByNameExecute(r ApiGroupsGetByNameRequest) (*PropertyGroup, *http.Response, error)
Execute executes the request
@return PropertyGroup
func (*GroupsApiService) GroupsUpdate ¶
func (a *GroupsApiService) GroupsUpdate(ctx context.Context, objectType string, groupName string) ApiGroupsUpdateRequest
GroupsUpdate Update a property group
Perform a partial update of a property group identified by {groupName}. Provided fields will be overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param objectType @param groupName @return ApiGroupsUpdateRequest
func (*GroupsApiService) GroupsUpdateExecute ¶
func (a *GroupsApiService) GroupsUpdateExecute(r ApiGroupsUpdateRequest) (*PropertyGroup, *http.Response, error)
Execute executes the request
@return PropertyGroup
type NextPage ¶
NextPage struct for NextPage
func NewNextPage ¶
NewNextPage instantiates a new NextPage 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 NewNextPageWithDefaults ¶
func NewNextPageWithDefaults() *NextPage
NewNextPageWithDefaults instantiates a new NextPage 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 (*NextPage) GetAfterOk ¶
GetAfterOk returns a tuple with the After field value and a boolean to check if the value has been set.
func (*NextPage) GetLinkOk ¶
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (NextPage) MarshalJSON ¶
type NullableBatchInputPropertyCreate ¶
type NullableBatchInputPropertyCreate struct {
// contains filtered or unexported fields
}
func NewNullableBatchInputPropertyCreate ¶
func NewNullableBatchInputPropertyCreate(val *BatchInputPropertyCreate) *NullableBatchInputPropertyCreate
func (NullableBatchInputPropertyCreate) Get ¶
func (v NullableBatchInputPropertyCreate) Get() *BatchInputPropertyCreate
func (NullableBatchInputPropertyCreate) IsSet ¶
func (v NullableBatchInputPropertyCreate) IsSet() bool
func (NullableBatchInputPropertyCreate) MarshalJSON ¶
func (v NullableBatchInputPropertyCreate) MarshalJSON() ([]byte, error)
func (*NullableBatchInputPropertyCreate) Set ¶
func (v *NullableBatchInputPropertyCreate) Set(val *BatchInputPropertyCreate)
func (*NullableBatchInputPropertyCreate) UnmarshalJSON ¶
func (v *NullableBatchInputPropertyCreate) UnmarshalJSON(src []byte) error
func (*NullableBatchInputPropertyCreate) Unset ¶
func (v *NullableBatchInputPropertyCreate) Unset()
type NullableBatchInputPropertyName ¶
type NullableBatchInputPropertyName struct {
// contains filtered or unexported fields
}
func NewNullableBatchInputPropertyName ¶
func NewNullableBatchInputPropertyName(val *BatchInputPropertyName) *NullableBatchInputPropertyName
func (NullableBatchInputPropertyName) Get ¶
func (v NullableBatchInputPropertyName) Get() *BatchInputPropertyName
func (NullableBatchInputPropertyName) IsSet ¶
func (v NullableBatchInputPropertyName) IsSet() bool
func (NullableBatchInputPropertyName) MarshalJSON ¶
func (v NullableBatchInputPropertyName) MarshalJSON() ([]byte, error)
func (*NullableBatchInputPropertyName) Set ¶
func (v *NullableBatchInputPropertyName) Set(val *BatchInputPropertyName)
func (*NullableBatchInputPropertyName) UnmarshalJSON ¶
func (v *NullableBatchInputPropertyName) UnmarshalJSON(src []byte) error
func (*NullableBatchInputPropertyName) Unset ¶
func (v *NullableBatchInputPropertyName) Unset()
type NullableBatchReadInputPropertyName ¶
type NullableBatchReadInputPropertyName struct {
// contains filtered or unexported fields
}
func NewNullableBatchReadInputPropertyName ¶
func NewNullableBatchReadInputPropertyName(val *BatchReadInputPropertyName) *NullableBatchReadInputPropertyName
func (NullableBatchReadInputPropertyName) Get ¶
func (v NullableBatchReadInputPropertyName) Get() *BatchReadInputPropertyName
func (NullableBatchReadInputPropertyName) IsSet ¶
func (v NullableBatchReadInputPropertyName) IsSet() bool
func (NullableBatchReadInputPropertyName) MarshalJSON ¶
func (v NullableBatchReadInputPropertyName) MarshalJSON() ([]byte, error)
func (*NullableBatchReadInputPropertyName) Set ¶
func (v *NullableBatchReadInputPropertyName) Set(val *BatchReadInputPropertyName)
func (*NullableBatchReadInputPropertyName) UnmarshalJSON ¶
func (v *NullableBatchReadInputPropertyName) UnmarshalJSON(src []byte) error
func (*NullableBatchReadInputPropertyName) Unset ¶
func (v *NullableBatchReadInputPropertyName) Unset()
type NullableBatchResponseProperty ¶
type NullableBatchResponseProperty struct {
// contains filtered or unexported fields
}
func NewNullableBatchResponseProperty ¶
func NewNullableBatchResponseProperty(val *BatchResponseProperty) *NullableBatchResponseProperty
func (NullableBatchResponseProperty) Get ¶
func (v NullableBatchResponseProperty) Get() *BatchResponseProperty
func (NullableBatchResponseProperty) IsSet ¶
func (v NullableBatchResponseProperty) IsSet() bool
func (NullableBatchResponseProperty) MarshalJSON ¶
func (v NullableBatchResponseProperty) MarshalJSON() ([]byte, error)
func (*NullableBatchResponseProperty) Set ¶
func (v *NullableBatchResponseProperty) Set(val *BatchResponseProperty)
func (*NullableBatchResponseProperty) UnmarshalJSON ¶
func (v *NullableBatchResponseProperty) UnmarshalJSON(src []byte) error
func (*NullableBatchResponseProperty) Unset ¶
func (v *NullableBatchResponseProperty) 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 NullableCollectionResponseProperty ¶
type NullableCollectionResponseProperty struct {
// contains filtered or unexported fields
}
func NewNullableCollectionResponseProperty ¶
func NewNullableCollectionResponseProperty(val *CollectionResponseProperty) *NullableCollectionResponseProperty
func (NullableCollectionResponseProperty) Get ¶
func (v NullableCollectionResponseProperty) Get() *CollectionResponseProperty
func (NullableCollectionResponseProperty) IsSet ¶
func (v NullableCollectionResponseProperty) IsSet() bool
func (NullableCollectionResponseProperty) MarshalJSON ¶
func (v NullableCollectionResponseProperty) MarshalJSON() ([]byte, error)
func (*NullableCollectionResponseProperty) Set ¶
func (v *NullableCollectionResponseProperty) Set(val *CollectionResponseProperty)
func (*NullableCollectionResponseProperty) UnmarshalJSON ¶
func (v *NullableCollectionResponseProperty) UnmarshalJSON(src []byte) error
func (*NullableCollectionResponseProperty) Unset ¶
func (v *NullableCollectionResponseProperty) Unset()
type NullableCollectionResponsePropertyGroup ¶
type NullableCollectionResponsePropertyGroup struct {
// contains filtered or unexported fields
}
func NewNullableCollectionResponsePropertyGroup ¶
func NewNullableCollectionResponsePropertyGroup(val *CollectionResponsePropertyGroup) *NullableCollectionResponsePropertyGroup
func (NullableCollectionResponsePropertyGroup) IsSet ¶
func (v NullableCollectionResponsePropertyGroup) IsSet() bool
func (NullableCollectionResponsePropertyGroup) MarshalJSON ¶
func (v NullableCollectionResponsePropertyGroup) MarshalJSON() ([]byte, error)
func (*NullableCollectionResponsePropertyGroup) Set ¶
func (v *NullableCollectionResponsePropertyGroup) Set(val *CollectionResponsePropertyGroup)
func (*NullableCollectionResponsePropertyGroup) UnmarshalJSON ¶
func (v *NullableCollectionResponsePropertyGroup) UnmarshalJSON(src []byte) error
func (*NullableCollectionResponsePropertyGroup) Unset ¶
func (v *NullableCollectionResponsePropertyGroup) 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 NullableErrorCategory ¶
type NullableErrorCategory struct {
// contains filtered or unexported fields
}
func NewNullableErrorCategory ¶
func NewNullableErrorCategory(val *ErrorCategory) *NullableErrorCategory
func (NullableErrorCategory) Get ¶
func (v NullableErrorCategory) Get() *ErrorCategory
func (NullableErrorCategory) IsSet ¶
func (v NullableErrorCategory) IsSet() bool
func (NullableErrorCategory) MarshalJSON ¶
func (v NullableErrorCategory) MarshalJSON() ([]byte, error)
func (*NullableErrorCategory) Set ¶
func (v *NullableErrorCategory) Set(val *ErrorCategory)
func (*NullableErrorCategory) UnmarshalJSON ¶
func (v *NullableErrorCategory) UnmarshalJSON(src []byte) error
func (*NullableErrorCategory) Unset ¶
func (v *NullableErrorCategory) 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 NullableNextPage ¶
type NullableNextPage struct {
// contains filtered or unexported fields
}
func NewNullableNextPage ¶
func NewNullableNextPage(val *NextPage) *NullableNextPage
func (NullableNextPage) Get ¶
func (v NullableNextPage) Get() *NextPage
func (NullableNextPage) IsSet ¶
func (v NullableNextPage) IsSet() bool
func (NullableNextPage) MarshalJSON ¶
func (v NullableNextPage) MarshalJSON() ([]byte, error)
func (*NullableNextPage) Set ¶
func (v *NullableNextPage) Set(val *NextPage)
func (*NullableNextPage) UnmarshalJSON ¶
func (v *NullableNextPage) UnmarshalJSON(src []byte) error
func (*NullableNextPage) Unset ¶
func (v *NullableNextPage) 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 NullablePaging ¶
type NullablePaging struct {
// contains filtered or unexported fields
}
func NewNullablePaging ¶
func NewNullablePaging(val *Paging) *NullablePaging
func (NullablePaging) Get ¶
func (v NullablePaging) Get() *Paging
func (NullablePaging) IsSet ¶
func (v NullablePaging) IsSet() bool
func (NullablePaging) MarshalJSON ¶
func (v NullablePaging) MarshalJSON() ([]byte, error)
func (*NullablePaging) Set ¶
func (v *NullablePaging) Set(val *Paging)
func (*NullablePaging) UnmarshalJSON ¶
func (v *NullablePaging) UnmarshalJSON(src []byte) error
func (*NullablePaging) Unset ¶
func (v *NullablePaging) 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 NullablePropertyCreate ¶
type NullablePropertyCreate struct {
// contains filtered or unexported fields
}
func NewNullablePropertyCreate ¶
func NewNullablePropertyCreate(val *PropertyCreate) *NullablePropertyCreate
func (NullablePropertyCreate) Get ¶
func (v NullablePropertyCreate) Get() *PropertyCreate
func (NullablePropertyCreate) IsSet ¶
func (v NullablePropertyCreate) IsSet() bool
func (NullablePropertyCreate) MarshalJSON ¶
func (v NullablePropertyCreate) MarshalJSON() ([]byte, error)
func (*NullablePropertyCreate) Set ¶
func (v *NullablePropertyCreate) Set(val *PropertyCreate)
func (*NullablePropertyCreate) UnmarshalJSON ¶
func (v *NullablePropertyCreate) UnmarshalJSON(src []byte) error
func (*NullablePropertyCreate) Unset ¶
func (v *NullablePropertyCreate) Unset()
type NullablePropertyGroup ¶
type NullablePropertyGroup struct {
// contains filtered or unexported fields
}
func NewNullablePropertyGroup ¶
func NewNullablePropertyGroup(val *PropertyGroup) *NullablePropertyGroup
func (NullablePropertyGroup) Get ¶
func (v NullablePropertyGroup) Get() *PropertyGroup
func (NullablePropertyGroup) IsSet ¶
func (v NullablePropertyGroup) IsSet() bool
func (NullablePropertyGroup) MarshalJSON ¶
func (v NullablePropertyGroup) MarshalJSON() ([]byte, error)
func (*NullablePropertyGroup) Set ¶
func (v *NullablePropertyGroup) Set(val *PropertyGroup)
func (*NullablePropertyGroup) UnmarshalJSON ¶
func (v *NullablePropertyGroup) UnmarshalJSON(src []byte) error
func (*NullablePropertyGroup) Unset ¶
func (v *NullablePropertyGroup) Unset()
type NullablePropertyGroupCreate ¶
type NullablePropertyGroupCreate struct {
// contains filtered or unexported fields
}
func NewNullablePropertyGroupCreate ¶
func NewNullablePropertyGroupCreate(val *PropertyGroupCreate) *NullablePropertyGroupCreate
func (NullablePropertyGroupCreate) Get ¶
func (v NullablePropertyGroupCreate) Get() *PropertyGroupCreate
func (NullablePropertyGroupCreate) IsSet ¶
func (v NullablePropertyGroupCreate) IsSet() bool
func (NullablePropertyGroupCreate) MarshalJSON ¶
func (v NullablePropertyGroupCreate) MarshalJSON() ([]byte, error)
func (*NullablePropertyGroupCreate) Set ¶
func (v *NullablePropertyGroupCreate) Set(val *PropertyGroupCreate)
func (*NullablePropertyGroupCreate) UnmarshalJSON ¶
func (v *NullablePropertyGroupCreate) UnmarshalJSON(src []byte) error
func (*NullablePropertyGroupCreate) Unset ¶
func (v *NullablePropertyGroupCreate) Unset()
type NullablePropertyGroupUpdate ¶
type NullablePropertyGroupUpdate struct {
// contains filtered or unexported fields
}
func NewNullablePropertyGroupUpdate ¶
func NewNullablePropertyGroupUpdate(val *PropertyGroupUpdate) *NullablePropertyGroupUpdate
func (NullablePropertyGroupUpdate) Get ¶
func (v NullablePropertyGroupUpdate) Get() *PropertyGroupUpdate
func (NullablePropertyGroupUpdate) IsSet ¶
func (v NullablePropertyGroupUpdate) IsSet() bool
func (NullablePropertyGroupUpdate) MarshalJSON ¶
func (v NullablePropertyGroupUpdate) MarshalJSON() ([]byte, error)
func (*NullablePropertyGroupUpdate) Set ¶
func (v *NullablePropertyGroupUpdate) Set(val *PropertyGroupUpdate)
func (*NullablePropertyGroupUpdate) UnmarshalJSON ¶
func (v *NullablePropertyGroupUpdate) UnmarshalJSON(src []byte) error
func (*NullablePropertyGroupUpdate) Unset ¶
func (v *NullablePropertyGroupUpdate) 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 NullablePropertyName ¶
type NullablePropertyName struct {
// contains filtered or unexported fields
}
func NewNullablePropertyName ¶
func NewNullablePropertyName(val *PropertyName) *NullablePropertyName
func (NullablePropertyName) Get ¶
func (v NullablePropertyName) Get() *PropertyName
func (NullablePropertyName) IsSet ¶
func (v NullablePropertyName) IsSet() bool
func (NullablePropertyName) MarshalJSON ¶
func (v NullablePropertyName) MarshalJSON() ([]byte, error)
func (*NullablePropertyName) Set ¶
func (v *NullablePropertyName) Set(val *PropertyName)
func (*NullablePropertyName) UnmarshalJSON ¶
func (v *NullablePropertyName) UnmarshalJSON(src []byte) error
func (*NullablePropertyName) Unset ¶
func (v *NullablePropertyName) Unset()
type NullablePropertyUpdate ¶
type NullablePropertyUpdate struct {
// contains filtered or unexported fields
}
func NewNullablePropertyUpdate ¶
func NewNullablePropertyUpdate(val *PropertyUpdate) *NullablePropertyUpdate
func (NullablePropertyUpdate) Get ¶
func (v NullablePropertyUpdate) Get() *PropertyUpdate
func (NullablePropertyUpdate) IsSet ¶
func (v NullablePropertyUpdate) IsSet() bool
func (NullablePropertyUpdate) MarshalJSON ¶
func (v NullablePropertyUpdate) MarshalJSON() ([]byte, error)
func (*NullablePropertyUpdate) Set ¶
func (v *NullablePropertyUpdate) Set(val *PropertyUpdate)
func (*NullablePropertyUpdate) UnmarshalJSON ¶
func (v *NullablePropertyUpdate) UnmarshalJSON(src []byte) error
func (*NullablePropertyUpdate) Unset ¶
func (v *NullablePropertyUpdate) Unset()
type NullableStandardError ¶
type NullableStandardError struct {
// contains filtered or unexported fields
}
func NewNullableStandardError ¶
func NewNullableStandardError(val *StandardError) *NullableStandardError
func (NullableStandardError) Get ¶
func (v NullableStandardError) Get() *StandardError
func (NullableStandardError) IsSet ¶
func (v NullableStandardError) IsSet() bool
func (NullableStandardError) MarshalJSON ¶
func (v NullableStandardError) MarshalJSON() ([]byte, error)
func (*NullableStandardError) Set ¶
func (v *NullableStandardError) Set(val *StandardError)
func (*NullableStandardError) UnmarshalJSON ¶
func (v *NullableStandardError) UnmarshalJSON(src []byte) error
func (*NullableStandardError) Unset ¶
func (v *NullableStandardError) 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 Option ¶
type Option struct { // 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"` // A description of the option. Description *string `json:"description,omitempty"` // 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"` // Hidden options will not be displayed in HubSpot. Hidden bool `json:"hidden"` }
Option struct for Option
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 { // 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"` // A description of the option. Description *string `json:"description,omitempty"` // 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,omitempty"` // Hidden options won't be shown in HubSpot. Hidden bool `json:"hidden"` }
OptionInput struct for OptionInput
func NewOptionInput ¶
func NewOptionInput(label string, value string, hidden bool) *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 if set, zero value otherwise.
func (*OptionInput) GetDisplayOrderOk ¶
func (o *OptionInput) 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 (*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) HasDisplayOrder ¶
func (o *OptionInput) HasDisplayOrder() bool
HasDisplayOrder 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 gets a reference to the given int32 and assigns it to the DisplayOrder field.
type Paging ¶
type Paging struct {
Next *NextPage `json:"next,omitempty"`
}
Paging struct for Paging
func NewPaging ¶
func NewPaging() *Paging
NewPaging instantiates a new Paging 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 NewPagingWithDefaults ¶
func NewPagingWithDefaults() *Paging
NewPagingWithDefaults instantiates a new Paging 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 (*Paging) GetNextOk ¶
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (Paging) MarshalJSON ¶
type Property ¶
type Property struct { UpdatedAt *time.Time `json:"updatedAt,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` // When the property was archived. ArchivedAt *time.Time `json:"archivedAt,omitempty"` // The internal property name, which must be used when referencing the property via the API. Name string `json:"name"` // A human-readable property label that will be shown in HubSpot. Label string `json:"label"` // The property data type. Type string `json:"type"` // Controls how the property appears in HubSpot. FieldType string `json:"fieldType"` // A description of the property that will be shown as help text in HubSpot. Description string `json:"description"` // The name of the property group the property belongs to. GroupName string `json:"groupName"` // 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"` // The internal user 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"` // 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"` // If this property is related to other object(s), they'll be listed here. ReferencedObjectType *string `json:"referencedObjectType,omitempty"` // Properties are shown in order, starting with the lowest positive integer value. DisplayOrder *int32 `json:"displayOrder,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"` // Whether or not the property is archived. Archived *bool `json:"archived,omitempty"` // Whether or not the property's value must be unique. Once set, this can't be changed. HasUniqueValue *bool `json:"hasUniqueValue,omitempty"` // Whether or not the property will be hidden from the HubSpot UI. It's recommended this be set to false for custom properties. Hidden *bool `json:"hidden,omitempty"` // This will be true for default object properties built into HubSpot. HubspotDefined *bool `json:"hubspotDefined,omitempty"` // Whether or not the property will display the currency symbol set in the account settings. ShowCurrencySymbol *bool `json:"showCurrencySymbol,omitempty"` ModificationMetadata *PropertyModificationMetadata `json:"modificationMetadata,omitempty"` // Whether or not the property can be used in a HubSpot form. FormField *bool `json:"formField,omitempty"` }
Property struct for Property
func NewProperty ¶
func NewProperty(name string, label string, type_ string, fieldType string, description string, groupName string, options []Option) *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) 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) 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) 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 PropertyCreate ¶
type PropertyCreate struct { // The internal property name, which must be used when referencing the property via the API. Name string `json:"name"` // 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"` // Controls how the property appears in HubSpot. FieldType string `json:"fieldType"` // The name of the property group the property belongs to. GroupName string `json:"groupName"` // A description of the property that will be shown as help text in HubSpot. Description *string `json:"description,omitempty"` // A list of valid options for the property. This field is required for enumerated properties. Options []OptionInput `json:"options,omitempty"` // Properties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property to be displayed after any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` // Whether or not the property's value must be unique. Once set, this can't be changed. HasUniqueValue *bool `json:"hasUniqueValue,omitempty"` // If true, the property won't be visible and can't be used in HubSpot. Hidden *bool `json:"hidden,omitempty"` // Whether or not the property can be used in a HubSpot form. FormField *bool `json:"formField,omitempty"` }
PropertyCreate struct for PropertyCreate
func NewPropertyCreate ¶
func NewPropertyCreate(name string, label string, type_ string, fieldType string, groupName string) *PropertyCreate
NewPropertyCreate instantiates a new PropertyCreate 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 NewPropertyCreateWithDefaults ¶
func NewPropertyCreateWithDefaults() *PropertyCreate
NewPropertyCreateWithDefaults instantiates a new PropertyCreate 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 (*PropertyCreate) GetDescription ¶
func (o *PropertyCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PropertyCreate) GetDescriptionOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetDisplayOrder ¶
func (o *PropertyCreate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*PropertyCreate) GetDisplayOrderOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetFieldType ¶
func (o *PropertyCreate) GetFieldType() string
GetFieldType returns the FieldType field value
func (*PropertyCreate) GetFieldTypeOk ¶
func (o *PropertyCreate) GetFieldTypeOk() (*string, bool)
GetFieldTypeOk returns a tuple with the FieldType field value and a boolean to check if the value has been set.
func (*PropertyCreate) GetFormField ¶
func (o *PropertyCreate) GetFormField() bool
GetFormField returns the FormField field value if set, zero value otherwise.
func (*PropertyCreate) GetFormFieldOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetGroupName ¶
func (o *PropertyCreate) GetGroupName() string
GetGroupName returns the GroupName field value
func (*PropertyCreate) GetGroupNameOk ¶
func (o *PropertyCreate) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.
func (*PropertyCreate) GetHasUniqueValue ¶
func (o *PropertyCreate) GetHasUniqueValue() bool
GetHasUniqueValue returns the HasUniqueValue field value if set, zero value otherwise.
func (*PropertyCreate) GetHasUniqueValueOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetHidden ¶
func (o *PropertyCreate) GetHidden() bool
GetHidden returns the Hidden field value if set, zero value otherwise.
func (*PropertyCreate) GetHiddenOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetLabel ¶
func (o *PropertyCreate) GetLabel() string
GetLabel returns the Label field value
func (*PropertyCreate) GetLabelOk ¶
func (o *PropertyCreate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*PropertyCreate) GetName ¶
func (o *PropertyCreate) GetName() string
GetName returns the Name field value
func (*PropertyCreate) GetNameOk ¶
func (o *PropertyCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PropertyCreate) GetOptions ¶
func (o *PropertyCreate) GetOptions() []OptionInput
GetOptions returns the Options field value if set, zero value otherwise.
func (*PropertyCreate) GetOptionsOk ¶
func (o *PropertyCreate) 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 (*PropertyCreate) GetType ¶
func (o *PropertyCreate) GetType() string
GetType returns the Type field value
func (*PropertyCreate) GetTypeOk ¶
func (o *PropertyCreate) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PropertyCreate) HasDescription ¶
func (o *PropertyCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PropertyCreate) HasDisplayOrder ¶
func (o *PropertyCreate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (*PropertyCreate) HasFormField ¶
func (o *PropertyCreate) HasFormField() bool
HasFormField returns a boolean if a field has been set.
func (*PropertyCreate) HasHasUniqueValue ¶
func (o *PropertyCreate) HasHasUniqueValue() bool
HasHasUniqueValue returns a boolean if a field has been set.
func (*PropertyCreate) HasHidden ¶
func (o *PropertyCreate) HasHidden() bool
HasHidden returns a boolean if a field has been set.
func (*PropertyCreate) HasOptions ¶
func (o *PropertyCreate) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (PropertyCreate) MarshalJSON ¶
func (o PropertyCreate) MarshalJSON() ([]byte, error)
func (*PropertyCreate) SetDescription ¶
func (o *PropertyCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PropertyCreate) SetDisplayOrder ¶
func (o *PropertyCreate) SetDisplayOrder(v int32)
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*PropertyCreate) SetFieldType ¶
func (o *PropertyCreate) SetFieldType(v string)
SetFieldType sets field value
func (*PropertyCreate) SetFormField ¶
func (o *PropertyCreate) SetFormField(v bool)
SetFormField gets a reference to the given bool and assigns it to the FormField field.
func (*PropertyCreate) SetGroupName ¶
func (o *PropertyCreate) SetGroupName(v string)
SetGroupName sets field value
func (*PropertyCreate) SetHasUniqueValue ¶
func (o *PropertyCreate) SetHasUniqueValue(v bool)
SetHasUniqueValue gets a reference to the given bool and assigns it to the HasUniqueValue field.
func (*PropertyCreate) SetHidden ¶
func (o *PropertyCreate) SetHidden(v bool)
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*PropertyCreate) SetLabel ¶
func (o *PropertyCreate) SetLabel(v string)
SetLabel sets field value
func (*PropertyCreate) SetName ¶
func (o *PropertyCreate) SetName(v string)
SetName sets field value
func (*PropertyCreate) SetOptions ¶
func (o *PropertyCreate) SetOptions(v []OptionInput)
SetOptions gets a reference to the given []OptionInput and assigns it to the Options field.
func (*PropertyCreate) SetType ¶
func (o *PropertyCreate) SetType(v string)
SetType sets field value
type PropertyGroup ¶
type PropertyGroup struct { // The internal property group name, which must be used when referencing the property group via the API. Name string `json:"name"` // A human-readable label that will be shown in HubSpot. Label string `json:"label"` // Property groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values. DisplayOrder int32 `json:"displayOrder"` Archived bool `json:"archived"` }
PropertyGroup An ID for a group of properties
func NewPropertyGroup ¶
func NewPropertyGroup(name string, label string, displayOrder int32, archived bool) *PropertyGroup
NewPropertyGroup instantiates a new PropertyGroup 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 NewPropertyGroupWithDefaults ¶
func NewPropertyGroupWithDefaults() *PropertyGroup
NewPropertyGroupWithDefaults instantiates a new PropertyGroup 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 (*PropertyGroup) GetArchived ¶
func (o *PropertyGroup) GetArchived() bool
GetArchived returns the Archived field value
func (*PropertyGroup) GetArchivedOk ¶
func (o *PropertyGroup) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*PropertyGroup) GetDisplayOrder ¶
func (o *PropertyGroup) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value
func (*PropertyGroup) GetDisplayOrderOk ¶
func (o *PropertyGroup) GetDisplayOrderOk() (*int32, bool)
GetDisplayOrderOk returns a tuple with the DisplayOrder field value and a boolean to check if the value has been set.
func (*PropertyGroup) GetLabel ¶
func (o *PropertyGroup) GetLabel() string
GetLabel returns the Label field value
func (*PropertyGroup) GetLabelOk ¶
func (o *PropertyGroup) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*PropertyGroup) GetName ¶
func (o *PropertyGroup) GetName() string
GetName returns the Name field value
func (*PropertyGroup) GetNameOk ¶
func (o *PropertyGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (PropertyGroup) MarshalJSON ¶
func (o PropertyGroup) MarshalJSON() ([]byte, error)
func (*PropertyGroup) SetArchived ¶
func (o *PropertyGroup) SetArchived(v bool)
SetArchived sets field value
func (*PropertyGroup) SetDisplayOrder ¶
func (o *PropertyGroup) SetDisplayOrder(v int32)
SetDisplayOrder sets field value
func (*PropertyGroup) SetLabel ¶
func (o *PropertyGroup) SetLabel(v string)
SetLabel sets field value
type PropertyGroupCreate ¶
type PropertyGroupCreate struct { // The internal property group name, which must be used when referencing the property group via the API. Name string `json:"name"` // A human-readable label that will be shown in HubSpot. Label string `json:"label"` // Property groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` }
PropertyGroupCreate struct for PropertyGroupCreate
func NewPropertyGroupCreate ¶
func NewPropertyGroupCreate(name string, label string) *PropertyGroupCreate
NewPropertyGroupCreate instantiates a new PropertyGroupCreate 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 NewPropertyGroupCreateWithDefaults ¶
func NewPropertyGroupCreateWithDefaults() *PropertyGroupCreate
NewPropertyGroupCreateWithDefaults instantiates a new PropertyGroupCreate 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 (*PropertyGroupCreate) GetDisplayOrder ¶
func (o *PropertyGroupCreate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*PropertyGroupCreate) GetDisplayOrderOk ¶
func (o *PropertyGroupCreate) 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 (*PropertyGroupCreate) GetLabel ¶
func (o *PropertyGroupCreate) GetLabel() string
GetLabel returns the Label field value
func (*PropertyGroupCreate) GetLabelOk ¶
func (o *PropertyGroupCreate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*PropertyGroupCreate) GetName ¶
func (o *PropertyGroupCreate) GetName() string
GetName returns the Name field value
func (*PropertyGroupCreate) GetNameOk ¶
func (o *PropertyGroupCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PropertyGroupCreate) HasDisplayOrder ¶
func (o *PropertyGroupCreate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (PropertyGroupCreate) MarshalJSON ¶
func (o PropertyGroupCreate) MarshalJSON() ([]byte, error)
func (*PropertyGroupCreate) SetDisplayOrder ¶
func (o *PropertyGroupCreate) SetDisplayOrder(v int32)
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*PropertyGroupCreate) SetLabel ¶
func (o *PropertyGroupCreate) SetLabel(v string)
SetLabel sets field value
func (*PropertyGroupCreate) SetName ¶
func (o *PropertyGroupCreate) SetName(v string)
SetName sets field value
type PropertyGroupUpdate ¶
type PropertyGroupUpdate struct { // A human-readable label that will be shown in HubSpot. Label *string `json:"label,omitempty"` // Property groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` }
PropertyGroupUpdate struct for PropertyGroupUpdate
func NewPropertyGroupUpdate ¶
func NewPropertyGroupUpdate() *PropertyGroupUpdate
NewPropertyGroupUpdate instantiates a new PropertyGroupUpdate 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 NewPropertyGroupUpdateWithDefaults ¶
func NewPropertyGroupUpdateWithDefaults() *PropertyGroupUpdate
NewPropertyGroupUpdateWithDefaults instantiates a new PropertyGroupUpdate 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 (*PropertyGroupUpdate) GetDisplayOrder ¶
func (o *PropertyGroupUpdate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*PropertyGroupUpdate) GetDisplayOrderOk ¶
func (o *PropertyGroupUpdate) 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 (*PropertyGroupUpdate) GetLabel ¶
func (o *PropertyGroupUpdate) GetLabel() string
GetLabel returns the Label field value if set, zero value otherwise.
func (*PropertyGroupUpdate) GetLabelOk ¶
func (o *PropertyGroupUpdate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PropertyGroupUpdate) HasDisplayOrder ¶
func (o *PropertyGroupUpdate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (*PropertyGroupUpdate) HasLabel ¶
func (o *PropertyGroupUpdate) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (PropertyGroupUpdate) MarshalJSON ¶
func (o PropertyGroupUpdate) MarshalJSON() ([]byte, error)
func (*PropertyGroupUpdate) SetDisplayOrder ¶
func (o *PropertyGroupUpdate) SetDisplayOrder(v int32)
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*PropertyGroupUpdate) SetLabel ¶
func (o *PropertyGroupUpdate) SetLabel(v string)
SetLabel gets a reference to the given string and assigns it to the Label field.
type PropertyModificationMetadata ¶
type PropertyModificationMetadata struct { Archivable bool `json:"archivable"` ReadOnlyDefinition bool `json:"readOnlyDefinition"` ReadOnlyOptions *bool `json:"readOnlyOptions,omitempty"` ReadOnlyValue bool `json:"readOnlyValue"` }
PropertyModificationMetadata struct for PropertyModificationMetadata
func NewPropertyModificationMetadata ¶
func NewPropertyModificationMetadata(archivable bool, readOnlyDefinition bool, readOnlyValue 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 PropertyName ¶
type PropertyName struct { // The name of the property to read or modify. Name string `json:"name"` }
PropertyName struct for PropertyName
func NewPropertyName ¶
func NewPropertyName(name string) *PropertyName
NewPropertyName instantiates a new PropertyName 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 NewPropertyNameWithDefaults ¶
func NewPropertyNameWithDefaults() *PropertyName
NewPropertyNameWithDefaults instantiates a new PropertyName 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 (*PropertyName) GetName ¶
func (o *PropertyName) GetName() string
GetName returns the Name field value
func (*PropertyName) GetNameOk ¶
func (o *PropertyName) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (PropertyName) MarshalJSON ¶
func (o PropertyName) MarshalJSON() ([]byte, error)
type PropertyUpdate ¶
type PropertyUpdate struct { // A human-readable property label that will be shown in HubSpot. Label *string `json:"label,omitempty"` // The data type of the property. Type *string `json:"type,omitempty"` // Controls how the property appears in HubSpot. FieldType *string `json:"fieldType,omitempty"` // The name of the property group the property belongs to. GroupName *string `json:"groupName,omitempty"` // A description of the property that will be shown as help text in HubSpot. Description *string `json:"description,omitempty"` // A list of valid options for the property. Options []OptionInput `json:"options,omitempty"` // Properties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the Property to be displayed after any positive values. DisplayOrder *int32 `json:"displayOrder,omitempty"` // If true, the property won't be visible and can't be used in HubSpot. Hidden *bool `json:"hidden,omitempty"` // Whether or not the property can be used in a HubSpot form. FormField *bool `json:"formField,omitempty"` }
PropertyUpdate struct for PropertyUpdate
func NewPropertyUpdate ¶
func NewPropertyUpdate() *PropertyUpdate
NewPropertyUpdate instantiates a new PropertyUpdate 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 NewPropertyUpdateWithDefaults ¶
func NewPropertyUpdateWithDefaults() *PropertyUpdate
NewPropertyUpdateWithDefaults instantiates a new PropertyUpdate 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 (*PropertyUpdate) GetDescription ¶
func (o *PropertyUpdate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PropertyUpdate) GetDescriptionOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetDisplayOrder ¶
func (o *PropertyUpdate) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field value if set, zero value otherwise.
func (*PropertyUpdate) GetDisplayOrderOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetFieldType ¶
func (o *PropertyUpdate) GetFieldType() string
GetFieldType returns the FieldType field value if set, zero value otherwise.
func (*PropertyUpdate) GetFieldTypeOk ¶
func (o *PropertyUpdate) GetFieldTypeOk() (*string, bool)
GetFieldTypeOk returns a tuple with the FieldType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PropertyUpdate) GetFormField ¶
func (o *PropertyUpdate) GetFormField() bool
GetFormField returns the FormField field value if set, zero value otherwise.
func (*PropertyUpdate) GetFormFieldOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetGroupName ¶
func (o *PropertyUpdate) GetGroupName() string
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*PropertyUpdate) GetGroupNameOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetHidden ¶
func (o *PropertyUpdate) GetHidden() bool
GetHidden returns the Hidden field value if set, zero value otherwise.
func (*PropertyUpdate) GetHiddenOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetLabel ¶
func (o *PropertyUpdate) GetLabel() string
GetLabel returns the Label field value if set, zero value otherwise.
func (*PropertyUpdate) GetLabelOk ¶
func (o *PropertyUpdate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PropertyUpdate) GetOptions ¶
func (o *PropertyUpdate) GetOptions() []OptionInput
GetOptions returns the Options field value if set, zero value otherwise.
func (*PropertyUpdate) GetOptionsOk ¶
func (o *PropertyUpdate) 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 (*PropertyUpdate) GetType ¶
func (o *PropertyUpdate) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PropertyUpdate) GetTypeOk ¶
func (o *PropertyUpdate) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PropertyUpdate) HasDescription ¶
func (o *PropertyUpdate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PropertyUpdate) HasDisplayOrder ¶
func (o *PropertyUpdate) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
func (*PropertyUpdate) HasFieldType ¶
func (o *PropertyUpdate) HasFieldType() bool
HasFieldType returns a boolean if a field has been set.
func (*PropertyUpdate) HasFormField ¶
func (o *PropertyUpdate) HasFormField() bool
HasFormField returns a boolean if a field has been set.
func (*PropertyUpdate) HasGroupName ¶
func (o *PropertyUpdate) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (*PropertyUpdate) HasHidden ¶
func (o *PropertyUpdate) HasHidden() bool
HasHidden returns a boolean if a field has been set.
func (*PropertyUpdate) HasLabel ¶
func (o *PropertyUpdate) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*PropertyUpdate) HasOptions ¶
func (o *PropertyUpdate) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*PropertyUpdate) HasType ¶
func (o *PropertyUpdate) HasType() bool
HasType returns a boolean if a field has been set.
func (PropertyUpdate) MarshalJSON ¶
func (o PropertyUpdate) MarshalJSON() ([]byte, error)
func (*PropertyUpdate) SetDescription ¶
func (o *PropertyUpdate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PropertyUpdate) SetDisplayOrder ¶
func (o *PropertyUpdate) SetDisplayOrder(v int32)
SetDisplayOrder gets a reference to the given int32 and assigns it to the DisplayOrder field.
func (*PropertyUpdate) SetFieldType ¶
func (o *PropertyUpdate) SetFieldType(v string)
SetFieldType gets a reference to the given string and assigns it to the FieldType field.
func (*PropertyUpdate) SetFormField ¶
func (o *PropertyUpdate) SetFormField(v bool)
SetFormField gets a reference to the given bool and assigns it to the FormField field.
func (*PropertyUpdate) SetGroupName ¶
func (o *PropertyUpdate) SetGroupName(v string)
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*PropertyUpdate) SetHidden ¶
func (o *PropertyUpdate) SetHidden(v bool)
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*PropertyUpdate) SetLabel ¶
func (o *PropertyUpdate) SetLabel(v string)
SetLabel gets a reference to the given string and assigns it to the Label field.
func (*PropertyUpdate) SetOptions ¶
func (o *PropertyUpdate) SetOptions(v []OptionInput)
SetOptions gets a reference to the given []OptionInput and assigns it to the Options field.
func (*PropertyUpdate) SetType ¶
func (o *PropertyUpdate) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
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
type StandardError ¶
type StandardError struct { Status string `json:"status"` Id *string `json:"id,omitempty"` Category ErrorCategory `json:"category"` SubCategory map[string]interface{} `json:"subCategory,omitempty"` Message string `json:"message"` Errors []ErrorDetail `json:"errors"` Context map[string][]string `json:"context"` Links map[string]string `json:"links"` }
StandardError struct for StandardError
func NewStandardError ¶
func NewStandardError(status string, category ErrorCategory, message string, errors []ErrorDetail, context map[string][]string, links map[string]string) *StandardError
NewStandardError instantiates a new StandardError 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 NewStandardErrorWithDefaults ¶
func NewStandardErrorWithDefaults() *StandardError
NewStandardErrorWithDefaults instantiates a new StandardError 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 (*StandardError) GetCategory ¶
func (o *StandardError) GetCategory() ErrorCategory
GetCategory returns the Category field value
func (*StandardError) GetCategoryOk ¶
func (o *StandardError) GetCategoryOk() (*ErrorCategory, bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*StandardError) GetContext ¶
func (o *StandardError) GetContext() map[string][]string
GetContext returns the Context field value
func (*StandardError) GetContextOk ¶
func (o *StandardError) GetContextOk() (*map[string][]string, bool)
GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.
func (*StandardError) GetErrors ¶
func (o *StandardError) GetErrors() []ErrorDetail
GetErrors returns the Errors field value
func (*StandardError) GetErrorsOk ¶
func (o *StandardError) GetErrorsOk() ([]ErrorDetail, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (*StandardError) GetId ¶
func (o *StandardError) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*StandardError) GetIdOk ¶
func (o *StandardError) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StandardError) GetLinks ¶
func (o *StandardError) GetLinks() map[string]string
GetLinks returns the Links field value
func (*StandardError) GetLinksOk ¶
func (o *StandardError) GetLinksOk() (*map[string]string, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*StandardError) GetMessage ¶
func (o *StandardError) GetMessage() string
GetMessage returns the Message field value
func (*StandardError) GetMessageOk ¶
func (o *StandardError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*StandardError) GetStatus ¶
func (o *StandardError) GetStatus() string
GetStatus returns the Status field value
func (*StandardError) GetStatusOk ¶
func (o *StandardError) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*StandardError) GetSubCategory ¶
func (o *StandardError) GetSubCategory() map[string]interface{}
GetSubCategory returns the SubCategory field value if set, zero value otherwise.
func (*StandardError) GetSubCategoryOk ¶
func (o *StandardError) GetSubCategoryOk() (map[string]interface{}, 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 (*StandardError) HasId ¶
func (o *StandardError) HasId() bool
HasId returns a boolean if a field has been set.
func (*StandardError) HasSubCategory ¶
func (o *StandardError) HasSubCategory() bool
HasSubCategory returns a boolean if a field has been set.
func (StandardError) MarshalJSON ¶
func (o StandardError) MarshalJSON() ([]byte, error)
func (*StandardError) SetCategory ¶
func (o *StandardError) SetCategory(v ErrorCategory)
SetCategory sets field value
func (*StandardError) SetContext ¶
func (o *StandardError) SetContext(v map[string][]string)
SetContext sets field value
func (*StandardError) SetErrors ¶
func (o *StandardError) SetErrors(v []ErrorDetail)
SetErrors sets field value
func (*StandardError) SetId ¶
func (o *StandardError) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*StandardError) SetLinks ¶
func (o *StandardError) SetLinks(v map[string]string)
SetLinks sets field value
func (*StandardError) SetMessage ¶
func (o *StandardError) SetMessage(v string)
SetMessage sets field value
func (*StandardError) SetStatus ¶
func (o *StandardError) SetStatus(v string)
SetStatus sets field value
func (*StandardError) SetSubCategory ¶
func (o *StandardError) SetSubCategory(v map[string]interface{})
SetSubCategory gets a reference to the given map[string]interface{} and assigns it to the SubCategory field.
Source Files ¶
- api_batch.go
- api_core.go
- api_groups.go
- client.go
- configuration.go
- model_batch_input_property_create.go
- model_batch_input_property_name.go
- model_batch_read_input_property_name.go
- model_batch_response_property.go
- model_collection_response_property.go
- model_collection_response_property_group.go
- model_error.go
- model_error_category.go
- model_error_detail.go
- model_next_page.go
- model_option.go
- model_option_input.go
- model_paging.go
- model_property.go
- model_property_create.go
- model_property_group.go
- model_property_group_create.go
- model_property_group_update.go
- model_property_modification_metadata.go
- model_property_name.go
- model_property_update.go
- model_standard_error.go
- response.go
- utils.go