Skip to content

Latest commit

 

History

History
462 lines (249 loc) · 10.6 KB

File metadata and controls

462 lines (249 loc) · 10.6 KB

Network

Properties

Name Type Description Notes
Address Pointer to string [optional]
CreatedBy Pointer to string [optional]
CreatedOn Pointer to time.Time [optional]
Dns Pointer to NetworkDns [optional]
Firewall Pointer to string [optional]
Flavour Pointer to string [optional]
Gateway Pointer to string [optional]
Id string
ModifiedBy Pointer to string [optional]
ModifiedOn Pointer to time.Time [optional]
Name string
Netgw Pointer to string [optional]
Project Pointer to string [optional]
State Pointer to string [optional]
Tag Pointer to []Tag [optional]
Type Pointer to string [optional]
Uri Pointer to string [optional]

Methods

NewNetwork

func NewNetwork(id string, name string, ) *Network

NewNetwork instantiates a new Network 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

NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network 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

GetAddress

func (o *Network) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *Network) GetAddressOk() (*string, bool)

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

SetAddress

func (o *Network) SetAddress(v string)

SetAddress sets Address field to given value.

HasAddress

func (o *Network) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetCreatedBy

func (o *Network) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Network) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *Network) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *Network) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedOn

func (o *Network) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

func (o *Network) GetCreatedOnOk() (*time.Time, bool)

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

SetCreatedOn

func (o *Network) SetCreatedOn(v time.Time)

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *Network) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

GetDns

func (o *Network) GetDns() NetworkDns

GetDns returns the Dns field if non-nil, zero value otherwise.

GetDnsOk

func (o *Network) GetDnsOk() (*NetworkDns, bool)

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

SetDns

func (o *Network) SetDns(v NetworkDns)

SetDns sets Dns field to given value.

HasDns

func (o *Network) HasDns() bool

HasDns returns a boolean if a field has been set.

GetFirewall

func (o *Network) GetFirewall() string

GetFirewall returns the Firewall field if non-nil, zero value otherwise.

GetFirewallOk

func (o *Network) GetFirewallOk() (*string, bool)

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

SetFirewall

func (o *Network) SetFirewall(v string)

SetFirewall sets Firewall field to given value.

HasFirewall

func (o *Network) HasFirewall() bool

HasFirewall returns a boolean if a field has been set.

GetFlavour

func (o *Network) GetFlavour() string

GetFlavour returns the Flavour field if non-nil, zero value otherwise.

GetFlavourOk

func (o *Network) GetFlavourOk() (*string, bool)

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

SetFlavour

func (o *Network) SetFlavour(v string)

SetFlavour sets Flavour field to given value.

HasFlavour

func (o *Network) HasFlavour() bool

HasFlavour returns a boolean if a field has been set.

GetGateway

func (o *Network) GetGateway() string

GetGateway returns the Gateway field if non-nil, zero value otherwise.

GetGatewayOk

func (o *Network) GetGatewayOk() (*string, bool)

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

SetGateway

func (o *Network) SetGateway(v string)

SetGateway sets Gateway field to given value.

HasGateway

func (o *Network) HasGateway() bool

HasGateway returns a boolean if a field has been set.

GetId

func (o *Network) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *Network) SetId(v string)

SetId sets Id field to given value.

GetModifiedBy

func (o *Network) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *Network) GetModifiedByOk() (*string, bool)

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

SetModifiedBy

func (o *Network) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

HasModifiedBy

func (o *Network) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

GetModifiedOn

func (o *Network) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.

GetModifiedOnOk

func (o *Network) GetModifiedOnOk() (*time.Time, bool)

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

SetModifiedOn

func (o *Network) SetModifiedOn(v time.Time)

SetModifiedOn sets ModifiedOn field to given value.

HasModifiedOn

func (o *Network) HasModifiedOn() bool

HasModifiedOn returns a boolean if a field has been set.

GetName

func (o *Network) GetName() string

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

GetNameOk

func (o *Network) 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 *Network) SetName(v string)

SetName sets Name field to given value.

GetNetgw

func (o *Network) GetNetgw() string

GetNetgw returns the Netgw field if non-nil, zero value otherwise.

GetNetgwOk

func (o *Network) GetNetgwOk() (*string, bool)

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

SetNetgw

func (o *Network) SetNetgw(v string)

SetNetgw sets Netgw field to given value.

HasNetgw

func (o *Network) HasNetgw() bool

HasNetgw returns a boolean if a field has been set.

GetProject

func (o *Network) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *Network) GetProjectOk() (*string, bool)

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

SetProject

func (o *Network) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *Network) HasProject() bool

HasProject returns a boolean if a field has been set.

GetState

func (o *Network) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *Network) GetStateOk() (*string, bool)

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

SetState

func (o *Network) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Network) HasState() bool

HasState returns a boolean if a field has been set.

GetTag

func (o *Network) GetTag() []Tag

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

func (o *Network) GetTagOk() (*[]Tag, bool)

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

SetTag

func (o *Network) SetTag(v []Tag)

SetTag sets Tag field to given value.

HasTag

func (o *Network) HasTag() bool

HasTag returns a boolean if a field has been set.

GetType

func (o *Network) GetType() string

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

GetTypeOk

func (o *Network) 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 *Network) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Network) HasType() bool

HasType returns a boolean if a field has been set.

GetUri

func (o *Network) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *Network) GetUriOk() (*string, bool)

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

SetUri

func (o *Network) SetUri(v string)

SetUri sets Uri field to given value.

HasUri

func (o *Network) HasUri() bool

HasUri returns a boolean if a field has been set.

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