Skip to content

Latest commit

 

History

History
207 lines (112 loc) · 6.08 KB

ContactAssignmentRequest.md

File metadata and controls

207 lines (112 loc) · 6.08 KB

ContactAssignmentRequest

Properties

Name Type Description Notes
ContentType string
ObjectId int64
Contact NestedContactRequest
Role Pointer to NullableNestedContactRoleRequest [optional]
Priority Pointer to ContactAssignmentPriorityValue [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewContactAssignmentRequest

func NewContactAssignmentRequest(contentType string, objectId int64, contact NestedContactRequest, ) *ContactAssignmentRequest

NewContactAssignmentRequest instantiates a new ContactAssignmentRequest 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

NewContactAssignmentRequestWithDefaults

func NewContactAssignmentRequestWithDefaults() *ContactAssignmentRequest

NewContactAssignmentRequestWithDefaults instantiates a new ContactAssignmentRequest 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

GetContentType

func (o *ContactAssignmentRequest) GetContentType() string

GetContentType returns the ContentType field if non-nil, zero value otherwise.

GetContentTypeOk

func (o *ContactAssignmentRequest) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContentType

func (o *ContactAssignmentRequest) SetContentType(v string)

SetContentType sets ContentType field to given value.

GetObjectId

func (o *ContactAssignmentRequest) GetObjectId() int64

GetObjectId returns the ObjectId field if non-nil, zero value otherwise.

GetObjectIdOk

func (o *ContactAssignmentRequest) GetObjectIdOk() (*int64, bool)

GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetObjectId

func (o *ContactAssignmentRequest) SetObjectId(v int64)

SetObjectId sets ObjectId field to given value.

GetContact

func (o *ContactAssignmentRequest) GetContact() NestedContactRequest

GetContact returns the Contact field if non-nil, zero value otherwise.

GetContactOk

func (o *ContactAssignmentRequest) GetContactOk() (*NestedContactRequest, bool)

GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContact

func (o *ContactAssignmentRequest) SetContact(v NestedContactRequest)

SetContact sets Contact field to given value.

GetRole

func (o *ContactAssignmentRequest) GetRole() NestedContactRoleRequest

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *ContactAssignmentRequest) GetRoleOk() (*NestedContactRoleRequest, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *ContactAssignmentRequest) SetRole(v NestedContactRoleRequest)

SetRole sets Role field to given value.

HasRole

func (o *ContactAssignmentRequest) HasRole() bool

HasRole returns a boolean if a field has been set.

SetRoleNil

func (o *ContactAssignmentRequest) SetRoleNil(b bool)

SetRoleNil sets the value for Role to be an explicit nil

UnsetRole

func (o *ContactAssignmentRequest) UnsetRole()

UnsetRole ensures that no value is present for Role, not even an explicit nil

GetPriority

func (o *ContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *ContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool)

GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPriority

func (o *ContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue)

SetPriority sets Priority field to given value.

HasPriority

func (o *ContactAssignmentRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetTags

func (o *ContactAssignmentRequest) GetTags() []NestedTagRequest

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *ContactAssignmentRequest) GetTagsOk() (*[]NestedTagRequest, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *ContactAssignmentRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *ContactAssignmentRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *ContactAssignmentRequest) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *ContactAssignmentRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)

GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomFields

func (o *ContactAssignmentRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ContactAssignmentRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]