| Name | Type | Description | Notes |
|---|---|---|---|
| Protocol | string | Protocol name — tcp, udp, or icmp. | |
| ValueType | Pointer to string | Port-value shape for tcp/udp entries (single, range, or list). Absent for icmp. | [optional] |
| Value | Pointer to []int32 | Port number(s) for tcp/udp entries. Absent for icmp. | [optional] |
| ProtocolOptions | Pointer to ObjectServiceProtocolOptionsICMPrequest | [optional] |
func NewObjectsServicesProtocolRequestObj(protocol string, ) *ObjectsServicesProtocolRequestObj
NewObjectsServicesProtocolRequestObj instantiates a new ObjectsServicesProtocolRequestObj 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 NewObjectsServicesProtocolRequestObjWithDefaults() *ObjectsServicesProtocolRequestObj
NewObjectsServicesProtocolRequestObjWithDefaults instantiates a new ObjectsServicesProtocolRequestObj 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 *ObjectsServicesProtocolRequestObj) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *ObjectsServicesProtocolRequestObj) GetProtocolOk() (*string, 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 *ObjectsServicesProtocolRequestObj) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *ObjectsServicesProtocolRequestObj) GetValueType() string
GetValueType returns the ValueType field if non-nil, zero value otherwise.
func (o *ObjectsServicesProtocolRequestObj) GetValueTypeOk() (*string, bool)
GetValueTypeOk returns a tuple with the ValueType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectsServicesProtocolRequestObj) SetValueType(v string)
SetValueType sets ValueType field to given value.
func (o *ObjectsServicesProtocolRequestObj) HasValueType() bool
HasValueType returns a boolean if a field has been set.
func (o *ObjectsServicesProtocolRequestObj) GetValue() []int32
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *ObjectsServicesProtocolRequestObj) GetValueOk() (*[]int32, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectsServicesProtocolRequestObj) SetValue(v []int32)
SetValue sets Value field to given value.
func (o *ObjectsServicesProtocolRequestObj) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *ObjectsServicesProtocolRequestObj) GetProtocolOptions() ObjectServiceProtocolOptionsICMPrequest
GetProtocolOptions returns the ProtocolOptions field if non-nil, zero value otherwise.
func (o *ObjectsServicesProtocolRequestObj) GetProtocolOptionsOk() (*ObjectServiceProtocolOptionsICMPrequest, bool)
GetProtocolOptionsOk returns a tuple with the ProtocolOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectsServicesProtocolRequestObj) SetProtocolOptions(v ObjectServiceProtocolOptionsICMPrequest)
SetProtocolOptions sets ProtocolOptions field to given value.
func (o *ObjectsServicesProtocolRequestObj) HasProtocolOptions() bool
HasProtocolOptions returns a boolean if a field has been set.