Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 5.02 KB

MerakiPortProfile.md

File metadata and controls

160 lines (87 loc) · 5.02 KB

MerakiPortProfile

Properties

Name Type Description Notes
ClassId string The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. [default to "meraki.PortProfile"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "meraki.PortProfile"]
Name Pointer to string The name of the port profile. [optional] [readonly]
ProfileId Pointer to string The unique identifier for the port profile. [optional] [readonly]
RegisteredDevice Pointer to NullableAssetDeviceRegistrationRelationship [optional]

Methods

NewMerakiPortProfile

func NewMerakiPortProfile(classId string, objectType string, ) *MerakiPortProfile

NewMerakiPortProfile instantiates a new MerakiPortProfile 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

NewMerakiPortProfileWithDefaults

func NewMerakiPortProfileWithDefaults() *MerakiPortProfile

NewMerakiPortProfileWithDefaults instantiates a new MerakiPortProfile 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

GetClassId

func (o *MerakiPortProfile) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

func (o *MerakiPortProfile) GetClassIdOk() (*string, bool)

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

SetClassId

func (o *MerakiPortProfile) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *MerakiPortProfile) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *MerakiPortProfile) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *MerakiPortProfile) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetName

func (o *MerakiPortProfile) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *MerakiPortProfile) 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.

SetName

func (o *MerakiPortProfile) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *MerakiPortProfile) HasName() bool

HasName returns a boolean if a field has been set.

GetProfileId

func (o *MerakiPortProfile) GetProfileId() string

GetProfileId returns the ProfileId field if non-nil, zero value otherwise.

GetProfileIdOk

func (o *MerakiPortProfile) GetProfileIdOk() (*string, bool)

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

SetProfileId

func (o *MerakiPortProfile) SetProfileId(v string)

SetProfileId sets ProfileId field to given value.

HasProfileId

func (o *MerakiPortProfile) HasProfileId() bool

HasProfileId returns a boolean if a field has been set.

GetRegisteredDevice

func (o *MerakiPortProfile) GetRegisteredDevice() AssetDeviceRegistrationRelationship

GetRegisteredDevice returns the RegisteredDevice field if non-nil, zero value otherwise.

GetRegisteredDeviceOk

func (o *MerakiPortProfile) GetRegisteredDeviceOk() (*AssetDeviceRegistrationRelationship, bool)

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

SetRegisteredDevice

func (o *MerakiPortProfile) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)

SetRegisteredDevice sets RegisteredDevice field to given value.

HasRegisteredDevice

func (o *MerakiPortProfile) HasRegisteredDevice() bool

HasRegisteredDevice returns a boolean if a field has been set.

SetRegisteredDeviceNil

func (o *MerakiPortProfile) SetRegisteredDeviceNil(b bool)

SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil

UnsetRegisteredDevice

func (o *MerakiPortProfile) UnsetRegisteredDevice()

UnsetRegisteredDevice ensures that no value is present for RegisteredDevice, not even an explicit nil

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