Skip to content

Latest commit

 

History

History
456 lines (247 loc) · 10.6 KB

Job.md

File metadata and controls

456 lines (247 loc) · 10.6 KB

Job

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
ObjectType string [readonly]
ObjectId Pointer to NullableInt64 [optional]
Name string
Status JobStatus
Created time.Time [readonly]
Scheduled Pointer to NullableTime [optional]
Interval Pointer to NullableInt32 Recurrence interval (in minutes) [optional]
Started Pointer to NullableTime [optional]
Completed Pointer to NullableTime [optional]
User NestedUser [readonly]
Data Pointer to interface{} [optional]
Error string [readonly]
JobId string

Methods

NewJob

func NewJob(id int32, url string, display string, objectType string, name string, status JobStatus, created time.Time, user NestedUser, error_ string, jobId string, ) *Job

NewJob instantiates a new Job 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

NewJobWithDefaults

func NewJobWithDefaults() *Job

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

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

GetIdOk

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

SetId sets Id field to given value.

GetUrl

func (o *Job) GetUrl() string

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

GetUrlOk

func (o *Job) 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 *Job) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Job) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Job) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Job) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetObjectType

func (o *Job) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *Job) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *Job) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetObjectId

func (o *Job) GetObjectId() int64

GetObjectId returns the ObjectId field if non-nil, zero value otherwise.

GetObjectIdOk

func (o *Job) GetObjectIdOk() (*int64, bool)

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

SetObjectId

func (o *Job) SetObjectId(v int64)

SetObjectId sets ObjectId field to given value.

HasObjectId

func (o *Job) HasObjectId() bool

HasObjectId returns a boolean if a field has been set.

SetObjectIdNil

func (o *Job) SetObjectIdNil(b bool)

SetObjectIdNil sets the value for ObjectId to be an explicit nil

UnsetObjectId

func (o *Job) UnsetObjectId()

UnsetObjectId ensures that no value is present for ObjectId, not even an explicit nil

GetName

func (o *Job) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetStatus

func (o *Job) GetStatus() JobStatus

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

GetStatusOk

func (o *Job) GetStatusOk() (*JobStatus, 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 *Job) SetStatus(v JobStatus)

SetStatus sets Status field to given value.

GetCreated

func (o *Job) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Job) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *Job) SetCreated(v time.Time)

SetCreated sets Created field to given value.

GetScheduled

func (o *Job) GetScheduled() time.Time

GetScheduled returns the Scheduled field if non-nil, zero value otherwise.

GetScheduledOk

func (o *Job) GetScheduledOk() (*time.Time, bool)

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

SetScheduled

func (o *Job) SetScheduled(v time.Time)

SetScheduled sets Scheduled field to given value.

HasScheduled

func (o *Job) HasScheduled() bool

HasScheduled returns a boolean if a field has been set.

SetScheduledNil

func (o *Job) SetScheduledNil(b bool)

SetScheduledNil sets the value for Scheduled to be an explicit nil

UnsetScheduled

func (o *Job) UnsetScheduled()

UnsetScheduled ensures that no value is present for Scheduled, not even an explicit nil

GetInterval

func (o *Job) GetInterval() int32

GetInterval returns the Interval field if non-nil, zero value otherwise.

GetIntervalOk

func (o *Job) GetIntervalOk() (*int32, bool)

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

SetInterval

func (o *Job) SetInterval(v int32)

SetInterval sets Interval field to given value.

HasInterval

func (o *Job) HasInterval() bool

HasInterval returns a boolean if a field has been set.

SetIntervalNil

func (o *Job) SetIntervalNil(b bool)

SetIntervalNil sets the value for Interval to be an explicit nil

UnsetInterval

func (o *Job) UnsetInterval()

UnsetInterval ensures that no value is present for Interval, not even an explicit nil

GetStarted

func (o *Job) GetStarted() time.Time

GetStarted returns the Started field if non-nil, zero value otherwise.

GetStartedOk

func (o *Job) GetStartedOk() (*time.Time, bool)

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

SetStarted

func (o *Job) SetStarted(v time.Time)

SetStarted sets Started field to given value.

HasStarted

func (o *Job) HasStarted() bool

HasStarted returns a boolean if a field has been set.

SetStartedNil

func (o *Job) SetStartedNil(b bool)

SetStartedNil sets the value for Started to be an explicit nil

UnsetStarted

func (o *Job) UnsetStarted()

UnsetStarted ensures that no value is present for Started, not even an explicit nil

GetCompleted

func (o *Job) GetCompleted() time.Time

GetCompleted returns the Completed field if non-nil, zero value otherwise.

GetCompletedOk

func (o *Job) GetCompletedOk() (*time.Time, bool)

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

SetCompleted

func (o *Job) SetCompleted(v time.Time)

SetCompleted sets Completed field to given value.

HasCompleted

func (o *Job) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

SetCompletedNil

func (o *Job) SetCompletedNil(b bool)

SetCompletedNil sets the value for Completed to be an explicit nil

UnsetCompleted

func (o *Job) UnsetCompleted()

UnsetCompleted ensures that no value is present for Completed, not even an explicit nil

GetUser

func (o *Job) GetUser() NestedUser

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *Job) GetUserOk() (*NestedUser, bool)

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

SetUser

func (o *Job) SetUser(v NestedUser)

SetUser sets User field to given value.

GetData

func (o *Job) GetData() interface{}

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *Job) GetDataOk() (*interface{}, bool)

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

SetData

func (o *Job) SetData(v interface{})

SetData sets Data field to given value.

HasData

func (o *Job) HasData() bool

HasData returns a boolean if a field has been set.

SetDataNil

func (o *Job) SetDataNil(b bool)

SetDataNil sets the value for Data to be an explicit nil

UnsetData

func (o *Job) UnsetData()

UnsetData ensures that no value is present for Data, not even an explicit nil

GetError

func (o *Job) GetError() string

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

func (o *Job) GetErrorOk() (*string, bool)

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

SetError

func (o *Job) SetError(v string)

SetError sets Error field to given value.

GetJobId

func (o *Job) GetJobId() string

GetJobId returns the JobId field if non-nil, zero value otherwise.

GetJobIdOk

func (o *Job) GetJobIdOk() (*string, bool)

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

SetJobId

func (o *Job) SetJobId(v string)

SetJobId sets JobId field to given value.

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