Name | Type | Description | Notes |
---|---|---|---|
SecondaryDisplayProperties | Pointer to []string | The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. | [optional] |
ObjectTypeId | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
FullyQualifiedName | Pointer to string | [optional] | |
Labels | ObjectTypeDefinitionLabels | ||
Archived | Pointer to bool | [optional] | |
CreatedAt | Pointer to time.Time | When the object type was created. | [optional] |
RequiredProperties | []string | The names of properties that should be required when creating an object of this type. | |
SearchableProperties | Pointer to []string | Names of properties that will be indexed for this object type in by HubSpot's product search. | [optional] |
PortalId | Pointer to int32 | The ID of the account that this object type is specific to. | [optional] |
PrimaryDisplayProperty | Pointer to string | The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. | [optional] |
Name | string | A unique name for this object. For internal use only. | |
Id | string | A unique ID for this object type. Will be defined as {meta-type}-{unique ID}. | |
UpdatedAt | Pointer to time.Time | When the object type was last updated. | [optional] |
func NewObjectTypeDefinition(labels ObjectTypeDefinitionLabels, requiredProperties []string, name string, id string, ) *ObjectTypeDefinition
NewObjectTypeDefinition instantiates a new ObjectTypeDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectTypeDefinitionWithDefaults() *ObjectTypeDefinition
NewObjectTypeDefinitionWithDefaults instantiates a new ObjectTypeDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ObjectTypeDefinition) GetSecondaryDisplayProperties() []string
GetSecondaryDisplayProperties returns the SecondaryDisplayProperties field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetSecondaryDisplayPropertiesOk() (*[]string, bool)
GetSecondaryDisplayPropertiesOk returns a tuple with the SecondaryDisplayProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetSecondaryDisplayProperties(v []string)
SetSecondaryDisplayProperties sets SecondaryDisplayProperties field to given value.
func (o *ObjectTypeDefinition) HasSecondaryDisplayProperties() bool
HasSecondaryDisplayProperties returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetObjectTypeId() string
GetObjectTypeId returns the ObjectTypeId field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetObjectTypeIdOk() (*string, bool)
GetObjectTypeIdOk returns a tuple with the ObjectTypeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetObjectTypeId(v string)
SetObjectTypeId sets ObjectTypeId field to given value.
func (o *ObjectTypeDefinition) HasObjectTypeId() bool
HasObjectTypeId returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ObjectTypeDefinition) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetFullyQualifiedName() string
GetFullyQualifiedName returns the FullyQualifiedName field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetFullyQualifiedNameOk() (*string, bool)
GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetFullyQualifiedName(v string)
SetFullyQualifiedName sets FullyQualifiedName field to given value.
func (o *ObjectTypeDefinition) HasFullyQualifiedName() bool
HasFullyQualifiedName returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetLabels() ObjectTypeDefinitionLabels
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetLabelsOk() (*ObjectTypeDefinitionLabels, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetLabels(v ObjectTypeDefinitionLabels)
SetLabels sets Labels field to given value.
func (o *ObjectTypeDefinition) GetArchived() bool
GetArchived returns the Archived field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetArchived(v bool)
SetArchived sets Archived field to given value.
func (o *ObjectTypeDefinition) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ObjectTypeDefinition) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetRequiredProperties() []string
GetRequiredProperties returns the RequiredProperties field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetRequiredPropertiesOk() (*[]string, bool)
GetRequiredPropertiesOk returns a tuple with the RequiredProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetRequiredProperties(v []string)
SetRequiredProperties sets RequiredProperties field to given value.
func (o *ObjectTypeDefinition) GetSearchableProperties() []string
GetSearchableProperties returns the SearchableProperties field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetSearchablePropertiesOk() (*[]string, bool)
GetSearchablePropertiesOk returns a tuple with the SearchableProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetSearchableProperties(v []string)
SetSearchableProperties sets SearchableProperties field to given value.
func (o *ObjectTypeDefinition) HasSearchableProperties() bool
HasSearchableProperties returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetPortalId() int32
GetPortalId returns the PortalId field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetPortalIdOk() (*int32, bool)
GetPortalIdOk returns a tuple with the PortalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetPortalId(v int32)
SetPortalId sets PortalId field to given value.
func (o *ObjectTypeDefinition) HasPortalId() bool
HasPortalId returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetPrimaryDisplayProperty() string
GetPrimaryDisplayProperty returns the PrimaryDisplayProperty field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetPrimaryDisplayPropertyOk() (*string, bool)
GetPrimaryDisplayPropertyOk returns a tuple with the PrimaryDisplayProperty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetPrimaryDisplayProperty(v string)
SetPrimaryDisplayProperty sets PrimaryDisplayProperty field to given value.
func (o *ObjectTypeDefinition) HasPrimaryDisplayProperty() bool
HasPrimaryDisplayProperty returns a boolean if a field has been set.
func (o *ObjectTypeDefinition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetName(v string)
SetName sets Name field to given value.
func (o *ObjectTypeDefinition) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetId(v string)
SetId sets Id field to given value.
func (o *ObjectTypeDefinition) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *ObjectTypeDefinition) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectTypeDefinition) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *ObjectTypeDefinition) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.