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 |
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
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
func (o *Job) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Job) SetId(v int32)
SetId sets Id field to given value.
func (o *Job) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *Job) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Job) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
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.
func (o *Job) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *Job) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
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.
func (o *Job) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *Job) GetObjectId() int64
GetObjectId returns the ObjectId field if non-nil, zero value otherwise.
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.
func (o *Job) SetObjectId(v int64)
SetObjectId sets ObjectId field to given value.
func (o *Job) HasObjectId() bool
HasObjectId returns a boolean if a field has been set.
func (o *Job) SetObjectIdNil(b bool)
SetObjectIdNil sets the value for ObjectId to be an explicit nil
func (o *Job) UnsetObjectId()
UnsetObjectId ensures that no value is present for ObjectId, not even an explicit nil
func (o *Job) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Job) SetName(v string)
SetName sets Name field to given value.
func (o *Job) GetStatus() JobStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *Job) SetStatus(v JobStatus)
SetStatus sets Status field to given value.
func (o *Job) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *Job) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Job) GetScheduled() time.Time
GetScheduled returns the Scheduled field if non-nil, zero value otherwise.
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.
func (o *Job) SetScheduled(v time.Time)
SetScheduled sets Scheduled field to given value.
func (o *Job) HasScheduled() bool
HasScheduled returns a boolean if a field has been set.
func (o *Job) SetScheduledNil(b bool)
SetScheduledNil sets the value for Scheduled to be an explicit nil
func (o *Job) UnsetScheduled()
UnsetScheduled ensures that no value is present for Scheduled, not even an explicit nil
func (o *Job) GetInterval() int32
GetInterval returns the Interval field if non-nil, zero value otherwise.
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.
func (o *Job) SetInterval(v int32)
SetInterval sets Interval field to given value.
func (o *Job) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (o *Job) SetIntervalNil(b bool)
SetIntervalNil sets the value for Interval to be an explicit nil
func (o *Job) UnsetInterval()
UnsetInterval ensures that no value is present for Interval, not even an explicit nil
func (o *Job) GetStarted() time.Time
GetStarted returns the Started field if non-nil, zero value otherwise.
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.
func (o *Job) SetStarted(v time.Time)
SetStarted sets Started field to given value.
func (o *Job) HasStarted() bool
HasStarted returns a boolean if a field has been set.
func (o *Job) SetStartedNil(b bool)
SetStartedNil sets the value for Started to be an explicit nil
func (o *Job) UnsetStarted()
UnsetStarted ensures that no value is present for Started, not even an explicit nil
func (o *Job) GetCompleted() time.Time
GetCompleted returns the Completed field if non-nil, zero value otherwise.
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.
func (o *Job) SetCompleted(v time.Time)
SetCompleted sets Completed field to given value.
func (o *Job) HasCompleted() bool
HasCompleted returns a boolean if a field has been set.
func (o *Job) SetCompletedNil(b bool)
SetCompletedNil sets the value for Completed to be an explicit nil
func (o *Job) UnsetCompleted()
UnsetCompleted ensures that no value is present for Completed, not even an explicit nil
func (o *Job) GetUser() NestedUser
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *Job) SetUser(v NestedUser)
SetUser sets User field to given value.
func (o *Job) GetData() interface{}
GetData returns the Data field if non-nil, zero value otherwise.
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.
func (o *Job) SetData(v interface{})
SetData sets Data field to given value.
func (o *Job) HasData() bool
HasData returns a boolean if a field has been set.
func (o *Job) SetDataNil(b bool)
SetDataNil sets the value for Data to be an explicit nil
func (o *Job) UnsetData()
UnsetData ensures that no value is present for Data, not even an explicit nil
func (o *Job) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
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.
func (o *Job) SetError(v string)
SetError sets Error field to given value.
func (o *Job) GetJobId() string
GetJobId returns the JobId field if non-nil, zero value otherwise.
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.
func (o *Job) SetJobId(v string)
SetJobId sets JobId field to given value.