Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 3.8 KB

UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner.md

File metadata and controls

72 lines (39 loc) · 3.8 KB

UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner

Properties

Name Type Description Notes
Type string The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
Value string If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).

Methods

NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner

func NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner(type_ string, value string, ) *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner

NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner instantiates a new UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner 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

NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInnerWithDefaults

func NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInnerWithDefaults() *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner

NewUpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInnerWithDefaults instantiates a new UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner 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

GetType

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) GetTypeOk() (*string, bool)

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

SetType

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) SetType(v string)

SetType sets Type field to given value.

GetValue

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) GetValueOk() (*string, 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.

SetValue

func (o *UpdateNetworkApplianceTrafficShapingRulesRequestRulesInnerDefinitionsInner) SetValue(v string)

SetValue sets Value field to given value.

[Back to Model list] [Back to API list] [Back to README]