github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/Contract.md (about)

     1  # Contract
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **Id** | Pointer to **string** |  | [optional] 
     8  **ProviderId** | Pointer to **string** |  | [optional] 
     9  **Quantity** | Pointer to **int32** |  | [optional] 
    10  **Unit** | Pointer to **string** |  | [optional] 
    11  **LicenseType** | Pointer to **string** |  | [optional] 
    12  **ContractType** | Pointer to **string** |  | [optional] 
    13  **SpanType** | Pointer to **string** |  | [optional] 
    14  **SpanNumber** | Pointer to **int32** |  | [optional] 
    15  **Status** | Pointer to **string** |  | [optional] 
    16  **PurchasedAt** | Pointer to **string** | ISO8601 | [optional] 
    17  **IssuedAt** | Pointer to **string** | ISO8601 | [optional] 
    18  **ExpiresAt** | Pointer to **string** | ISO8601 | [optional] 
    19  **StatusChangeAt** | Pointer to **string** | ISO8601 | [optional] 
    20  **Items** | Pointer to [**[]ContractItem**](ContractItem.md) |  | [optional] 
    21  **Owner** | Pointer to [**ContractOwner**](ContractOwner.md) |  | [optional] 
    22  
    23  ## Methods
    24  
    25  ### NewContract
    26  
    27  `func NewContract() *Contract`
    28  
    29  NewContract instantiates a new Contract object
    30  This constructor will assign default values to properties that have it defined,
    31  and makes sure properties required by API are set, but the set of arguments
    32  will change when the set of required properties is changed
    33  
    34  ### NewContractWithDefaults
    35  
    36  `func NewContractWithDefaults() *Contract`
    37  
    38  NewContractWithDefaults instantiates a new Contract object
    39  This constructor will only assign default values to properties that have it defined,
    40  but it doesn't guarantee that properties required by API are set
    41  
    42  ### GetId
    43  
    44  `func (o *Contract) GetId() string`
    45  
    46  GetId returns the Id field if non-nil, zero value otherwise.
    47  
    48  ### GetIdOk
    49  
    50  `func (o *Contract) GetIdOk() (*string, bool)`
    51  
    52  GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
    53  and a boolean to check if the value has been set.
    54  
    55  ### SetId
    56  
    57  `func (o *Contract) SetId(v string)`
    58  
    59  SetId sets Id field to given value.
    60  
    61  ### HasId
    62  
    63  `func (o *Contract) HasId() bool`
    64  
    65  HasId returns a boolean if a field has been set.
    66  
    67  ### GetProviderId
    68  
    69  `func (o *Contract) GetProviderId() string`
    70  
    71  GetProviderId returns the ProviderId field if non-nil, zero value otherwise.
    72  
    73  ### GetProviderIdOk
    74  
    75  `func (o *Contract) GetProviderIdOk() (*string, bool)`
    76  
    77  GetProviderIdOk returns a tuple with the ProviderId field if it's non-nil, zero value otherwise
    78  and a boolean to check if the value has been set.
    79  
    80  ### SetProviderId
    81  
    82  `func (o *Contract) SetProviderId(v string)`
    83  
    84  SetProviderId sets ProviderId field to given value.
    85  
    86  ### HasProviderId
    87  
    88  `func (o *Contract) HasProviderId() bool`
    89  
    90  HasProviderId returns a boolean if a field has been set.
    91  
    92  ### GetQuantity
    93  
    94  `func (o *Contract) GetQuantity() int32`
    95  
    96  GetQuantity returns the Quantity field if non-nil, zero value otherwise.
    97  
    98  ### GetQuantityOk
    99  
   100  `func (o *Contract) GetQuantityOk() (*int32, bool)`
   101  
   102  GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise
   103  and a boolean to check if the value has been set.
   104  
   105  ### SetQuantity
   106  
   107  `func (o *Contract) SetQuantity(v int32)`
   108  
   109  SetQuantity sets Quantity field to given value.
   110  
   111  ### HasQuantity
   112  
   113  `func (o *Contract) HasQuantity() bool`
   114  
   115  HasQuantity returns a boolean if a field has been set.
   116  
   117  ### GetUnit
   118  
   119  `func (o *Contract) GetUnit() string`
   120  
   121  GetUnit returns the Unit field if non-nil, zero value otherwise.
   122  
   123  ### GetUnitOk
   124  
   125  `func (o *Contract) GetUnitOk() (*string, bool)`
   126  
   127  GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise
   128  and a boolean to check if the value has been set.
   129  
   130  ### SetUnit
   131  
   132  `func (o *Contract) SetUnit(v string)`
   133  
   134  SetUnit sets Unit field to given value.
   135  
   136  ### HasUnit
   137  
   138  `func (o *Contract) HasUnit() bool`
   139  
   140  HasUnit returns a boolean if a field has been set.
   141  
   142  ### GetLicenseType
   143  
   144  `func (o *Contract) GetLicenseType() string`
   145  
   146  GetLicenseType returns the LicenseType field if non-nil, zero value otherwise.
   147  
   148  ### GetLicenseTypeOk
   149  
   150  `func (o *Contract) GetLicenseTypeOk() (*string, bool)`
   151  
   152  GetLicenseTypeOk returns a tuple with the LicenseType field if it's non-nil, zero value otherwise
   153  and a boolean to check if the value has been set.
   154  
   155  ### SetLicenseType
   156  
   157  `func (o *Contract) SetLicenseType(v string)`
   158  
   159  SetLicenseType sets LicenseType field to given value.
   160  
   161  ### HasLicenseType
   162  
   163  `func (o *Contract) HasLicenseType() bool`
   164  
   165  HasLicenseType returns a boolean if a field has been set.
   166  
   167  ### GetContractType
   168  
   169  `func (o *Contract) GetContractType() string`
   170  
   171  GetContractType returns the ContractType field if non-nil, zero value otherwise.
   172  
   173  ### GetContractTypeOk
   174  
   175  `func (o *Contract) GetContractTypeOk() (*string, bool)`
   176  
   177  GetContractTypeOk returns a tuple with the ContractType field if it's non-nil, zero value otherwise
   178  and a boolean to check if the value has been set.
   179  
   180  ### SetContractType
   181  
   182  `func (o *Contract) SetContractType(v string)`
   183  
   184  SetContractType sets ContractType field to given value.
   185  
   186  ### HasContractType
   187  
   188  `func (o *Contract) HasContractType() bool`
   189  
   190  HasContractType returns a boolean if a field has been set.
   191  
   192  ### GetSpanType
   193  
   194  `func (o *Contract) GetSpanType() string`
   195  
   196  GetSpanType returns the SpanType field if non-nil, zero value otherwise.
   197  
   198  ### GetSpanTypeOk
   199  
   200  `func (o *Contract) GetSpanTypeOk() (*string, bool)`
   201  
   202  GetSpanTypeOk returns a tuple with the SpanType field if it's non-nil, zero value otherwise
   203  and a boolean to check if the value has been set.
   204  
   205  ### SetSpanType
   206  
   207  `func (o *Contract) SetSpanType(v string)`
   208  
   209  SetSpanType sets SpanType field to given value.
   210  
   211  ### HasSpanType
   212  
   213  `func (o *Contract) HasSpanType() bool`
   214  
   215  HasSpanType returns a boolean if a field has been set.
   216  
   217  ### GetSpanNumber
   218  
   219  `func (o *Contract) GetSpanNumber() int32`
   220  
   221  GetSpanNumber returns the SpanNumber field if non-nil, zero value otherwise.
   222  
   223  ### GetSpanNumberOk
   224  
   225  `func (o *Contract) GetSpanNumberOk() (*int32, bool)`
   226  
   227  GetSpanNumberOk returns a tuple with the SpanNumber field if it's non-nil, zero value otherwise
   228  and a boolean to check if the value has been set.
   229  
   230  ### SetSpanNumber
   231  
   232  `func (o *Contract) SetSpanNumber(v int32)`
   233  
   234  SetSpanNumber sets SpanNumber field to given value.
   235  
   236  ### HasSpanNumber
   237  
   238  `func (o *Contract) HasSpanNumber() bool`
   239  
   240  HasSpanNumber returns a boolean if a field has been set.
   241  
   242  ### GetStatus
   243  
   244  `func (o *Contract) GetStatus() string`
   245  
   246  GetStatus returns the Status field if non-nil, zero value otherwise.
   247  
   248  ### GetStatusOk
   249  
   250  `func (o *Contract) GetStatusOk() (*string, bool)`
   251  
   252  GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
   253  and a boolean to check if the value has been set.
   254  
   255  ### SetStatus
   256  
   257  `func (o *Contract) SetStatus(v string)`
   258  
   259  SetStatus sets Status field to given value.
   260  
   261  ### HasStatus
   262  
   263  `func (o *Contract) HasStatus() bool`
   264  
   265  HasStatus returns a boolean if a field has been set.
   266  
   267  ### GetPurchasedAt
   268  
   269  `func (o *Contract) GetPurchasedAt() string`
   270  
   271  GetPurchasedAt returns the PurchasedAt field if non-nil, zero value otherwise.
   272  
   273  ### GetPurchasedAtOk
   274  
   275  `func (o *Contract) GetPurchasedAtOk() (*string, bool)`
   276  
   277  GetPurchasedAtOk returns a tuple with the PurchasedAt field if it's non-nil, zero value otherwise
   278  and a boolean to check if the value has been set.
   279  
   280  ### SetPurchasedAt
   281  
   282  `func (o *Contract) SetPurchasedAt(v string)`
   283  
   284  SetPurchasedAt sets PurchasedAt field to given value.
   285  
   286  ### HasPurchasedAt
   287  
   288  `func (o *Contract) HasPurchasedAt() bool`
   289  
   290  HasPurchasedAt returns a boolean if a field has been set.
   291  
   292  ### GetIssuedAt
   293  
   294  `func (o *Contract) GetIssuedAt() string`
   295  
   296  GetIssuedAt returns the IssuedAt field if non-nil, zero value otherwise.
   297  
   298  ### GetIssuedAtOk
   299  
   300  `func (o *Contract) GetIssuedAtOk() (*string, bool)`
   301  
   302  GetIssuedAtOk returns a tuple with the IssuedAt field if it's non-nil, zero value otherwise
   303  and a boolean to check if the value has been set.
   304  
   305  ### SetIssuedAt
   306  
   307  `func (o *Contract) SetIssuedAt(v string)`
   308  
   309  SetIssuedAt sets IssuedAt field to given value.
   310  
   311  ### HasIssuedAt
   312  
   313  `func (o *Contract) HasIssuedAt() bool`
   314  
   315  HasIssuedAt returns a boolean if a field has been set.
   316  
   317  ### GetExpiresAt
   318  
   319  `func (o *Contract) GetExpiresAt() string`
   320  
   321  GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
   322  
   323  ### GetExpiresAtOk
   324  
   325  `func (o *Contract) GetExpiresAtOk() (*string, bool)`
   326  
   327  GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise
   328  and a boolean to check if the value has been set.
   329  
   330  ### SetExpiresAt
   331  
   332  `func (o *Contract) SetExpiresAt(v string)`
   333  
   334  SetExpiresAt sets ExpiresAt field to given value.
   335  
   336  ### HasExpiresAt
   337  
   338  `func (o *Contract) HasExpiresAt() bool`
   339  
   340  HasExpiresAt returns a boolean if a field has been set.
   341  
   342  ### GetStatusChangeAt
   343  
   344  `func (o *Contract) GetStatusChangeAt() string`
   345  
   346  GetStatusChangeAt returns the StatusChangeAt field if non-nil, zero value otherwise.
   347  
   348  ### GetStatusChangeAtOk
   349  
   350  `func (o *Contract) GetStatusChangeAtOk() (*string, bool)`
   351  
   352  GetStatusChangeAtOk returns a tuple with the StatusChangeAt field if it's non-nil, zero value otherwise
   353  and a boolean to check if the value has been set.
   354  
   355  ### SetStatusChangeAt
   356  
   357  `func (o *Contract) SetStatusChangeAt(v string)`
   358  
   359  SetStatusChangeAt sets StatusChangeAt field to given value.
   360  
   361  ### HasStatusChangeAt
   362  
   363  `func (o *Contract) HasStatusChangeAt() bool`
   364  
   365  HasStatusChangeAt returns a boolean if a field has been set.
   366  
   367  ### GetItems
   368  
   369  `func (o *Contract) GetItems() []ContractItem`
   370  
   371  GetItems returns the Items field if non-nil, zero value otherwise.
   372  
   373  ### GetItemsOk
   374  
   375  `func (o *Contract) GetItemsOk() (*[]ContractItem, bool)`
   376  
   377  GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise
   378  and a boolean to check if the value has been set.
   379  
   380  ### SetItems
   381  
   382  `func (o *Contract) SetItems(v []ContractItem)`
   383  
   384  SetItems sets Items field to given value.
   385  
   386  ### HasItems
   387  
   388  `func (o *Contract) HasItems() bool`
   389  
   390  HasItems returns a boolean if a field has been set.
   391  
   392  ### GetOwner
   393  
   394  `func (o *Contract) GetOwner() ContractOwner`
   395  
   396  GetOwner returns the Owner field if non-nil, zero value otherwise.
   397  
   398  ### GetOwnerOk
   399  
   400  `func (o *Contract) GetOwnerOk() (*ContractOwner, bool)`
   401  
   402  GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
   403  and a boolean to check if the value has been set.
   404  
   405  ### SetOwner
   406  
   407  `func (o *Contract) SetOwner(v ContractOwner)`
   408  
   409  SetOwner sets Owner field to given value.
   410  
   411  ### HasOwner
   412  
   413  `func (o *Contract) HasOwner() bool`
   414  
   415  HasOwner returns a boolean if a field has been set.
   416  
   417  
   418  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
   419  
   420