Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | time.Time | The time with zone when the object was created | |
Data | Pointer to PackageData | [optional] | |
Guid | string | Unique identifier for the package | |
Links | Pointer to PackageLinks | [optional] | |
Metadata | Pointer to V3PackagesPostRequestMetadata | [optional] | |
Relationships | Pointer to V3PackagesPostRequestRelationships | [optional] | |
State | string | State of the package; valid states are AWAITING_UPLOAD, PROCESSING_UPLOAD, READY, FAILED, COPYING, EXPIRED | |
Type | string | Package type; valid values are bits, docker | |
UpdatedAt | time.Time | The time with zone when the object was last updated |
func NewPackage(createdAt time.Time, guid string, state string, type_ string, updatedAt time.Time, ) *Package
NewPackage instantiates a new Package 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 NewPackageWithDefaults() *Package
NewPackageWithDefaults instantiates a new Package 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 *Package) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Package) 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 *Package) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Package) GetData() PackageData
GetData returns the Data field if non-nil, zero value otherwise.
func (o *Package) GetDataOk() (*PackageData, 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 *Package) SetData(v PackageData)
SetData sets Data field to given value.
func (o *Package) HasData() bool
HasData returns a boolean if a field has been set.
func (o *Package) GetGuid() string
GetGuid returns the Guid field if non-nil, zero value otherwise.
func (o *Package) GetGuidOk() (*string, bool)
GetGuidOk returns a tuple with the Guid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Package) SetGuid(v string)
SetGuid sets Guid field to given value.
func (o *Package) GetLinks() PackageLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *Package) GetLinksOk() (*PackageLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Package) SetLinks(v PackageLinks)
SetLinks sets Links field to given value.
func (o *Package) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (o *Package) GetMetadata() V3PackagesPostRequestMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Package) GetMetadataOk() (*V3PackagesPostRequestMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Package) SetMetadata(v V3PackagesPostRequestMetadata)
SetMetadata sets Metadata field to given value.
func (o *Package) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Package) GetRelationships() V3PackagesPostRequestRelationships
GetRelationships returns the Relationships field if non-nil, zero value otherwise.
func (o *Package) GetRelationshipsOk() (*V3PackagesPostRequestRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Package) SetRelationships(v V3PackagesPostRequestRelationships)
SetRelationships sets Relationships field to given value.
func (o *Package) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (o *Package) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Package) 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 *Package) SetState(v string)
SetState sets State field to given value.
func (o *Package) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Package) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Package) SetType(v string)
SetType sets Type field to given value.
func (o *Package) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Package) 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 *Package) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.