Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The archive id, that can be referenced when creating or updating a service. | [optional] |
OrganizationId | Pointer to string | Organization owning the archive. | [optional] |
UploadUrl | Pointer to string | The URL where to upload the archive. This URL is signed and can only be used to upload the archive until `valid_until`. | [optional] |
Size | Pointer to string | The provisioned space for the archive. | [optional] |
CreatedAt | Pointer to time.Time | Date of creation of the archive. | [optional] |
DeletedAt | Pointer to time.Time | This field is automatically set by Koyeb when the archive is garbage collected. | [optional] |
func NewArchive() *Archive
NewArchive instantiates a new Archive 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 NewArchiveWithDefaults() *Archive
NewArchiveWithDefaults instantiates a new Archive 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 *Archive) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Archive) GetIdOk() (*string, 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 *Archive) SetId(v string)
SetId sets Id field to given value.
func (o *Archive) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Archive) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *Archive) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Archive) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *Archive) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (o *Archive) GetUploadUrl() string
GetUploadUrl returns the UploadUrl field if non-nil, zero value otherwise.
func (o *Archive) GetUploadUrlOk() (*string, bool)
GetUploadUrlOk returns a tuple with the UploadUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Archive) SetUploadUrl(v string)
SetUploadUrl sets UploadUrl field to given value.
func (o *Archive) HasUploadUrl() bool
HasUploadUrl returns a boolean if a field has been set.
func (o *Archive) GetSize() string
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *Archive) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Archive) SetSize(v string)
SetSize sets Size field to given value.
func (o *Archive) HasSize() bool
HasSize returns a boolean if a field has been set.
func (o *Archive) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Archive) 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 *Archive) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Archive) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Archive) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *Archive) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Archive) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
func (o *Archive) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.