Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 4.8 KB

BatchResponseBlogPost.md

File metadata and controls

166 lines (89 loc) · 4.8 KB

BatchResponseBlogPost

Properties

Name Type Description Notes
Status string Status of batch operation.
Results []BlogPost Results of batch operation.
RequestedAt Pointer to time.Time Time of batch operation request. [optional]
StartedAt time.Time Time of batch operation start.
CompletedAt time.Time Time of batch operation completion.
Links Pointer to map[string]string Links associated with batch operation. [optional]

Methods

NewBatchResponseBlogPost

func NewBatchResponseBlogPost(status string, results []BlogPost, startedAt time.Time, completedAt time.Time, ) *BatchResponseBlogPost

NewBatchResponseBlogPost instantiates a new BatchResponseBlogPost 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

NewBatchResponseBlogPostWithDefaults

func NewBatchResponseBlogPostWithDefaults() *BatchResponseBlogPost

NewBatchResponseBlogPostWithDefaults instantiates a new BatchResponseBlogPost 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

GetStatus

func (o *BatchResponseBlogPost) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *BatchResponseBlogPost) GetStatusOk() (*string, bool)

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

SetStatus

func (o *BatchResponseBlogPost) SetStatus(v string)

SetStatus sets Status field to given value.

GetResults

func (o *BatchResponseBlogPost) GetResults() []BlogPost

GetResults returns the Results field if non-nil, zero value otherwise.

GetResultsOk

func (o *BatchResponseBlogPost) GetResultsOk() (*[]BlogPost, bool)

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

SetResults

func (o *BatchResponseBlogPost) SetResults(v []BlogPost)

SetResults sets Results field to given value.

GetRequestedAt

func (o *BatchResponseBlogPost) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field if non-nil, zero value otherwise.

GetRequestedAtOk

func (o *BatchResponseBlogPost) GetRequestedAtOk() (*time.Time, bool)

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

SetRequestedAt

func (o *BatchResponseBlogPost) SetRequestedAt(v time.Time)

SetRequestedAt sets RequestedAt field to given value.

HasRequestedAt

func (o *BatchResponseBlogPost) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

GetStartedAt

func (o *BatchResponseBlogPost) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.

GetStartedAtOk

func (o *BatchResponseBlogPost) GetStartedAtOk() (*time.Time, bool)

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

SetStartedAt

func (o *BatchResponseBlogPost) SetStartedAt(v time.Time)

SetStartedAt sets StartedAt field to given value.

GetCompletedAt

func (o *BatchResponseBlogPost) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field if non-nil, zero value otherwise.

GetCompletedAtOk

func (o *BatchResponseBlogPost) GetCompletedAtOk() (*time.Time, bool)

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

SetCompletedAt

func (o *BatchResponseBlogPost) SetCompletedAt(v time.Time)

SetCompletedAt sets CompletedAt field to given value.

GetLinks

func (o *BatchResponseBlogPost) GetLinks() map[string]string

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *BatchResponseBlogPost) GetLinksOk() (*map[string]string, bool)

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

SetLinks

func (o *BatchResponseBlogPost) SetLinks(v map[string]string)

SetLinks sets Links field to given value.

HasLinks

func (o *BatchResponseBlogPost) HasLinks() bool

HasLinks returns a boolean if a field has been set.

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