Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Leased | bool | ||
Purchased | bool | ||
AppleCareId | string | ||
PoNumber | string | ||
Vendor | string | ||
PurchasePrice | string | ||
LifeExpectancy | int64 | ||
PurchasingAccount | string | ||
PurchasingContact | string | ||
LeaseDate | string | ||
PoDate | string | ||
WarrantyDate | string | ||
VersionLock | int64 |
func NewPrestagePurchasingInformationV2(id string, leased bool, purchased bool, appleCareId string, poNumber string, vendor string, purchasePrice string, lifeExpectancy int64, purchasingAccount string, purchasingContact string, leaseDate string, poDate string, warrantyDate string, versionLock int64, ) *PrestagePurchasingInformationV2
NewPrestagePurchasingInformationV2 instantiates a new PrestagePurchasingInformationV2 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 NewPrestagePurchasingInformationV2WithDefaults() *PrestagePurchasingInformationV2
NewPrestagePurchasingInformationV2WithDefaults instantiates a new PrestagePurchasingInformationV2 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 *PrestagePurchasingInformationV2) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) 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 *PrestagePurchasingInformationV2) SetId(v string)
SetId sets Id field to given value.
func (o *PrestagePurchasingInformationV2) GetLeased() bool
GetLeased returns the Leased field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetLeasedOk() (*bool, bool)
GetLeasedOk returns a tuple with the Leased field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetLeased(v bool)
SetLeased sets Leased field to given value.
func (o *PrestagePurchasingInformationV2) GetPurchased() bool
GetPurchased returns the Purchased field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPurchasedOk() (*bool, bool)
GetPurchasedOk returns a tuple with the Purchased field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPurchased(v bool)
SetPurchased sets Purchased field to given value.
func (o *PrestagePurchasingInformationV2) GetAppleCareId() string
GetAppleCareId returns the AppleCareId field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetAppleCareIdOk() (*string, bool)
GetAppleCareIdOk returns a tuple with the AppleCareId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetAppleCareId(v string)
SetAppleCareId sets AppleCareId field to given value.
func (o *PrestagePurchasingInformationV2) GetPoNumber() string
GetPoNumber returns the PoNumber field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPoNumberOk() (*string, bool)
GetPoNumberOk returns a tuple with the PoNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPoNumber(v string)
SetPoNumber sets PoNumber field to given value.
func (o *PrestagePurchasingInformationV2) GetVendor() string
GetVendor returns the Vendor field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetVendor(v string)
SetVendor sets Vendor field to given value.
func (o *PrestagePurchasingInformationV2) GetPurchasePrice() string
GetPurchasePrice returns the PurchasePrice field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPurchasePriceOk() (*string, bool)
GetPurchasePriceOk returns a tuple with the PurchasePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPurchasePrice(v string)
SetPurchasePrice sets PurchasePrice field to given value.
func (o *PrestagePurchasingInformationV2) GetLifeExpectancy() int64
GetLifeExpectancy returns the LifeExpectancy field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetLifeExpectancyOk() (*int64, bool)
GetLifeExpectancyOk returns a tuple with the LifeExpectancy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetLifeExpectancy(v int64)
SetLifeExpectancy sets LifeExpectancy field to given value.
func (o *PrestagePurchasingInformationV2) GetPurchasingAccount() string
GetPurchasingAccount returns the PurchasingAccount field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPurchasingAccountOk() (*string, bool)
GetPurchasingAccountOk returns a tuple with the PurchasingAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPurchasingAccount(v string)
SetPurchasingAccount sets PurchasingAccount field to given value.
func (o *PrestagePurchasingInformationV2) GetPurchasingContact() string
GetPurchasingContact returns the PurchasingContact field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPurchasingContactOk() (*string, bool)
GetPurchasingContactOk returns a tuple with the PurchasingContact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPurchasingContact(v string)
SetPurchasingContact sets PurchasingContact field to given value.
func (o *PrestagePurchasingInformationV2) GetLeaseDate() string
GetLeaseDate returns the LeaseDate field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetLeaseDateOk() (*string, bool)
GetLeaseDateOk returns a tuple with the LeaseDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetLeaseDate(v string)
SetLeaseDate sets LeaseDate field to given value.
func (o *PrestagePurchasingInformationV2) GetPoDate() string
GetPoDate returns the PoDate field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetPoDateOk() (*string, bool)
GetPoDateOk returns a tuple with the PoDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetPoDate(v string)
SetPoDate sets PoDate field to given value.
func (o *PrestagePurchasingInformationV2) GetWarrantyDate() string
GetWarrantyDate returns the WarrantyDate field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetWarrantyDateOk() (*string, bool)
GetWarrantyDateOk returns a tuple with the WarrantyDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetWarrantyDate(v string)
SetWarrantyDate sets WarrantyDate field to given value.
func (o *PrestagePurchasingInformationV2) GetVersionLock() int64
GetVersionLock returns the VersionLock field if non-nil, zero value otherwise.
func (o *PrestagePurchasingInformationV2) GetVersionLockOk() (*int64, bool)
GetVersionLockOk returns a tuple with the VersionLock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrestagePurchasingInformationV2) SetVersionLock(v int64)
SetVersionLock sets VersionLock field to given value.