Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
Url | string | [readonly] | |
Device | Pointer to NullableString | [optional] | |
VirtualMachine | Pointer to NullableString | [optional] | |
Name | string | ||
Ports | []int32 | ||
Protocol | ProtocolEnum | ||
Ipaddresses | Pointer to []string | [optional] | |
Description | Pointer to string | [optional] | |
Tags | Pointer to []TagSerializerField | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Created | string | [readonly] | |
LastUpdated | time.Time | [readonly] | |
ComputedFields | map[string]interface{} | [readonly] | |
Display | string | Human friendly display value | [readonly] |
func NewWritableService(id string, url string, name string, ports []int32, protocol ProtocolEnum, created string, lastUpdated time.Time, computedFields map[string]interface{}, display string, ) *WritableService
NewWritableService instantiates a new WritableService 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 NewWritableServiceWithDefaults() *WritableService
NewWritableServiceWithDefaults instantiates a new WritableService 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 *WritableService) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *WritableService) 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 *WritableService) SetId(v string)
SetId sets Id field to given value.
func (o *WritableService) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *WritableService) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *WritableService) GetDevice() string
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *WritableService) GetDeviceOk() (*string, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetDevice(v string)
SetDevice sets Device field to given value.
func (o *WritableService) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (o *WritableService) SetDeviceNil(b bool)
SetDeviceNil sets the value for Device to be an explicit nil
func (o *WritableService) UnsetDevice()
UnsetDevice ensures that no value is present for Device, not even an explicit nil
func (o *WritableService) GetVirtualMachine() string
GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise.
func (o *WritableService) GetVirtualMachineOk() (*string, bool)
GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetVirtualMachine(v string)
SetVirtualMachine sets VirtualMachine field to given value.
func (o *WritableService) HasVirtualMachine() bool
HasVirtualMachine returns a boolean if a field has been set.
func (o *WritableService) SetVirtualMachineNil(b bool)
SetVirtualMachineNil sets the value for VirtualMachine to be an explicit nil
func (o *WritableService) UnsetVirtualMachine()
UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil
func (o *WritableService) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WritableService) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetName(v string)
SetName sets Name field to given value.
func (o *WritableService) GetPorts() []int32
GetPorts returns the Ports field if non-nil, zero value otherwise.
func (o *WritableService) GetPortsOk() (*[]int32, bool)
GetPortsOk returns a tuple with the Ports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetPorts(v []int32)
SetPorts sets Ports field to given value.
func (o *WritableService) GetProtocol() ProtocolEnum
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *WritableService) GetProtocolOk() (*ProtocolEnum, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetProtocol(v ProtocolEnum)
SetProtocol sets Protocol field to given value.
func (o *WritableService) GetIpaddresses() []string
GetIpaddresses returns the Ipaddresses field if non-nil, zero value otherwise.
func (o *WritableService) GetIpaddressesOk() (*[]string, bool)
GetIpaddressesOk returns a tuple with the Ipaddresses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetIpaddresses(v []string)
SetIpaddresses sets Ipaddresses field to given value.
func (o *WritableService) HasIpaddresses() bool
HasIpaddresses returns a boolean if a field has been set.
func (o *WritableService) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WritableService) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritableService) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WritableService) GetTags() []TagSerializerField
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *WritableService) GetTagsOk() (*[]TagSerializerField, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetTags(v []TagSerializerField)
SetTags sets Tags field to given value.
func (o *WritableService) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritableService) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *WritableService) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritableService) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *WritableService) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *WritableService) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetCreated(v string)
SetCreated sets Created field to given value.
func (o *WritableService) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *WritableService) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *WritableService) GetComputedFields() map[string]interface{}
GetComputedFields returns the ComputedFields field if non-nil, zero value otherwise.
func (o *WritableService) GetComputedFieldsOk() (*map[string]interface{}, bool)
GetComputedFieldsOk returns a tuple with the ComputedFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetComputedFields(v map[string]interface{})
SetComputedFields sets ComputedFields field to given value.
func (o *WritableService) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *WritableService) GetDisplayOk() (*string, bool)
GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableService) SetDisplay(v string)
SetDisplay sets Display field to given value.