4.1 KiB
GuideProgressView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Done | Pointer to int64 | Done counts steps that are FINISHED — done and skipped alike, since a step the org deliberately passed over is not still owed. It therefore rises when somebody skips, which is the intended reading of a checklist. | [optional] |
| Next | Pointer to string | Next is the id of the step to do next: the first available, unfinished step in authoring order. Empty when the journey is complete, and also empty when every remaining step is blocked by a dependency. | [optional] |
| Percent | Pointer to int64 | Percent is done/total as a whole number 0-100, rounded, so a caller renders a bar without recomputing it. Total zero reads as 0. | [optional] |
| Total | Pointer to int64 | Total is how many steps this org's journey holds — the ENABLED steps of the playbook, so it shrinks when an operator disables one and does not match the authored step count. | [optional] |
Methods
NewGuideProgressView
func NewGuideProgressView() *GuideProgressView
NewGuideProgressView instantiates a new GuideProgressView 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
NewGuideProgressViewWithDefaults
func NewGuideProgressViewWithDefaults() *GuideProgressView
NewGuideProgressViewWithDefaults instantiates a new GuideProgressView 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
GetDone
func (o *GuideProgressView) GetDone() int64
GetDone returns the Done field if non-nil, zero value otherwise.
GetDoneOk
func (o *GuideProgressView) GetDoneOk() (*int64, bool)
GetDoneOk returns a tuple with the Done field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDone
func (o *GuideProgressView) SetDone(v int64)
SetDone sets Done field to given value.
HasDone
func (o *GuideProgressView) HasDone() bool
HasDone returns a boolean if a field has been set.
GetNext
func (o *GuideProgressView) GetNext() string
GetNext returns the Next field if non-nil, zero value otherwise.
GetNextOk
func (o *GuideProgressView) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNext
func (o *GuideProgressView) SetNext(v string)
SetNext sets Next field to given value.
HasNext
func (o *GuideProgressView) HasNext() bool
HasNext returns a boolean if a field has been set.
GetPercent
func (o *GuideProgressView) GetPercent() int64
GetPercent returns the Percent field if non-nil, zero value otherwise.
GetPercentOk
func (o *GuideProgressView) GetPercentOk() (*int64, bool)
GetPercentOk returns a tuple with the Percent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPercent
func (o *GuideProgressView) SetPercent(v int64)
SetPercent sets Percent field to given value.
HasPercent
func (o *GuideProgressView) HasPercent() bool
HasPercent returns a boolean if a field has been set.
GetTotal
func (o *GuideProgressView) GetTotal() int64
GetTotal returns the Total field if non-nil, zero value otherwise.
GetTotalOk
func (o *GuideProgressView) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotal
func (o *GuideProgressView) SetTotal(v int64)
SetTotal sets Total field to given value.
HasTotal
func (o *GuideProgressView) HasTotal() bool
HasTotal returns a boolean if a field has been set.