Skip to content

Latest commit

 

History

History
290 lines (157 loc) · 6.71 KB

File metadata and controls

290 lines (157 loc) · 6.71 KB

Ticket

Properties

Name Type Description Notes
CreatedBy Pointer to string [optional]
CreatedOn Pointer to time.Time [optional]
Id Pointer to string [optional]
ModifiedBy Pointer to string [optional]
ModifiedOn Pointer to time.Time [optional]
Project Pointer to string [optional]
State Pointer to string [optional]
Subject Pointer to string [optional]
Type Pointer to string [optional]
Uri Pointer to string [optional]

Methods

NewTicket

func NewTicket() *Ticket

NewTicket instantiates a new Ticket 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

NewTicketWithDefaults

func NewTicketWithDefaults() *Ticket

NewTicketWithDefaults instantiates a new Ticket 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

GetCreatedBy

func (o *Ticket) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Ticket) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *Ticket) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *Ticket) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedOn

func (o *Ticket) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

func (o *Ticket) GetCreatedOnOk() (*time.Time, bool)

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

SetCreatedOn

func (o *Ticket) SetCreatedOn(v time.Time)

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *Ticket) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

GetId

func (o *Ticket) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *Ticket) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Ticket) HasId() bool

HasId returns a boolean if a field has been set.

GetModifiedBy

func (o *Ticket) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *Ticket) GetModifiedByOk() (*string, bool)

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

SetModifiedBy

func (o *Ticket) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

HasModifiedBy

func (o *Ticket) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

GetModifiedOn

func (o *Ticket) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.

GetModifiedOnOk

func (o *Ticket) GetModifiedOnOk() (*time.Time, bool)

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

SetModifiedOn

func (o *Ticket) SetModifiedOn(v time.Time)

SetModifiedOn sets ModifiedOn field to given value.

HasModifiedOn

func (o *Ticket) HasModifiedOn() bool

HasModifiedOn returns a boolean if a field has been set.

GetProject

func (o *Ticket) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *Ticket) GetProjectOk() (*string, bool)

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

SetProject

func (o *Ticket) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *Ticket) HasProject() bool

HasProject returns a boolean if a field has been set.

GetState

func (o *Ticket) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *Ticket) GetStateOk() (*string, bool)

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

SetState

func (o *Ticket) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Ticket) HasState() bool

HasState returns a boolean if a field has been set.

GetSubject

func (o *Ticket) GetSubject() string

GetSubject returns the Subject field if non-nil, zero value otherwise.

GetSubjectOk

func (o *Ticket) GetSubjectOk() (*string, bool)

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

SetSubject

func (o *Ticket) SetSubject(v string)

SetSubject sets Subject field to given value.

HasSubject

func (o *Ticket) HasSubject() bool

HasSubject returns a boolean if a field has been set.

GetType

func (o *Ticket) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Ticket) GetTypeOk() (*string, bool)

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

SetType

func (o *Ticket) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Ticket) HasType() bool

HasType returns a boolean if a field has been set.

GetUri

func (o *Ticket) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *Ticket) GetUriOk() (*string, bool)

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

SetUri

func (o *Ticket) SetUri(v string)

SetUri sets Uri field to given value.

HasUri

func (o *Ticket) HasUri() bool

HasUri returns a boolean if a field has been set.

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