Name | Type | Description | Notes |
---|---|---|---|
IsInternal | bool | A default description that is used by some HubSpot tools and cannot be edited. | |
CreatedAt | time.Time | Time at which the definition was created. | |
IsDefault | bool | A subscription definition created by HubSpot. | |
CommunicationMethod | Pointer to string | The method or technology used to contact. | [optional] |
Purpose | Pointer to string | The purpose of this subscription or the department in your organization that uses it. | [optional] |
Name | string | The name of the subscription. | |
Description | string | A description of the subscription. | |
Id | string | The ID of the definition. | |
IsActive | bool | Whether the definition is active or archived. | |
UpdatedAt | time.Time | Time at which the definition was last updated. |
func NewSubscriptionDefinition(isInternal bool, createdAt time.Time, isDefault bool, name string, description string, id string, isActive bool, updatedAt time.Time, ) *SubscriptionDefinition
NewSubscriptionDefinition instantiates a new SubscriptionDefinition 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 NewSubscriptionDefinitionWithDefaults() *SubscriptionDefinition
NewSubscriptionDefinitionWithDefaults instantiates a new SubscriptionDefinition 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 *SubscriptionDefinition) GetIsInternal() bool
GetIsInternal returns the IsInternal field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) GetIsInternalOk() (*bool, bool)
GetIsInternalOk returns a tuple with the IsInternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionDefinition) SetIsInternal(v bool)
SetIsInternal sets IsInternal field to given value.
func (o *SubscriptionDefinition) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) 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 *SubscriptionDefinition) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *SubscriptionDefinition) GetIsDefault() bool
GetIsDefault returns the IsDefault field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionDefinition) SetIsDefault(v bool)
SetIsDefault sets IsDefault field to given value.
func (o *SubscriptionDefinition) GetCommunicationMethod() string
GetCommunicationMethod returns the CommunicationMethod field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) GetCommunicationMethodOk() (*string, bool)
GetCommunicationMethodOk returns a tuple with the CommunicationMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionDefinition) SetCommunicationMethod(v string)
SetCommunicationMethod sets CommunicationMethod field to given value.
func (o *SubscriptionDefinition) HasCommunicationMethod() bool
HasCommunicationMethod returns a boolean if a field has been set.
func (o *SubscriptionDefinition) GetPurpose() string
GetPurpose returns the Purpose field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) GetPurposeOk() (*string, bool)
GetPurposeOk returns a tuple with the Purpose field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionDefinition) SetPurpose(v string)
SetPurpose sets Purpose field to given value.
func (o *SubscriptionDefinition) HasPurpose() bool
HasPurpose returns a boolean if a field has been set.
func (o *SubscriptionDefinition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) 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 *SubscriptionDefinition) SetName(v string)
SetName sets Name field to given value.
func (o *SubscriptionDefinition) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) 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 *SubscriptionDefinition) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SubscriptionDefinition) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) 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 *SubscriptionDefinition) SetId(v string)
SetId sets Id field to given value.
func (o *SubscriptionDefinition) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionDefinition) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *SubscriptionDefinition) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SubscriptionDefinition) 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 *SubscriptionDefinition) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.