Skip to content

Latest commit

 

History

History
150 lines (81 loc) · 4.06 KB

ContactRoleRequest.md

File metadata and controls

150 lines (81 loc) · 4.06 KB

ContactRoleRequest

Properties

Name Type Description Notes
Name string
Slug string
Description Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewContactRoleRequest

func NewContactRoleRequest(name string, slug string, ) *ContactRoleRequest

NewContactRoleRequest instantiates a new ContactRoleRequest 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

NewContactRoleRequestWithDefaults

func NewContactRoleRequestWithDefaults() *ContactRoleRequest

NewContactRoleRequestWithDefaults instantiates a new ContactRoleRequest 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

GetName

func (o *ContactRoleRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ContactRoleRequest) 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.

SetName

func (o *ContactRoleRequest) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *ContactRoleRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *ContactRoleRequest) GetSlugOk() (*string, bool)

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

SetSlug

func (o *ContactRoleRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetDescription

func (o *ContactRoleRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *ContactRoleRequest) 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.

SetDescription

func (o *ContactRoleRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ContactRoleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

func (o *ContactRoleRequest) 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 *ContactRoleRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *ContactRoleRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *ContactRoleRequest) 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 *ContactRoleRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ContactRoleRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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