bunnyshell.com/sdk@v0.16.0/docs/ProfileItem.md (about)

     1  # ProfileItem
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **Command** | Pointer to **[]string** | The command to be run when starting the container. | [optional] [readonly] 
     8  **PortMapping** | Pointer to **[]string** | The port mapping for the container. | [optional] [readonly] 
     9  **Environ** | Pointer to **map[string]string** | The environ for the container. | [optional] [readonly] 
    10  **SyncPaths** | Pointer to [**[]SyncPathItem**](SyncPathItem.md) | The sync paths for the container. | [optional] [readonly] 
    11  **Requirements** | Pointer to [**NullableResourceRequirementItem**](ResourceRequirementItem.md) |  | [optional] 
    12  
    13  ## Methods
    14  
    15  ### NewProfileItem
    16  
    17  `func NewProfileItem() *ProfileItem`
    18  
    19  NewProfileItem instantiates a new ProfileItem 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  ### NewProfileItemWithDefaults
    25  
    26  `func NewProfileItemWithDefaults() *ProfileItem`
    27  
    28  NewProfileItemWithDefaults instantiates a new ProfileItem 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  ### GetCommand
    33  
    34  `func (o *ProfileItem) GetCommand() []string`
    35  
    36  GetCommand returns the Command field if non-nil, zero value otherwise.
    37  
    38  ### GetCommandOk
    39  
    40  `func (o *ProfileItem) GetCommandOk() (*[]string, bool)`
    41  
    42  GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise
    43  and a boolean to check if the value has been set.
    44  
    45  ### SetCommand
    46  
    47  `func (o *ProfileItem) SetCommand(v []string)`
    48  
    49  SetCommand sets Command field to given value.
    50  
    51  ### HasCommand
    52  
    53  `func (o *ProfileItem) HasCommand() bool`
    54  
    55  HasCommand returns a boolean if a field has been set.
    56  
    57  ### GetPortMapping
    58  
    59  `func (o *ProfileItem) GetPortMapping() []string`
    60  
    61  GetPortMapping returns the PortMapping field if non-nil, zero value otherwise.
    62  
    63  ### GetPortMappingOk
    64  
    65  `func (o *ProfileItem) GetPortMappingOk() (*[]string, bool)`
    66  
    67  GetPortMappingOk returns a tuple with the PortMapping field if it's non-nil, zero value otherwise
    68  and a boolean to check if the value has been set.
    69  
    70  ### SetPortMapping
    71  
    72  `func (o *ProfileItem) SetPortMapping(v []string)`
    73  
    74  SetPortMapping sets PortMapping field to given value.
    75  
    76  ### HasPortMapping
    77  
    78  `func (o *ProfileItem) HasPortMapping() bool`
    79  
    80  HasPortMapping returns a boolean if a field has been set.
    81  
    82  ### GetEnviron
    83  
    84  `func (o *ProfileItem) GetEnviron() map[string]string`
    85  
    86  GetEnviron returns the Environ field if non-nil, zero value otherwise.
    87  
    88  ### GetEnvironOk
    89  
    90  `func (o *ProfileItem) GetEnvironOk() (*map[string]string, bool)`
    91  
    92  GetEnvironOk returns a tuple with the Environ field if it's non-nil, zero value otherwise
    93  and a boolean to check if the value has been set.
    94  
    95  ### SetEnviron
    96  
    97  `func (o *ProfileItem) SetEnviron(v map[string]string)`
    98  
    99  SetEnviron sets Environ field to given value.
   100  
   101  ### HasEnviron
   102  
   103  `func (o *ProfileItem) HasEnviron() bool`
   104  
   105  HasEnviron returns a boolean if a field has been set.
   106  
   107  ### GetSyncPaths
   108  
   109  `func (o *ProfileItem) GetSyncPaths() []SyncPathItem`
   110  
   111  GetSyncPaths returns the SyncPaths field if non-nil, zero value otherwise.
   112  
   113  ### GetSyncPathsOk
   114  
   115  `func (o *ProfileItem) GetSyncPathsOk() (*[]SyncPathItem, bool)`
   116  
   117  GetSyncPathsOk returns a tuple with the SyncPaths field if it's non-nil, zero value otherwise
   118  and a boolean to check if the value has been set.
   119  
   120  ### SetSyncPaths
   121  
   122  `func (o *ProfileItem) SetSyncPaths(v []SyncPathItem)`
   123  
   124  SetSyncPaths sets SyncPaths field to given value.
   125  
   126  ### HasSyncPaths
   127  
   128  `func (o *ProfileItem) HasSyncPaths() bool`
   129  
   130  HasSyncPaths returns a boolean if a field has been set.
   131  
   132  ### GetRequirements
   133  
   134  `func (o *ProfileItem) GetRequirements() ResourceRequirementItem`
   135  
   136  GetRequirements returns the Requirements field if non-nil, zero value otherwise.
   137  
   138  ### GetRequirementsOk
   139  
   140  `func (o *ProfileItem) GetRequirementsOk() (*ResourceRequirementItem, bool)`
   141  
   142  GetRequirementsOk returns a tuple with the Requirements field if it's non-nil, zero value otherwise
   143  and a boolean to check if the value has been set.
   144  
   145  ### SetRequirements
   146  
   147  `func (o *ProfileItem) SetRequirements(v ResourceRequirementItem)`
   148  
   149  SetRequirements sets Requirements field to given value.
   150  
   151  ### HasRequirements
   152  
   153  `func (o *ProfileItem) HasRequirements() bool`
   154  
   155  HasRequirements returns a boolean if a field has been set.
   156  
   157  ### SetRequirementsNil
   158  
   159  `func (o *ProfileItem) SetRequirementsNil(b bool)`
   160  
   161   SetRequirementsNil sets the value for Requirements to be an explicit nil
   162  
   163  ### UnsetRequirements
   164  `func (o *ProfileItem) UnsetRequirements()`
   165  
   166  UnsetRequirements ensures that no value is present for Requirements, not even an explicit nil
   167  
   168  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
   169  
   170