File: ContractProperties.md

package info (click to toggle)
golang-github-ionos-cloud-sdk-go 6.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,332 kB
  • sloc: sh: 35; makefile: 3
file content (158 lines) | stat: -rw-r--r-- 4,532 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# ContractProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**ContractNumber** | Pointer to **int64** | The contract number. | [optional] [readonly] |
|**Owner** | Pointer to **string** | The contract owner's user name. | [optional] [readonly] |
|**Status** | Pointer to **string** | The contract status. | [optional] [readonly] |
|**RegDomain** | Pointer to **string** | The registration domain of the contract. | [optional] [readonly] |
|**ResourceLimits** | Pointer to [**ResourceLimits**](ResourceLimits.md) |  | [optional] |

## Methods

### NewContractProperties

`func NewContractProperties() *ContractProperties`

NewContractProperties instantiates a new ContractProperties 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

### NewContractPropertiesWithDefaults

`func NewContractPropertiesWithDefaults() *ContractProperties`

NewContractPropertiesWithDefaults instantiates a new ContractProperties 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

### GetContractNumber

`func (o *ContractProperties) GetContractNumber() int64`

GetContractNumber returns the ContractNumber field if non-nil, zero value otherwise.

### GetContractNumberOk

`func (o *ContractProperties) GetContractNumberOk() (*int64, bool)`

GetContractNumberOk returns a tuple with the ContractNumber field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetContractNumber

`func (o *ContractProperties) SetContractNumber(v int64)`

SetContractNumber sets ContractNumber field to given value.

### HasContractNumber

`func (o *ContractProperties) HasContractNumber() bool`

HasContractNumber returns a boolean if a field has been set.

### GetOwner

`func (o *ContractProperties) GetOwner() string`

GetOwner returns the Owner field if non-nil, zero value otherwise.

### GetOwnerOk

`func (o *ContractProperties) GetOwnerOk() (*string, bool)`

GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOwner

`func (o *ContractProperties) SetOwner(v string)`

SetOwner sets Owner field to given value.

### HasOwner

`func (o *ContractProperties) HasOwner() bool`

HasOwner returns a boolean if a field has been set.

### GetStatus

`func (o *ContractProperties) GetStatus() string`

GetStatus returns the Status field if non-nil, zero value otherwise.

### GetStatusOk

`func (o *ContractProperties) GetStatusOk() (*string, bool)`

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetStatus

`func (o *ContractProperties) SetStatus(v string)`

SetStatus sets Status field to given value.

### HasStatus

`func (o *ContractProperties) HasStatus() bool`

HasStatus returns a boolean if a field has been set.

### GetRegDomain

`func (o *ContractProperties) GetRegDomain() string`

GetRegDomain returns the RegDomain field if non-nil, zero value otherwise.

### GetRegDomainOk

`func (o *ContractProperties) GetRegDomainOk() (*string, bool)`

GetRegDomainOk returns a tuple with the RegDomain field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetRegDomain

`func (o *ContractProperties) SetRegDomain(v string)`

SetRegDomain sets RegDomain field to given value.

### HasRegDomain

`func (o *ContractProperties) HasRegDomain() bool`

HasRegDomain returns a boolean if a field has been set.

### GetResourceLimits

`func (o *ContractProperties) GetResourceLimits() ResourceLimits`

GetResourceLimits returns the ResourceLimits field if non-nil, zero value otherwise.

### GetResourceLimitsOk

`func (o *ContractProperties) GetResourceLimitsOk() (*ResourceLimits, bool)`

GetResourceLimitsOk returns a tuple with the ResourceLimits field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetResourceLimits

`func (o *ContractProperties) SetResourceLimits(v ResourceLimits)`

SetResourceLimits sets ResourceLimits field to given value.

### HasResourceLimits

`func (o *ContractProperties) HasResourceLimits() bool`

HasResourceLimits returns a boolean if a field has been set.