GoodMem
ReferenceClient SDKsGo SDKModels

ProcessingHistory Model

ProcessingHistory Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
LatestJobPointer to BackgroundJobSummary[optional]
AttemptsPointer to []BackgroundJobAttemptAttempt-level telemetry captured for the latest job[optional]

Methods

NewProcessingHistory

func NewProcessingHistory() *ProcessingHistory

NewProcessingHistory instantiates a new ProcessingHistory 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

NewProcessingHistoryWithDefaults

func NewProcessingHistoryWithDefaults() *ProcessingHistory

NewProcessingHistoryWithDefaults instantiates a new ProcessingHistory 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

GetLatestJob

func (o *ProcessingHistory) GetLatestJob() BackgroundJobSummary

GetLatestJob returns the LatestJob field if non-nil, zero value otherwise.

GetLatestJobOk

func (o *ProcessingHistory) GetLatestJobOk() (*BackgroundJobSummary, bool)

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

SetLatestJob

func (o *ProcessingHistory) SetLatestJob(v BackgroundJobSummary)

SetLatestJob sets LatestJob field to given value.

HasLatestJob

func (o *ProcessingHistory) HasLatestJob() bool

HasLatestJob returns a boolean if a field has been set.

GetAttempts

func (o *ProcessingHistory) GetAttempts() []BackgroundJobAttempt

GetAttempts returns the Attempts field if non-nil, zero value otherwise.

GetAttemptsOk

func (o *ProcessingHistory) GetAttemptsOk() (*[]BackgroundJobAttempt, bool)

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

SetAttempts

func (o *ProcessingHistory) SetAttempts(v []BackgroundJobAttempt)

SetAttempts sets Attempts field to given value.

HasAttempts

func (o *ProcessingHistory) HasAttempts() bool

HasAttempts returns a boolean if a field has been set.

SetAttemptsNil

func (o *ProcessingHistory) SetAttemptsNil(b bool)

SetAttemptsNil sets the value for Attempts to be an explicit nil

UnsetAttempts

func (o *ProcessingHistory) UnsetAttempts()

UnsetAttempts ensures that no value is present for Attempts, not even an explicit nil

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK