Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.66 KB

Service.md

File metadata and controls

108 lines (59 loc) · 2.66 KB

Service

Properties

Name Type Description Notes
Id Pointer to int64 The resource identifier. [optional]
Type Pointer to string The resource type. [optional]
ServerVersion Pointer to string [optional] [readonly]

Methods

NewService

func NewService() *Service

NewService instantiates a new Service 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

NewServiceWithDefaults

func NewServiceWithDefaults() *Service

NewServiceWithDefaults instantiates a new Service 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

GetId

func (o *Service) GetId() int64

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

GetIdOk

func (o *Service) GetIdOk() (*int64, 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 *Service) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *Service) HasId() bool

HasId returns a boolean if a field has been set.

GetType

func (o *Service) GetType() string

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

GetTypeOk

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

SetType sets Type field to given value.

HasType

func (o *Service) HasType() bool

HasType returns a boolean if a field has been set.

GetServerVersion

func (o *Service) GetServerVersion() string

GetServerVersion returns the ServerVersion field if non-nil, zero value otherwise.

GetServerVersionOk

func (o *Service) GetServerVersionOk() (*string, bool)

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

SetServerVersion

func (o *Service) SetServerVersion(v string)

SetServerVersion sets ServerVersion field to given value.

HasServerVersion

func (o *Service) HasServerVersion() bool

HasServerVersion returns a boolean if a field has been set.

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