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

     1  # DevicePolicy
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **PolicyId** | **string** |  | 
     8  **ActivationKey** | Pointer to **string** |  | [optional] 
     9  **ResourceOwnerId** | **string** |  | 
    10  **CreatedAt** | **string** |  | 
    11  **UpdatedAt** | **string** |  | 
    12  
    13  ## Methods
    14  
    15  ### NewDevicePolicy
    16  
    17  `func NewDevicePolicy(policyId string, resourceOwnerId string, createdAt string, updatedAt string, ) *DevicePolicy`
    18  
    19  NewDevicePolicy instantiates a new DevicePolicy object
    20  This constructor will assign default values to properties that have it defined,
    21  and makes sure properties required by API are set, but the set of arguments
    22  will change when the set of required properties is changed
    23  
    24  ### NewDevicePolicyWithDefaults
    25  
    26  `func NewDevicePolicyWithDefaults() *DevicePolicy`
    27  
    28  NewDevicePolicyWithDefaults instantiates a new DevicePolicy object
    29  This constructor will only assign default values to properties that have it defined,
    30  but it doesn't guarantee that properties required by API are set
    31  
    32  ### GetPolicyId
    33  
    34  `func (o *DevicePolicy) GetPolicyId() string`
    35  
    36  GetPolicyId returns the PolicyId field if non-nil, zero value otherwise.
    37  
    38  ### GetPolicyIdOk
    39  
    40  `func (o *DevicePolicy) GetPolicyIdOk() (*string, bool)`
    41  
    42  GetPolicyIdOk returns a tuple with the PolicyId field if it's non-nil, zero value otherwise
    43  and a boolean to check if the value has been set.
    44  
    45  ### SetPolicyId
    46  
    47  `func (o *DevicePolicy) SetPolicyId(v string)`
    48  
    49  SetPolicyId sets PolicyId field to given value.
    50  
    51  
    52  ### GetActivationKey
    53  
    54  `func (o *DevicePolicy) GetActivationKey() string`
    55  
    56  GetActivationKey returns the ActivationKey field if non-nil, zero value otherwise.
    57  
    58  ### GetActivationKeyOk
    59  
    60  `func (o *DevicePolicy) GetActivationKeyOk() (*string, bool)`
    61  
    62  GetActivationKeyOk returns a tuple with the ActivationKey field if it's non-nil, zero value otherwise
    63  and a boolean to check if the value has been set.
    64  
    65  ### SetActivationKey
    66  
    67  `func (o *DevicePolicy) SetActivationKey(v string)`
    68  
    69  SetActivationKey sets ActivationKey field to given value.
    70  
    71  ### HasActivationKey
    72  
    73  `func (o *DevicePolicy) HasActivationKey() bool`
    74  
    75  HasActivationKey returns a boolean if a field has been set.
    76  
    77  ### GetResourceOwnerId
    78  
    79  `func (o *DevicePolicy) GetResourceOwnerId() string`
    80  
    81  GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise.
    82  
    83  ### GetResourceOwnerIdOk
    84  
    85  `func (o *DevicePolicy) GetResourceOwnerIdOk() (*string, bool)`
    86  
    87  GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise
    88  and a boolean to check if the value has been set.
    89  
    90  ### SetResourceOwnerId
    91  
    92  `func (o *DevicePolicy) SetResourceOwnerId(v string)`
    93  
    94  SetResourceOwnerId sets ResourceOwnerId field to given value.
    95  
    96  
    97  ### GetCreatedAt
    98  
    99  `func (o *DevicePolicy) GetCreatedAt() string`
   100  
   101  GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
   102  
   103  ### GetCreatedAtOk
   104  
   105  `func (o *DevicePolicy) GetCreatedAtOk() (*string, bool)`
   106  
   107  GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
   108  and a boolean to check if the value has been set.
   109  
   110  ### SetCreatedAt
   111  
   112  `func (o *DevicePolicy) SetCreatedAt(v string)`
   113  
   114  SetCreatedAt sets CreatedAt field to given value.
   115  
   116  
   117  ### GetUpdatedAt
   118  
   119  `func (o *DevicePolicy) GetUpdatedAt() string`
   120  
   121  GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
   122  
   123  ### GetUpdatedAtOk
   124  
   125  `func (o *DevicePolicy) GetUpdatedAtOk() (*string, bool)`
   126  
   127  GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
   128  and a boolean to check if the value has been set.
   129  
   130  ### SetUpdatedAt
   131  
   132  `func (o *DevicePolicy) SetUpdatedAt(v string)`
   133  
   134  SetUpdatedAt sets UpdatedAt field to given value.
   135  
   136  
   137  
   138  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
   139  
   140