Skip to content

Latest commit

 

History

History
248 lines (135 loc) · 5.93 KB

File metadata and controls

248 lines (135 loc) · 5.93 KB

Entry

Properties

Name Type Description Notes
Id Pointer to int32 [optional]
Title Pointer to string [optional]
Content Pointer to string [optional]
Category Pointer to string [optional]
IsPublished Pointer to bool [optional]
PublishedAt Pointer to NullableTime [optional]
CreatedAt Pointer to time.Time [optional]
UpdatedAt Pointer to time.Time [optional]

Methods

NewEntry

func NewEntry() *Entry

NewEntry instantiates a new Entry 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

NewEntryWithDefaults

func NewEntryWithDefaults() *Entry

NewEntryWithDefaults instantiates a new Entry 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 *Entry) GetId() int32

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Entry) HasId() bool

HasId returns a boolean if a field has been set.

GetTitle

func (o *Entry) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *Entry) GetTitleOk() (*string, bool)

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

SetTitle

func (o *Entry) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *Entry) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetContent

func (o *Entry) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *Entry) GetContentOk() (*string, bool)

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

SetContent

func (o *Entry) SetContent(v string)

SetContent sets Content field to given value.

HasContent

func (o *Entry) HasContent() bool

HasContent returns a boolean if a field has been set.

GetCategory

func (o *Entry) GetCategory() string

GetCategory returns the Category field if non-nil, zero value otherwise.

GetCategoryOk

func (o *Entry) GetCategoryOk() (*string, bool)

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

SetCategory

func (o *Entry) SetCategory(v string)

SetCategory sets Category field to given value.

HasCategory

func (o *Entry) HasCategory() bool

HasCategory returns a boolean if a field has been set.

GetIsPublished

func (o *Entry) GetIsPublished() bool

GetIsPublished returns the IsPublished field if non-nil, zero value otherwise.

GetIsPublishedOk

func (o *Entry) GetIsPublishedOk() (*bool, bool)

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

SetIsPublished

func (o *Entry) SetIsPublished(v bool)

SetIsPublished sets IsPublished field to given value.

HasIsPublished

func (o *Entry) HasIsPublished() bool

HasIsPublished returns a boolean if a field has been set.

GetPublishedAt

func (o *Entry) GetPublishedAt() time.Time

GetPublishedAt returns the PublishedAt field if non-nil, zero value otherwise.

GetPublishedAtOk

func (o *Entry) GetPublishedAtOk() (*time.Time, bool)

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

SetPublishedAt

func (o *Entry) SetPublishedAt(v time.Time)

SetPublishedAt sets PublishedAt field to given value.

HasPublishedAt

func (o *Entry) HasPublishedAt() bool

HasPublishedAt returns a boolean if a field has been set.

SetPublishedAtNil

func (o *Entry) SetPublishedAtNil(b bool)

SetPublishedAtNil sets the value for PublishedAt to be an explicit nil

UnsetPublishedAt

func (o *Entry) UnsetPublishedAt()

UnsetPublishedAt ensures that no value is present for PublishedAt, not even an explicit nil

GetCreatedAt

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

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

GetCreatedAtOk

func (o *Entry) 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 *Entry) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *Entry) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetUpdatedAt

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

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

GetUpdatedAtOk

func (o *Entry) 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 *Entry) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Entry) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

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