Skip to content

Latest commit

 

History

History
324 lines (171 loc) · 8.04 KB

File metadata and controls

324 lines (171 loc) · 8.04 KB

CreatorDto

Properties

Name Type Description Notes
Id int32
CreatedAt time.Time
UpdatedAt time.Time
Name string
Slug string
TwitchId string
Url string [readonly]
AvatarUrl string
Ticker string
Value int64
StreamStatus StreamStatusDto
History []VoteDto
Transactions []CreatorTransactionDto
Shares []CreatorShareDto

Methods

NewCreatorDto

func NewCreatorDto(id int32, createdAt time.Time, updatedAt time.Time, name string, slug string, twitchId string, url string, avatarUrl string, ticker string, value int64, streamStatus StreamStatusDto, history []VoteDto, transactions []CreatorTransactionDto, shares []CreatorShareDto, ) *CreatorDto

NewCreatorDto instantiates a new CreatorDto 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

NewCreatorDtoWithDefaults

func NewCreatorDtoWithDefaults() *CreatorDto

NewCreatorDtoWithDefaults instantiates a new CreatorDto 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

GetId

func (o *CreatorDto) GetId() int32

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

GetIdOk

func (o *CreatorDto) GetIdOk() (*int32, 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 *CreatorDto) SetId(v int32)

SetId sets Id field to given value.

GetCreatedAt

func (o *CreatorDto) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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

SetCreatedAt

func (o *CreatorDto) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *CreatorDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

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

SetUpdatedAt

func (o *CreatorDto) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

GetName

func (o *CreatorDto) GetName() string

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

GetNameOk

func (o *CreatorDto) 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 *CreatorDto) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *CreatorDto) GetSlug() string

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

GetSlugOk

func (o *CreatorDto) 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 *CreatorDto) SetSlug(v string)

SetSlug sets Slug field to given value.

GetTwitchId

func (o *CreatorDto) GetTwitchId() string

GetTwitchId returns the TwitchId field if non-nil, zero value otherwise.

GetTwitchIdOk

func (o *CreatorDto) GetTwitchIdOk() (*string, bool)

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

SetTwitchId

func (o *CreatorDto) SetTwitchId(v string)

SetTwitchId sets TwitchId field to given value.

GetUrl

func (o *CreatorDto) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *CreatorDto) GetUrlOk() (*string, bool)

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

SetUrl

func (o *CreatorDto) SetUrl(v string)

SetUrl sets Url field to given value.

GetAvatarUrl

func (o *CreatorDto) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field if non-nil, zero value otherwise.

GetAvatarUrlOk

func (o *CreatorDto) GetAvatarUrlOk() (*string, bool)

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

SetAvatarUrl

func (o *CreatorDto) SetAvatarUrl(v string)

SetAvatarUrl sets AvatarUrl field to given value.

GetTicker

func (o *CreatorDto) GetTicker() string

GetTicker returns the Ticker field if non-nil, zero value otherwise.

GetTickerOk

func (o *CreatorDto) GetTickerOk() (*string, bool)

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

SetTicker

func (o *CreatorDto) SetTicker(v string)

SetTicker sets Ticker field to given value.

GetValue

func (o *CreatorDto) GetValue() int64

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *CreatorDto) GetValueOk() (*int64, bool)

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

SetValue

func (o *CreatorDto) SetValue(v int64)

SetValue sets Value field to given value.

GetStreamStatus

func (o *CreatorDto) GetStreamStatus() StreamStatusDto

GetStreamStatus returns the StreamStatus field if non-nil, zero value otherwise.

GetStreamStatusOk

func (o *CreatorDto) GetStreamStatusOk() (*StreamStatusDto, bool)

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

SetStreamStatus

func (o *CreatorDto) SetStreamStatus(v StreamStatusDto)

SetStreamStatus sets StreamStatus field to given value.

GetHistory

func (o *CreatorDto) GetHistory() []VoteDto

GetHistory returns the History field if non-nil, zero value otherwise.

GetHistoryOk

func (o *CreatorDto) GetHistoryOk() (*[]VoteDto, bool)

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

SetHistory

func (o *CreatorDto) SetHistory(v []VoteDto)

SetHistory sets History field to given value.

GetTransactions

func (o *CreatorDto) GetTransactions() []CreatorTransactionDto

GetTransactions returns the Transactions field if non-nil, zero value otherwise.

GetTransactionsOk

func (o *CreatorDto) GetTransactionsOk() (*[]CreatorTransactionDto, bool)

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

SetTransactions

func (o *CreatorDto) SetTransactions(v []CreatorTransactionDto)

SetTransactions sets Transactions field to given value.

GetShares

func (o *CreatorDto) GetShares() []CreatorShareDto

GetShares returns the Shares field if non-nil, zero value otherwise.

GetSharesOk

func (o *CreatorDto) GetSharesOk() (*[]CreatorShareDto, bool)

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

SetShares

func (o *CreatorDto) SetShares(v []CreatorShareDto)

SetShares sets Shares field to given value.

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