Name | Type | Description | Notes |
---|---|---|---|
AppUrl | string | The Shortcut application url for the Milestone. | |
Description | string | The Milestone's description. | |
Archived | bool | A boolean indicating whether the Milestone has been archived or not. | |
Started | bool | A true/false boolean indicating if the Milestone has been started. | |
EntityType | string | A string description of this resource. | |
CompletedAtOverride | NullableTime | A manual override for the time/date the Milestone was completed. | |
StartedAt | NullableTime | The time/date the Milestone was started. | |
CompletedAt | NullableTime | The time/date the Milestone was completed. | |
Name | string | The name of the Milestone. | |
GlobalId | string | ||
Completed | bool | A true/false boolean indicating if the Milestone has been completed. | |
State | string | The workflow state that the Milestone is in. | |
StartedAtOverride | NullableTime | A manual override for the time/date the Milestone was started. | |
UpdatedAt | time.Time | The time/date the Milestone was updated. | |
Categories | []Category | An array of Categories attached to the Milestone. | |
Id | int64 | The unique ID of the Milestone. | |
Position | int64 | A number representing the position of the Milestone in relation to every other Milestone within the Workspace. | |
Stats | MilestoneStats | ||
CreatedAt | time.Time | The time/date the Milestone was created. |
func NewMilestone(appUrl string, description string, archived bool, started bool, entityType string, completedAtOverride NullableTime, startedAt NullableTime, completedAt NullableTime, name string, globalId string, completed bool, state string, startedAtOverride NullableTime, updatedAt time.Time, categories []Category, id int64, position int64, stats MilestoneStats, createdAt time.Time, ) *Milestone
NewMilestone instantiates a new Milestone 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 NewMilestoneWithDefaults() *Milestone
NewMilestoneWithDefaults instantiates a new Milestone 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 *Milestone) GetAppUrl() string
GetAppUrl returns the AppUrl field if non-nil, zero value otherwise.
func (o *Milestone) GetAppUrlOk() (*string, bool)
GetAppUrlOk returns a tuple with the AppUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetAppUrl(v string)
SetAppUrl sets AppUrl field to given value.
func (o *Milestone) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Milestone) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Milestone) GetArchived() bool
GetArchived returns the Archived field if non-nil, zero value otherwise.
func (o *Milestone) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetArchived(v bool)
SetArchived sets Archived field to given value.
func (o *Milestone) GetStarted() bool
GetStarted returns the Started field if non-nil, zero value otherwise.
func (o *Milestone) GetStartedOk() (*bool, 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 *Milestone) SetStarted(v bool)
SetStarted sets Started field to given value.
func (o *Milestone) GetEntityType() string
GetEntityType returns the EntityType field if non-nil, zero value otherwise.
func (o *Milestone) GetEntityTypeOk() (*string, bool)
GetEntityTypeOk returns a tuple with the EntityType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetEntityType(v string)
SetEntityType sets EntityType field to given value.
func (o *Milestone) GetCompletedAtOverride() time.Time
GetCompletedAtOverride returns the CompletedAtOverride field if non-nil, zero value otherwise.
func (o *Milestone) GetCompletedAtOverrideOk() (*time.Time, bool)
GetCompletedAtOverrideOk returns a tuple with the CompletedAtOverride field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetCompletedAtOverride(v time.Time)
SetCompletedAtOverride sets CompletedAtOverride field to given value.
func (o *Milestone) SetCompletedAtOverrideNil(b bool)
SetCompletedAtOverrideNil sets the value for CompletedAtOverride to be an explicit nil
func (o *Milestone) UnsetCompletedAtOverride()
UnsetCompletedAtOverride ensures that no value is present for CompletedAtOverride, not even an explicit nil
func (o *Milestone) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.
func (o *Milestone) 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.
func (o *Milestone) SetStartedAt(v time.Time)
SetStartedAt sets StartedAt field to given value.
func (o *Milestone) SetStartedAtNil(b bool)
SetStartedAtNil sets the value for StartedAt to be an explicit nil
func (o *Milestone) UnsetStartedAt()
UnsetStartedAt ensures that no value is present for StartedAt, not even an explicit nil
func (o *Milestone) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field if non-nil, zero value otherwise.
func (o *Milestone) 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.
func (o *Milestone) SetCompletedAt(v time.Time)
SetCompletedAt sets CompletedAt field to given value.
func (o *Milestone) SetCompletedAtNil(b bool)
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (o *Milestone) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
func (o *Milestone) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Milestone) 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 *Milestone) SetName(v string)
SetName sets Name field to given value.
func (o *Milestone) GetGlobalId() string
GetGlobalId returns the GlobalId field if non-nil, zero value otherwise.
func (o *Milestone) GetGlobalIdOk() (*string, bool)
GetGlobalIdOk returns a tuple with the GlobalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetGlobalId(v string)
SetGlobalId sets GlobalId field to given value.
func (o *Milestone) GetCompleted() bool
GetCompleted returns the Completed field if non-nil, zero value otherwise.
func (o *Milestone) GetCompletedOk() (*bool, 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 *Milestone) SetCompleted(v bool)
SetCompleted sets Completed field to given value.
func (o *Milestone) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Milestone) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetState(v string)
SetState sets State field to given value.
func (o *Milestone) GetStartedAtOverride() time.Time
GetStartedAtOverride returns the StartedAtOverride field if non-nil, zero value otherwise.
func (o *Milestone) GetStartedAtOverrideOk() (*time.Time, bool)
GetStartedAtOverrideOk returns a tuple with the StartedAtOverride field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetStartedAtOverride(v time.Time)
SetStartedAtOverride sets StartedAtOverride field to given value.
func (o *Milestone) SetStartedAtOverrideNil(b bool)
SetStartedAtOverrideNil sets the value for StartedAtOverride to be an explicit nil
func (o *Milestone) UnsetStartedAtOverride()
UnsetStartedAtOverride ensures that no value is present for StartedAtOverride, not even an explicit nil
func (o *Milestone) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Milestone) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Milestone) GetCategories() []Category
GetCategories returns the Categories field if non-nil, zero value otherwise.
func (o *Milestone) GetCategoriesOk() (*[]Category, bool)
GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetCategories(v []Category)
SetCategories sets Categories field to given value.
func (o *Milestone) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Milestone) GetIdOk() (*int64, 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 *Milestone) SetId(v int64)
SetId sets Id field to given value.
func (o *Milestone) GetPosition() int64
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *Milestone) GetPositionOk() (*int64, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetPosition(v int64)
SetPosition sets Position field to given value.
func (o *Milestone) GetStats() MilestoneStats
GetStats returns the Stats field if non-nil, zero value otherwise.
func (o *Milestone) GetStatsOk() (*MilestoneStats, bool)
GetStatsOk returns a tuple with the Stats field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetStats(v MilestoneStats)
SetStats sets Stats field to given value.
func (o *Milestone) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Milestone) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Milestone) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.