bluefin

package module
v0.0.0-...-adeb3c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 22 Imported by: 0

README

Go API client for bluefin

Go SDK for interacting with TrueNAS APIs (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v2.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import bluefin "github.com/dellathefella/truenas-go-sdk/bluefin"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), bluefin.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), bluefin.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), bluefin.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), bluefin.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
CronjobApi CreateCronJob Post /cronjob
CronjobApi DeleteCronJob Delete /cronjob/id/{id}
CronjobApi GetCronJob Get /cronjob/id/{id}
CronjobApi UpdateCronJob Put /cronjob/id/{id}
DatasetApi CreateDataset Post /pool/dataset
DatasetApi DeleteDataset Delete /pool/dataset/id/{id}
DatasetApi GetDataset Get /pool/dataset/id/{id}
DatasetApi ListDatasets Get /pool/dataset
DatasetApi UpdateDataset Put /pool/dataset/id/{id}
GroupApi CreateGroup Post /group
GroupApi DeleteGroup Delete /group/id/{id}
GroupApi GetGroup Get /group/id/{id}
GroupApi ListGroups Get /group
GroupApi UpdateGroup Put /group/id/{id}
NetworkApi GetNetworkConfiguration Get /network/configuration
NetworkApi GetNetworkSummary Get /network/general/summary
PoolApi ListPools Get /pool
ServiceApi GetService Get /service/id/{id}
SharingApi CreateShareNFS Post /sharing/nfs
SharingApi CreateShareSMB Post /sharing/smb
SharingApi GetShareNFS Get /sharing/nfs/id/{id}
SharingApi GetShareSMB Get /sharing/smb/id/{id}
SharingApi ListSharesNFS Get /sharing/nfs
SharingApi ListSharesSMB Get /sharing/smb
SharingApi RemoveShareNFS Delete /sharing/nfs/id/{id}
SharingApi RemoveShareSMB Delete /sharing/smb/id/{id}
SharingApi UpdateShareNFS Put /sharing/nfs/id/{id}
SharingApi UpdateShareSMB Put /sharing/smb/id/{id}
UserApi CreateUser Post /user
UserApi DeleteUser Delete /user/id/{id}
UserApi GetUser Get /user/id/{id}
UserApi GetUserShellChoices Post /user/shell_choices
UserApi ListUsers Get /user
UserApi UpdateUser Put /user/id/{id}
VmApi CreateVM Post /vm
VmApi DeleteVM Delete /vm/id/{id}
VmApi GetVM Get /vm/id/{id}
VmApi ListVMS Get /vm
VmApi UpdateVM Put /vm/id/{id}

Documentation For Models

Documentation For Authorization

bearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	CronjobApi *CronjobApiService

	DatasetApi *DatasetApiService

	GroupApi *GroupApiService

	NetworkApi *NetworkApiService

	PoolApi *PoolApiService

	ServiceApi *ServiceApiService

	SharingApi *SharingApiService

	UserApi *UserApiService

	VmApi *VmApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the TrueNAS RESTful API API vv2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateCronJobRequest

type ApiCreateCronJobRequest struct {
	ApiService *CronjobApiService
	// contains filtered or unexported fields
}

func (ApiCreateCronJobRequest) CreateCronjobParams

func (r ApiCreateCronJobRequest) CreateCronjobParams(createCronjobParams CreateCronjobParams) ApiCreateCronJobRequest

func (ApiCreateCronJobRequest) Execute

type ApiCreateDatasetRequest

type ApiCreateDatasetRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiCreateDatasetRequest) CreateDatasetParams

func (r ApiCreateDatasetRequest) CreateDatasetParams(createDatasetParams CreateDatasetParams) ApiCreateDatasetRequest

func (ApiCreateDatasetRequest) Execute

type ApiCreateGroupRequest

type ApiCreateGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiCreateGroupRequest) CreateGroupParams

func (r ApiCreateGroupRequest) CreateGroupParams(createGroupParams CreateGroupParams) ApiCreateGroupRequest

func (ApiCreateGroupRequest) Execute

func (r ApiCreateGroupRequest) Execute() (int32, *http.Response, error)

type ApiCreateShareNFSRequest

type ApiCreateShareNFSRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiCreateShareNFSRequest) CreateShareNFSParams

func (r ApiCreateShareNFSRequest) CreateShareNFSParams(createShareNFSParams CreateShareNFSParams) ApiCreateShareNFSRequest

func (ApiCreateShareNFSRequest) Execute

type ApiCreateShareSMBRequest

type ApiCreateShareSMBRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiCreateShareSMBRequest) CreateShareSMBParams

func (r ApiCreateShareSMBRequest) CreateShareSMBParams(createShareSMBParams CreateShareSMBParams) ApiCreateShareSMBRequest

func (ApiCreateShareSMBRequest) Execute

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) CreateUserParams

func (r ApiCreateUserRequest) CreateUserParams(createUserParams CreateUserParams) ApiCreateUserRequest

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (int32, *http.Response, error)

type ApiCreateVMRequest

type ApiCreateVMRequest struct {
	ApiService *VmApiService
	// contains filtered or unexported fields
}

func (ApiCreateVMRequest) CreateVMParams

func (r ApiCreateVMRequest) CreateVMParams(createVMParams CreateVMParams) ApiCreateVMRequest

func (ApiCreateVMRequest) Execute

func (r ApiCreateVMRequest) Execute() (*VM, *http.Response, error)

type ApiDeleteCronJobRequest

type ApiDeleteCronJobRequest struct {
	ApiService *CronjobApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCronJobRequest) Execute

func (r ApiDeleteCronJobRequest) Execute() (*http.Response, error)

type ApiDeleteDatasetRequest

type ApiDeleteDatasetRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDatasetRequest) Execute

func (r ApiDeleteDatasetRequest) Execute() (*http.Response, error)

type ApiDeleteGroupRequest

type ApiDeleteGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGroupRequest) DeleteGroupParams

func (r ApiDeleteGroupRequest) DeleteGroupParams(deleteGroupParams DeleteGroupParams) ApiDeleteGroupRequest

func (ApiDeleteGroupRequest) Execute

func (r ApiDeleteGroupRequest) Execute() (*http.Response, error)

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) DeleteUserParams

func (r ApiDeleteUserRequest) DeleteUserParams(deleteUserParams DeleteUserParams) ApiDeleteUserRequest

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() (*http.Response, error)

type ApiDeleteVMRequest

type ApiDeleteVMRequest struct {
	ApiService *VmApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVMRequest) Execute

func (r ApiDeleteVMRequest) Execute() (*http.Response, error)

type ApiGetCronJobRequest

type ApiGetCronJobRequest struct {
	ApiService *CronjobApiService
	// contains filtered or unexported fields
}

func (ApiGetCronJobRequest) Count

func (ApiGetCronJobRequest) Execute

func (r ApiGetCronJobRequest) Execute() (*CronJob, *http.Response, error)

func (ApiGetCronJobRequest) Limit

func (ApiGetCronJobRequest) Offset

func (ApiGetCronJobRequest) Sort

type ApiGetDatasetRequest

type ApiGetDatasetRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiGetDatasetRequest) Count

func (ApiGetDatasetRequest) Execute

func (r ApiGetDatasetRequest) Execute() (*Dataset, *http.Response, error)

func (ApiGetDatasetRequest) Limit

func (ApiGetDatasetRequest) Offset

func (ApiGetDatasetRequest) Sort

type ApiGetGroupRequest

type ApiGetGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiGetGroupRequest) Count

func (ApiGetGroupRequest) Execute

func (r ApiGetGroupRequest) Execute() (*Group, *http.Response, error)

func (ApiGetGroupRequest) Limit

func (ApiGetGroupRequest) Offset

func (r ApiGetGroupRequest) Offset(offset int32) ApiGetGroupRequest

func (ApiGetGroupRequest) Sort

type ApiGetNetworkConfigurationRequest

type ApiGetNetworkConfigurationRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiGetNetworkConfigurationRequest) Execute

type ApiGetNetworkSummaryRequest

type ApiGetNetworkSummaryRequest struct {
	ApiService *NetworkApiService
	// contains filtered or unexported fields
}

func (ApiGetNetworkSummaryRequest) Execute

type ApiGetServiceRequest

type ApiGetServiceRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceRequest) Count

func (ApiGetServiceRequest) Execute

func (r ApiGetServiceRequest) Execute() (*Service, *http.Response, error)

func (ApiGetServiceRequest) Limit

func (ApiGetServiceRequest) Offset

func (ApiGetServiceRequest) Sort

type ApiGetShareNFSRequest

type ApiGetShareNFSRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiGetShareNFSRequest) Count

func (ApiGetShareNFSRequest) Execute

func (r ApiGetShareNFSRequest) Execute() (*ShareNFS, *http.Response, error)

func (ApiGetShareNFSRequest) Limit

func (ApiGetShareNFSRequest) Offset

func (ApiGetShareNFSRequest) Sort

type ApiGetShareSMBRequest

type ApiGetShareSMBRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiGetShareSMBRequest) Count

func (ApiGetShareSMBRequest) Execute

func (r ApiGetShareSMBRequest) Execute() (*ShareSMB, *http.Response, error)

func (ApiGetShareSMBRequest) Limit

func (ApiGetShareSMBRequest) Offset

func (ApiGetShareSMBRequest) Sort

type ApiGetUserRequest

type ApiGetUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Count

func (r ApiGetUserRequest) Count(count bool) ApiGetUserRequest

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*User, *http.Response, error)

func (ApiGetUserRequest) Limit

func (r ApiGetUserRequest) Limit(limit int32) ApiGetUserRequest

func (ApiGetUserRequest) Offset

func (r ApiGetUserRequest) Offset(offset int32) ApiGetUserRequest

func (ApiGetUserRequest) Sort

type ApiGetUserShellChoicesRequest

type ApiGetUserShellChoicesRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiGetUserShellChoicesRequest) Body

func (ApiGetUserShellChoicesRequest) Execute

type ApiGetVMRequest

type ApiGetVMRequest struct {
	ApiService *VmApiService
	// contains filtered or unexported fields
}

func (ApiGetVMRequest) Count

func (r ApiGetVMRequest) Count(count bool) ApiGetVMRequest

func (ApiGetVMRequest) Execute

func (r ApiGetVMRequest) Execute() (*VM, *http.Response, error)

func (ApiGetVMRequest) Limit

func (r ApiGetVMRequest) Limit(limit int32) ApiGetVMRequest

func (ApiGetVMRequest) Offset

func (r ApiGetVMRequest) Offset(offset int32) ApiGetVMRequest

func (ApiGetVMRequest) Sort

func (r ApiGetVMRequest) Sort(sort string) ApiGetVMRequest

type ApiListDatasetsRequest

type ApiListDatasetsRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiListDatasetsRequest) Count

func (ApiListDatasetsRequest) Execute

func (r ApiListDatasetsRequest) Execute() ([]Dataset, *http.Response, error)

func (ApiListDatasetsRequest) Limit

func (ApiListDatasetsRequest) Offset

func (ApiListDatasetsRequest) Sort

type ApiListGroupsRequest

type ApiListGroupsRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiListGroupsRequest) Count

func (ApiListGroupsRequest) Execute

func (r ApiListGroupsRequest) Execute() (*http.Response, error)

func (ApiListGroupsRequest) Limit

func (ApiListGroupsRequest) Offset

func (ApiListGroupsRequest) Sort

type ApiListPoolsRequest

type ApiListPoolsRequest struct {
	ApiService *PoolApiService
	// contains filtered or unexported fields
}

func (ApiListPoolsRequest) Count

func (ApiListPoolsRequest) Execute

func (r ApiListPoolsRequest) Execute() ([]Pool, *http.Response, error)

func (ApiListPoolsRequest) Limit

func (ApiListPoolsRequest) Offset

func (ApiListPoolsRequest) Sort

type ApiListSharesNFSRequest

type ApiListSharesNFSRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiListSharesNFSRequest) Count

func (ApiListSharesNFSRequest) Execute

func (r ApiListSharesNFSRequest) Execute() ([]ShareNFS, *http.Response, error)

func (ApiListSharesNFSRequest) Limit

func (ApiListSharesNFSRequest) Offset

func (ApiListSharesNFSRequest) Sort

type ApiListSharesSMBRequest

type ApiListSharesSMBRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiListSharesSMBRequest) Count

func (ApiListSharesSMBRequest) Execute

func (r ApiListSharesSMBRequest) Execute() ([]ShareSMB, *http.Response, error)

func (ApiListSharesSMBRequest) Limit

func (ApiListSharesSMBRequest) Offset

func (ApiListSharesSMBRequest) Sort

type ApiListUsersRequest

type ApiListUsersRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Count

func (ApiListUsersRequest) Execute

func (r ApiListUsersRequest) Execute() ([]User, *http.Response, error)

func (ApiListUsersRequest) Limit

func (ApiListUsersRequest) Offset

func (ApiListUsersRequest) Sort

type ApiListVMSRequest

type ApiListVMSRequest struct {
	ApiService *VmApiService
	// contains filtered or unexported fields
}

func (ApiListVMSRequest) Count

func (r ApiListVMSRequest) Count(count bool) ApiListVMSRequest

func (ApiListVMSRequest) Execute

func (r ApiListVMSRequest) Execute() ([]VM, *http.Response, error)

func (ApiListVMSRequest) Limit

func (r ApiListVMSRequest) Limit(limit int32) ApiListVMSRequest

func (ApiListVMSRequest) Offset

func (r ApiListVMSRequest) Offset(offset int32) ApiListVMSRequest

func (ApiListVMSRequest) Sort

type ApiRemoveShareNFSRequest

type ApiRemoveShareNFSRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiRemoveShareNFSRequest) Execute

func (r ApiRemoveShareNFSRequest) Execute() (*http.Response, error)

type ApiRemoveShareSMBRequest

type ApiRemoveShareSMBRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiRemoveShareSMBRequest) Execute

func (r ApiRemoveShareSMBRequest) Execute() (*http.Response, error)

type ApiUpdateCronJobRequest

type ApiUpdateCronJobRequest struct {
	ApiService *CronjobApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCronJobRequest) CreateCronjobParams

func (r ApiUpdateCronJobRequest) CreateCronjobParams(createCronjobParams CreateCronjobParams) ApiUpdateCronJobRequest

func (ApiUpdateCronJobRequest) Execute

type ApiUpdateDatasetRequest

type ApiUpdateDatasetRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDatasetRequest) Execute

func (ApiUpdateDatasetRequest) UpdateDatasetParams

func (r ApiUpdateDatasetRequest) UpdateDatasetParams(updateDatasetParams UpdateDatasetParams) ApiUpdateDatasetRequest

type ApiUpdateGroupRequest

type ApiUpdateGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGroupRequest) CreateGroupParams

func (r ApiUpdateGroupRequest) CreateGroupParams(createGroupParams CreateGroupParams) ApiUpdateGroupRequest

func (ApiUpdateGroupRequest) Execute

func (r ApiUpdateGroupRequest) Execute() (int32, *http.Response, error)

type ApiUpdateShareNFSRequest

type ApiUpdateShareNFSRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiUpdateShareNFSRequest) CreateShareNFSParams

func (r ApiUpdateShareNFSRequest) CreateShareNFSParams(createShareNFSParams CreateShareNFSParams) ApiUpdateShareNFSRequest

func (ApiUpdateShareNFSRequest) Execute

type ApiUpdateShareSMBRequest

type ApiUpdateShareSMBRequest struct {
	ApiService *SharingApiService
	// contains filtered or unexported fields
}

func (ApiUpdateShareSMBRequest) CreateShareSMBParams

func (r ApiUpdateShareSMBRequest) CreateShareSMBParams(createShareSMBParams CreateShareSMBParams) ApiUpdateShareSMBRequest

func (ApiUpdateShareSMBRequest) Execute

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() (int32, *http.Response, error)

func (ApiUpdateUserRequest) UpdateUserParams

func (r ApiUpdateUserRequest) UpdateUserParams(updateUserParams UpdateUserParams) ApiUpdateUserRequest

type ApiUpdateVMRequest

type ApiUpdateVMRequest struct {
	ApiService *VmApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVMRequest) Execute

func (r ApiUpdateVMRequest) Execute() (*VM, *http.Response, error)

func (ApiUpdateVMRequest) UpdateVMParams

func (r ApiUpdateVMRequest) UpdateVMParams(updateVMParams UpdateVMParams) ApiUpdateVMRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CompositeValue

type CompositeValue struct {
	Value                *string `json:"value,omitempty"`
	Rawvalue             string  `json:"rawvalue"`
	Source               *string `json:"source,omitempty"`
	AdditionalProperties map[string]interface{}
}

CompositeValue struct for CompositeValue

func NewCompositeValue

func NewCompositeValue(rawvalue string) *CompositeValue

NewCompositeValue instantiates a new CompositeValue 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 NewCompositeValueWithDefaults

func NewCompositeValueWithDefaults() *CompositeValue

NewCompositeValueWithDefaults instantiates a new CompositeValue 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 (*CompositeValue) GetRawvalue

func (o *CompositeValue) GetRawvalue() string

GetRawvalue returns the Rawvalue field value

func (*CompositeValue) GetRawvalueOk

func (o *CompositeValue) GetRawvalueOk() (*string, bool)

GetRawvalueOk returns a tuple with the Rawvalue field value and a boolean to check if the value has been set.

func (*CompositeValue) GetSource

func (o *CompositeValue) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*CompositeValue) GetSourceOk

func (o *CompositeValue) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CompositeValue) GetValue

func (o *CompositeValue) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*CompositeValue) GetValueOk

func (o *CompositeValue) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CompositeValue) HasSource

func (o *CompositeValue) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*CompositeValue) HasValue

func (o *CompositeValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CompositeValue) MarshalJSON

func (o CompositeValue) MarshalJSON() ([]byte, error)

func (*CompositeValue) SetRawvalue

func (o *CompositeValue) SetRawvalue(v string)

SetRawvalue sets field value

func (*CompositeValue) SetSource

func (o *CompositeValue) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*CompositeValue) SetValue

func (o *CompositeValue) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*CompositeValue) UnmarshalJSON

func (o *CompositeValue) UnmarshalJSON(bytes []byte) (err error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateCronjobParams

type CreateCronjobParams struct {
	User                 string           `json:"user"`
	Command              string           `json:"command"`
	Description          *string          `json:"description,omitempty"`
	Enabled              *bool            `json:"enabled,omitempty"`
	Stdout               *bool            `json:"stdout,omitempty"`
	Stderr               *bool            `json:"stderr,omitempty"`
	Schedule             *CronJobSchedule `json:"schedule,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateCronjobParams struct for CreateCronjobParams

func NewCreateCronjobParams

func NewCreateCronjobParams(user string, command string) *CreateCronjobParams

NewCreateCronjobParams instantiates a new CreateCronjobParams 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 NewCreateCronjobParamsWithDefaults

func NewCreateCronjobParamsWithDefaults() *CreateCronjobParams

NewCreateCronjobParamsWithDefaults instantiates a new CreateCronjobParams 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 (*CreateCronjobParams) GetCommand

func (o *CreateCronjobParams) GetCommand() string

GetCommand returns the Command field value

func (*CreateCronjobParams) GetCommandOk

func (o *CreateCronjobParams) GetCommandOk() (*string, bool)

GetCommandOk returns a tuple with the Command field value and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetDescription

func (o *CreateCronjobParams) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateCronjobParams) GetDescriptionOk

func (o *CreateCronjobParams) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetEnabled

func (o *CreateCronjobParams) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateCronjobParams) GetEnabledOk

func (o *CreateCronjobParams) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetSchedule

func (o *CreateCronjobParams) GetSchedule() CronJobSchedule

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*CreateCronjobParams) GetScheduleOk

func (o *CreateCronjobParams) GetScheduleOk() (*CronJobSchedule, bool)

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetStderr

func (o *CreateCronjobParams) GetStderr() bool

GetStderr returns the Stderr field value if set, zero value otherwise.

func (*CreateCronjobParams) GetStderrOk

func (o *CreateCronjobParams) GetStderrOk() (*bool, bool)

GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetStdout

func (o *CreateCronjobParams) GetStdout() bool

GetStdout returns the Stdout field value if set, zero value otherwise.

func (*CreateCronjobParams) GetStdoutOk

func (o *CreateCronjobParams) GetStdoutOk() (*bool, bool)

GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCronjobParams) GetUser

func (o *CreateCronjobParams) GetUser() string

GetUser returns the User field value

func (*CreateCronjobParams) GetUserOk

func (o *CreateCronjobParams) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*CreateCronjobParams) HasDescription

func (o *CreateCronjobParams) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateCronjobParams) HasEnabled

func (o *CreateCronjobParams) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateCronjobParams) HasSchedule

func (o *CreateCronjobParams) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*CreateCronjobParams) HasStderr

func (o *CreateCronjobParams) HasStderr() bool

HasStderr returns a boolean if a field has been set.

func (*CreateCronjobParams) HasStdout

func (o *CreateCronjobParams) HasStdout() bool

HasStdout returns a boolean if a field has been set.

func (CreateCronjobParams) MarshalJSON

func (o CreateCronjobParams) MarshalJSON() ([]byte, error)

func (*CreateCronjobParams) SetCommand

func (o *CreateCronjobParams) SetCommand(v string)

SetCommand sets field value

func (*CreateCronjobParams) SetDescription

func (o *CreateCronjobParams) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateCronjobParams) SetEnabled

func (o *CreateCronjobParams) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateCronjobParams) SetSchedule

func (o *CreateCronjobParams) SetSchedule(v CronJobSchedule)

SetSchedule gets a reference to the given CronJobSchedule and assigns it to the Schedule field.

func (*CreateCronjobParams) SetStderr

func (o *CreateCronjobParams) SetStderr(v bool)

SetStderr gets a reference to the given bool and assigns it to the Stderr field.

func (*CreateCronjobParams) SetStdout

func (o *CreateCronjobParams) SetStdout(v bool)

SetStdout gets a reference to the given bool and assigns it to the Stdout field.

func (*CreateCronjobParams) SetUser

func (o *CreateCronjobParams) SetUser(v string)

SetUser sets field value

func (*CreateCronjobParams) UnmarshalJSON

func (o *CreateCronjobParams) UnmarshalJSON(bytes []byte) (err error)

type CreateDatasetParams

type CreateDatasetParams struct {
	Atime                *string                               `json:"atime,omitempty"`
	Aclmode              *string                               `json:"aclmode,omitempty"`
	Name                 string                                `json:"name"`
	Comments             *string                               `json:"comments,omitempty"`
	Compression          *string                               `json:"compression,omitempty"`
	Casesensitivity      *string                               `json:"casesensitivity,omitempty"`
	Copies               *int32                                `json:"copies,omitempty"`
	Deduplication        *string                               `json:"deduplication,omitempty"`
	Encryption           *bool                                 `json:"encryption,omitempty"`
	EncryptionOptions    *CreateDatasetParamsEncryptionOptions `json:"encryption_options,omitempty"`
	Exec                 *string                               `json:"exec,omitempty"`
	ForceSize            *bool                                 `json:"force_size,omitempty"`
	InheritEncryption    *bool                                 `json:"inherit_encryption,omitempty"`
	Quota                *int64                                `json:"quota,omitempty"`
	QuotaCritical        *int64                                `json:"quota_critical,omitempty"`
	QuotaWarning         *int64                                `json:"quota_warning,omitempty"`
	Volsize              *int64                                `json:"volsize,omitempty"`
	Volblocksize         *string                               `json:"volblocksize,omitempty"`
	Readonly             *string                               `json:"readonly,omitempty"`
	Recordsize           *string                               `json:"recordsize,omitempty"`
	Refquota             *int64                                `json:"refquota,omitempty"`
	RefquotaCritical     *int64                                `json:"refquota_critical,omitempty"`
	RefquotaWarning      *int64                                `json:"refquota_warning,omitempty"`
	Refreservation       *int64                                `json:"refreservation,omitempty"`
	Reservation          *int64                                `json:"reservation,omitempty"`
	ShareType            *string                               `json:"share_type,omitempty"`
	Snapdir              *string                               `json:"snapdir,omitempty"`
	Sync                 *string                               `json:"sync,omitempty"`
	Type                 *string                               `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateDatasetParams struct for CreateDatasetParams

func NewCreateDatasetParams

func NewCreateDatasetParams(name string) *CreateDatasetParams

NewCreateDatasetParams instantiates a new CreateDatasetParams 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 NewCreateDatasetParamsWithDefaults

func NewCreateDatasetParamsWithDefaults() *CreateDatasetParams

NewCreateDatasetParamsWithDefaults instantiates a new CreateDatasetParams 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 (*CreateDatasetParams) GetAclmode

func (o *CreateDatasetParams) GetAclmode() string

GetAclmode returns the Aclmode field value if set, zero value otherwise.

func (*CreateDatasetParams) GetAclmodeOk

func (o *CreateDatasetParams) GetAclmodeOk() (*string, bool)

GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetAtime

func (o *CreateDatasetParams) GetAtime() string

GetAtime returns the Atime field value if set, zero value otherwise.

func (*CreateDatasetParams) GetAtimeOk

func (o *CreateDatasetParams) GetAtimeOk() (*string, bool)

GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetCasesensitivity

func (o *CreateDatasetParams) GetCasesensitivity() string

GetCasesensitivity returns the Casesensitivity field value if set, zero value otherwise.

func (*CreateDatasetParams) GetCasesensitivityOk

func (o *CreateDatasetParams) GetCasesensitivityOk() (*string, bool)

GetCasesensitivityOk returns a tuple with the Casesensitivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetComments

func (o *CreateDatasetParams) GetComments() string

GetComments returns the Comments field value if set, zero value otherwise.

func (*CreateDatasetParams) GetCommentsOk

func (o *CreateDatasetParams) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetCompression

func (o *CreateDatasetParams) GetCompression() string

GetCompression returns the Compression field value if set, zero value otherwise.

func (*CreateDatasetParams) GetCompressionOk

func (o *CreateDatasetParams) GetCompressionOk() (*string, bool)

GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetCopies

func (o *CreateDatasetParams) GetCopies() int32

GetCopies returns the Copies field value if set, zero value otherwise.

func (*CreateDatasetParams) GetCopiesOk

func (o *CreateDatasetParams) GetCopiesOk() (*int32, bool)

GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetDeduplication

func (o *CreateDatasetParams) GetDeduplication() string

GetDeduplication returns the Deduplication field value if set, zero value otherwise.

func (*CreateDatasetParams) GetDeduplicationOk

func (o *CreateDatasetParams) GetDeduplicationOk() (*string, bool)

GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetEncryption

func (o *CreateDatasetParams) GetEncryption() bool

GetEncryption returns the Encryption field value if set, zero value otherwise.

func (*CreateDatasetParams) GetEncryptionOk

func (o *CreateDatasetParams) GetEncryptionOk() (*bool, bool)

GetEncryptionOk returns a tuple with the Encryption field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetEncryptionOptions

GetEncryptionOptions returns the EncryptionOptions field value if set, zero value otherwise.

func (*CreateDatasetParams) GetEncryptionOptionsOk

func (o *CreateDatasetParams) GetEncryptionOptionsOk() (*CreateDatasetParamsEncryptionOptions, bool)

GetEncryptionOptionsOk returns a tuple with the EncryptionOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetExec

func (o *CreateDatasetParams) GetExec() string

GetExec returns the Exec field value if set, zero value otherwise.

func (*CreateDatasetParams) GetExecOk

func (o *CreateDatasetParams) GetExecOk() (*string, bool)

GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetForceSize

func (o *CreateDatasetParams) GetForceSize() bool

GetForceSize returns the ForceSize field value if set, zero value otherwise.

func (*CreateDatasetParams) GetForceSizeOk

func (o *CreateDatasetParams) GetForceSizeOk() (*bool, bool)

GetForceSizeOk returns a tuple with the ForceSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetInheritEncryption

func (o *CreateDatasetParams) GetInheritEncryption() bool

GetInheritEncryption returns the InheritEncryption field value if set, zero value otherwise.

func (*CreateDatasetParams) GetInheritEncryptionOk

func (o *CreateDatasetParams) GetInheritEncryptionOk() (*bool, bool)

GetInheritEncryptionOk returns a tuple with the InheritEncryption field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetName

func (o *CreateDatasetParams) GetName() string

GetName returns the Name field value

func (*CreateDatasetParams) GetNameOk

func (o *CreateDatasetParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetQuota

func (o *CreateDatasetParams) GetQuota() int64

GetQuota returns the Quota field value if set, zero value otherwise.

func (*CreateDatasetParams) GetQuotaCritical

func (o *CreateDatasetParams) GetQuotaCritical() int64

GetQuotaCritical returns the QuotaCritical field value if set, zero value otherwise.

func (*CreateDatasetParams) GetQuotaCriticalOk

func (o *CreateDatasetParams) GetQuotaCriticalOk() (*int64, bool)

GetQuotaCriticalOk returns a tuple with the QuotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetQuotaOk

func (o *CreateDatasetParams) GetQuotaOk() (*int64, bool)

GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetQuotaWarning

func (o *CreateDatasetParams) GetQuotaWarning() int64

GetQuotaWarning returns the QuotaWarning field value if set, zero value otherwise.

func (*CreateDatasetParams) GetQuotaWarningOk

func (o *CreateDatasetParams) GetQuotaWarningOk() (*int64, bool)

GetQuotaWarningOk returns a tuple with the QuotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetReadonly

func (o *CreateDatasetParams) GetReadonly() string

GetReadonly returns the Readonly field value if set, zero value otherwise.

func (*CreateDatasetParams) GetReadonlyOk

func (o *CreateDatasetParams) GetReadonlyOk() (*string, bool)

GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetRecordsize

func (o *CreateDatasetParams) GetRecordsize() string

GetRecordsize returns the Recordsize field value if set, zero value otherwise.

func (*CreateDatasetParams) GetRecordsizeOk

func (o *CreateDatasetParams) GetRecordsizeOk() (*string, bool)

GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetRefquota

func (o *CreateDatasetParams) GetRefquota() int64

GetRefquota returns the Refquota field value if set, zero value otherwise.

func (*CreateDatasetParams) GetRefquotaCritical

func (o *CreateDatasetParams) GetRefquotaCritical() int64

GetRefquotaCritical returns the RefquotaCritical field value if set, zero value otherwise.

func (*CreateDatasetParams) GetRefquotaCriticalOk

func (o *CreateDatasetParams) GetRefquotaCriticalOk() (*int64, bool)

GetRefquotaCriticalOk returns a tuple with the RefquotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetRefquotaOk

func (o *CreateDatasetParams) GetRefquotaOk() (*int64, bool)

GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetRefquotaWarning

func (o *CreateDatasetParams) GetRefquotaWarning() int64

GetRefquotaWarning returns the RefquotaWarning field value if set, zero value otherwise.

func (*CreateDatasetParams) GetRefquotaWarningOk

func (o *CreateDatasetParams) GetRefquotaWarningOk() (*int64, bool)

GetRefquotaWarningOk returns a tuple with the RefquotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetRefreservation

func (o *CreateDatasetParams) GetRefreservation() int64

GetRefreservation returns the Refreservation field value if set, zero value otherwise.

func (*CreateDatasetParams) GetRefreservationOk

func (o *CreateDatasetParams) GetRefreservationOk() (*int64, bool)

GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetReservation

func (o *CreateDatasetParams) GetReservation() int64

GetReservation returns the Reservation field value if set, zero value otherwise.

func (*CreateDatasetParams) GetReservationOk

func (o *CreateDatasetParams) GetReservationOk() (*int64, bool)

GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetShareType

func (o *CreateDatasetParams) GetShareType() string

GetShareType returns the ShareType field value if set, zero value otherwise.

func (*CreateDatasetParams) GetShareTypeOk

func (o *CreateDatasetParams) GetShareTypeOk() (*string, bool)

GetShareTypeOk returns a tuple with the ShareType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetSnapdir

func (o *CreateDatasetParams) GetSnapdir() string

GetSnapdir returns the Snapdir field value if set, zero value otherwise.

func (*CreateDatasetParams) GetSnapdirOk

func (o *CreateDatasetParams) GetSnapdirOk() (*string, bool)

GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetSync

func (o *CreateDatasetParams) GetSync() string

GetSync returns the Sync field value if set, zero value otherwise.

func (*CreateDatasetParams) GetSyncOk

func (o *CreateDatasetParams) GetSyncOk() (*string, bool)

GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetType

func (o *CreateDatasetParams) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CreateDatasetParams) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetVolblocksize

func (o *CreateDatasetParams) GetVolblocksize() string

GetVolblocksize returns the Volblocksize field value if set, zero value otherwise.

func (*CreateDatasetParams) GetVolblocksizeOk

func (o *CreateDatasetParams) GetVolblocksizeOk() (*string, bool)

GetVolblocksizeOk returns a tuple with the Volblocksize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) GetVolsize

func (o *CreateDatasetParams) GetVolsize() int64

GetVolsize returns the Volsize field value if set, zero value otherwise.

func (*CreateDatasetParams) GetVolsizeOk

func (o *CreateDatasetParams) GetVolsizeOk() (*int64, bool)

GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParams) HasAclmode

func (o *CreateDatasetParams) HasAclmode() bool

HasAclmode returns a boolean if a field has been set.

func (*CreateDatasetParams) HasAtime

func (o *CreateDatasetParams) HasAtime() bool

HasAtime returns a boolean if a field has been set.

func (*CreateDatasetParams) HasCasesensitivity

func (o *CreateDatasetParams) HasCasesensitivity() bool

HasCasesensitivity returns a boolean if a field has been set.

func (*CreateDatasetParams) HasComments

func (o *CreateDatasetParams) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*CreateDatasetParams) HasCompression

func (o *CreateDatasetParams) HasCompression() bool

HasCompression returns a boolean if a field has been set.

func (*CreateDatasetParams) HasCopies

func (o *CreateDatasetParams) HasCopies() bool

HasCopies returns a boolean if a field has been set.

func (*CreateDatasetParams) HasDeduplication

func (o *CreateDatasetParams) HasDeduplication() bool

HasDeduplication returns a boolean if a field has been set.

func (*CreateDatasetParams) HasEncryption

func (o *CreateDatasetParams) HasEncryption() bool

HasEncryption returns a boolean if a field has been set.

func (*CreateDatasetParams) HasEncryptionOptions

func (o *CreateDatasetParams) HasEncryptionOptions() bool

HasEncryptionOptions returns a boolean if a field has been set.

func (*CreateDatasetParams) HasExec

func (o *CreateDatasetParams) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*CreateDatasetParams) HasForceSize

func (o *CreateDatasetParams) HasForceSize() bool

HasForceSize returns a boolean if a field has been set.

func (*CreateDatasetParams) HasInheritEncryption

func (o *CreateDatasetParams) HasInheritEncryption() bool

HasInheritEncryption returns a boolean if a field has been set.

func (*CreateDatasetParams) HasQuota

func (o *CreateDatasetParams) HasQuota() bool

HasQuota returns a boolean if a field has been set.

func (*CreateDatasetParams) HasQuotaCritical

func (o *CreateDatasetParams) HasQuotaCritical() bool

HasQuotaCritical returns a boolean if a field has been set.

func (*CreateDatasetParams) HasQuotaWarning

func (o *CreateDatasetParams) HasQuotaWarning() bool

HasQuotaWarning returns a boolean if a field has been set.

func (*CreateDatasetParams) HasReadonly

func (o *CreateDatasetParams) HasReadonly() bool

HasReadonly returns a boolean if a field has been set.

func (*CreateDatasetParams) HasRecordsize

func (o *CreateDatasetParams) HasRecordsize() bool

HasRecordsize returns a boolean if a field has been set.

func (*CreateDatasetParams) HasRefquota

func (o *CreateDatasetParams) HasRefquota() bool

HasRefquota returns a boolean if a field has been set.

func (*CreateDatasetParams) HasRefquotaCritical

func (o *CreateDatasetParams) HasRefquotaCritical() bool

HasRefquotaCritical returns a boolean if a field has been set.

func (*CreateDatasetParams) HasRefquotaWarning

func (o *CreateDatasetParams) HasRefquotaWarning() bool

HasRefquotaWarning returns a boolean if a field has been set.

func (*CreateDatasetParams) HasRefreservation

func (o *CreateDatasetParams) HasRefreservation() bool

HasRefreservation returns a boolean if a field has been set.

func (*CreateDatasetParams) HasReservation

func (o *CreateDatasetParams) HasReservation() bool

HasReservation returns a boolean if a field has been set.

func (*CreateDatasetParams) HasShareType

func (o *CreateDatasetParams) HasShareType() bool

HasShareType returns a boolean if a field has been set.

func (*CreateDatasetParams) HasSnapdir

func (o *CreateDatasetParams) HasSnapdir() bool

HasSnapdir returns a boolean if a field has been set.

func (*CreateDatasetParams) HasSync

func (o *CreateDatasetParams) HasSync() bool

HasSync returns a boolean if a field has been set.

func (*CreateDatasetParams) HasType

func (o *CreateDatasetParams) HasType() bool

HasType returns a boolean if a field has been set.

func (*CreateDatasetParams) HasVolblocksize

func (o *CreateDatasetParams) HasVolblocksize() bool

HasVolblocksize returns a boolean if a field has been set.

func (*CreateDatasetParams) HasVolsize

func (o *CreateDatasetParams) HasVolsize() bool

HasVolsize returns a boolean if a field has been set.

func (CreateDatasetParams) MarshalJSON

func (o CreateDatasetParams) MarshalJSON() ([]byte, error)

func (*CreateDatasetParams) SetAclmode

func (o *CreateDatasetParams) SetAclmode(v string)

SetAclmode gets a reference to the given string and assigns it to the Aclmode field.

func (*CreateDatasetParams) SetAtime

func (o *CreateDatasetParams) SetAtime(v string)

SetAtime gets a reference to the given string and assigns it to the Atime field.

func (*CreateDatasetParams) SetCasesensitivity

func (o *CreateDatasetParams) SetCasesensitivity(v string)

SetCasesensitivity gets a reference to the given string and assigns it to the Casesensitivity field.

func (*CreateDatasetParams) SetComments

func (o *CreateDatasetParams) SetComments(v string)

SetComments gets a reference to the given string and assigns it to the Comments field.

func (*CreateDatasetParams) SetCompression

func (o *CreateDatasetParams) SetCompression(v string)

SetCompression gets a reference to the given string and assigns it to the Compression field.

func (*CreateDatasetParams) SetCopies

func (o *CreateDatasetParams) SetCopies(v int32)

SetCopies gets a reference to the given int32 and assigns it to the Copies field.

func (*CreateDatasetParams) SetDeduplication

func (o *CreateDatasetParams) SetDeduplication(v string)

SetDeduplication gets a reference to the given string and assigns it to the Deduplication field.

func (*CreateDatasetParams) SetEncryption

func (o *CreateDatasetParams) SetEncryption(v bool)

SetEncryption gets a reference to the given bool and assigns it to the Encryption field.

func (*CreateDatasetParams) SetEncryptionOptions

func (o *CreateDatasetParams) SetEncryptionOptions(v CreateDatasetParamsEncryptionOptions)

SetEncryptionOptions gets a reference to the given CreateDatasetParamsEncryptionOptions and assigns it to the EncryptionOptions field.

func (*CreateDatasetParams) SetExec

func (o *CreateDatasetParams) SetExec(v string)

SetExec gets a reference to the given string and assigns it to the Exec field.

func (*CreateDatasetParams) SetForceSize

func (o *CreateDatasetParams) SetForceSize(v bool)

SetForceSize gets a reference to the given bool and assigns it to the ForceSize field.

func (*CreateDatasetParams) SetInheritEncryption

func (o *CreateDatasetParams) SetInheritEncryption(v bool)

SetInheritEncryption gets a reference to the given bool and assigns it to the InheritEncryption field.

func (*CreateDatasetParams) SetName

func (o *CreateDatasetParams) SetName(v string)

SetName sets field value

func (*CreateDatasetParams) SetQuota

func (o *CreateDatasetParams) SetQuota(v int64)

SetQuota gets a reference to the given int64 and assigns it to the Quota field.

func (*CreateDatasetParams) SetQuotaCritical

func (o *CreateDatasetParams) SetQuotaCritical(v int64)

SetQuotaCritical gets a reference to the given int64 and assigns it to the QuotaCritical field.

func (*CreateDatasetParams) SetQuotaWarning

func (o *CreateDatasetParams) SetQuotaWarning(v int64)

SetQuotaWarning gets a reference to the given int64 and assigns it to the QuotaWarning field.

func (*CreateDatasetParams) SetReadonly

func (o *CreateDatasetParams) SetReadonly(v string)

SetReadonly gets a reference to the given string and assigns it to the Readonly field.

func (*CreateDatasetParams) SetRecordsize

func (o *CreateDatasetParams) SetRecordsize(v string)

SetRecordsize gets a reference to the given string and assigns it to the Recordsize field.

func (*CreateDatasetParams) SetRefquota

func (o *CreateDatasetParams) SetRefquota(v int64)

SetRefquota gets a reference to the given int64 and assigns it to the Refquota field.

func (*CreateDatasetParams) SetRefquotaCritical

func (o *CreateDatasetParams) SetRefquotaCritical(v int64)

SetRefquotaCritical gets a reference to the given int64 and assigns it to the RefquotaCritical field.

func (*CreateDatasetParams) SetRefquotaWarning

func (o *CreateDatasetParams) SetRefquotaWarning(v int64)

SetRefquotaWarning gets a reference to the given int64 and assigns it to the RefquotaWarning field.

func (*CreateDatasetParams) SetRefreservation

func (o *CreateDatasetParams) SetRefreservation(v int64)

SetRefreservation gets a reference to the given int64 and assigns it to the Refreservation field.

func (*CreateDatasetParams) SetReservation

func (o *CreateDatasetParams) SetReservation(v int64)

SetReservation gets a reference to the given int64 and assigns it to the Reservation field.

func (*CreateDatasetParams) SetShareType

func (o *CreateDatasetParams) SetShareType(v string)

SetShareType gets a reference to the given string and assigns it to the ShareType field.

func (*CreateDatasetParams) SetSnapdir

func (o *CreateDatasetParams) SetSnapdir(v string)

SetSnapdir gets a reference to the given string and assigns it to the Snapdir field.

func (*CreateDatasetParams) SetSync

func (o *CreateDatasetParams) SetSync(v string)

SetSync gets a reference to the given string and assigns it to the Sync field.

func (*CreateDatasetParams) SetType

func (o *CreateDatasetParams) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CreateDatasetParams) SetVolblocksize

func (o *CreateDatasetParams) SetVolblocksize(v string)

SetVolblocksize gets a reference to the given string and assigns it to the Volblocksize field.

func (*CreateDatasetParams) SetVolsize

func (o *CreateDatasetParams) SetVolsize(v int64)

SetVolsize gets a reference to the given int64 and assigns it to the Volsize field.

func (*CreateDatasetParams) UnmarshalJSON

func (o *CreateDatasetParams) UnmarshalJSON(bytes []byte) (err error)

type CreateDatasetParamsEncryptionOptions

type CreateDatasetParamsEncryptionOptions struct {
	Algorithm            *string `json:"algorithm,omitempty"`
	GenerateKey          *bool   `json:"generate_key,omitempty"`
	Passphrase           *string `json:"passphrase,omitempty"`
	Key                  *string `json:"key,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateDatasetParamsEncryptionOptions struct for CreateDatasetParamsEncryptionOptions

func NewCreateDatasetParamsEncryptionOptions

func NewCreateDatasetParamsEncryptionOptions() *CreateDatasetParamsEncryptionOptions

NewCreateDatasetParamsEncryptionOptions instantiates a new CreateDatasetParamsEncryptionOptions 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 NewCreateDatasetParamsEncryptionOptionsWithDefaults

func NewCreateDatasetParamsEncryptionOptionsWithDefaults() *CreateDatasetParamsEncryptionOptions

NewCreateDatasetParamsEncryptionOptionsWithDefaults instantiates a new CreateDatasetParamsEncryptionOptions 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 (*CreateDatasetParamsEncryptionOptions) GetAlgorithm

func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*CreateDatasetParamsEncryptionOptions) GetAlgorithmOk

func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithmOk() (*string, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParamsEncryptionOptions) GetGenerateKey

func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKey() bool

GetGenerateKey returns the GenerateKey field value if set, zero value otherwise.

func (*CreateDatasetParamsEncryptionOptions) GetGenerateKeyOk

func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKeyOk() (*bool, bool)

GetGenerateKeyOk returns a tuple with the GenerateKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParamsEncryptionOptions) GetKey

GetKey returns the Key field value if set, zero value otherwise.

func (*CreateDatasetParamsEncryptionOptions) GetKeyOk

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParamsEncryptionOptions) GetPassphrase

func (o *CreateDatasetParamsEncryptionOptions) GetPassphrase() string

GetPassphrase returns the Passphrase field value if set, zero value otherwise.

func (*CreateDatasetParamsEncryptionOptions) GetPassphraseOk

func (o *CreateDatasetParamsEncryptionOptions) GetPassphraseOk() (*string, bool)

GetPassphraseOk returns a tuple with the Passphrase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDatasetParamsEncryptionOptions) HasAlgorithm

func (o *CreateDatasetParamsEncryptionOptions) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*CreateDatasetParamsEncryptionOptions) HasGenerateKey

func (o *CreateDatasetParamsEncryptionOptions) HasGenerateKey() bool

HasGenerateKey returns a boolean if a field has been set.

func (*CreateDatasetParamsEncryptionOptions) HasKey

HasKey returns a boolean if a field has been set.

func (*CreateDatasetParamsEncryptionOptions) HasPassphrase

func (o *CreateDatasetParamsEncryptionOptions) HasPassphrase() bool

HasPassphrase returns a boolean if a field has been set.

func (CreateDatasetParamsEncryptionOptions) MarshalJSON

func (o CreateDatasetParamsEncryptionOptions) MarshalJSON() ([]byte, error)

func (*CreateDatasetParamsEncryptionOptions) SetAlgorithm

func (o *CreateDatasetParamsEncryptionOptions) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*CreateDatasetParamsEncryptionOptions) SetGenerateKey

func (o *CreateDatasetParamsEncryptionOptions) SetGenerateKey(v bool)

SetGenerateKey gets a reference to the given bool and assigns it to the GenerateKey field.

func (*CreateDatasetParamsEncryptionOptions) SetKey

SetKey gets a reference to the given string and assigns it to the Key field.

func (*CreateDatasetParamsEncryptionOptions) SetPassphrase

func (o *CreateDatasetParamsEncryptionOptions) SetPassphrase(v string)

SetPassphrase gets a reference to the given string and assigns it to the Passphrase field.

func (*CreateDatasetParamsEncryptionOptions) UnmarshalJSON

func (o *CreateDatasetParamsEncryptionOptions) UnmarshalJSON(bytes []byte) (err error)

type CreateGroupParams

type CreateGroupParams struct {
	Gid                  *int32   `json:"gid,omitempty"`
	Name                 string   `json:"name"`
	Smb                  *bool    `json:"smb,omitempty"`
	Sudo                 *bool    `json:"sudo,omitempty"`
	SudoNopasswd         *bool    `json:"sudo_nopasswd,omitempty"`
	SudoCommands         []string `json:"sudo_commands,omitempty"`
	AllowDuplicateGid    *bool    `json:"allow_duplicate_gid,omitempty"`
	Users                []int32  `json:"users,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateGroupParams struct for CreateGroupParams

func NewCreateGroupParams

func NewCreateGroupParams(name string) *CreateGroupParams

NewCreateGroupParams instantiates a new CreateGroupParams 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 NewCreateGroupParamsWithDefaults

func NewCreateGroupParamsWithDefaults() *CreateGroupParams

NewCreateGroupParamsWithDefaults instantiates a new CreateGroupParams 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 (*CreateGroupParams) GetAllowDuplicateGid

func (o *CreateGroupParams) GetAllowDuplicateGid() bool

GetAllowDuplicateGid returns the AllowDuplicateGid field value if set, zero value otherwise.

func (*CreateGroupParams) GetAllowDuplicateGidOk

func (o *CreateGroupParams) GetAllowDuplicateGidOk() (*bool, bool)

GetAllowDuplicateGidOk returns a tuple with the AllowDuplicateGid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetGid

func (o *CreateGroupParams) GetGid() int32

GetGid returns the Gid field value if set, zero value otherwise.

func (*CreateGroupParams) GetGidOk

func (o *CreateGroupParams) GetGidOk() (*int32, bool)

GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetName

func (o *CreateGroupParams) GetName() string

GetName returns the Name field value

func (*CreateGroupParams) GetNameOk

func (o *CreateGroupParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateGroupParams) GetSmb

func (o *CreateGroupParams) GetSmb() bool

GetSmb returns the Smb field value if set, zero value otherwise.

func (*CreateGroupParams) GetSmbOk

func (o *CreateGroupParams) GetSmbOk() (*bool, bool)

GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetSudo

func (o *CreateGroupParams) GetSudo() bool

GetSudo returns the Sudo field value if set, zero value otherwise.

func (*CreateGroupParams) GetSudoCommands

func (o *CreateGroupParams) GetSudoCommands() []string

GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.

func (*CreateGroupParams) GetSudoCommandsOk

func (o *CreateGroupParams) GetSudoCommandsOk() ([]string, bool)

GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetSudoNopasswd

func (o *CreateGroupParams) GetSudoNopasswd() bool

GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.

func (*CreateGroupParams) GetSudoNopasswdOk

func (o *CreateGroupParams) GetSudoNopasswdOk() (*bool, bool)

GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetSudoOk

func (o *CreateGroupParams) GetSudoOk() (*bool, bool)

GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) GetUsers

func (o *CreateGroupParams) GetUsers() []int32

GetUsers returns the Users field value if set, zero value otherwise.

func (*CreateGroupParams) GetUsersOk

func (o *CreateGroupParams) GetUsersOk() ([]int32, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGroupParams) HasAllowDuplicateGid

func (o *CreateGroupParams) HasAllowDuplicateGid() bool

HasAllowDuplicateGid returns a boolean if a field has been set.

func (*CreateGroupParams) HasGid

func (o *CreateGroupParams) HasGid() bool

HasGid returns a boolean if a field has been set.

func (*CreateGroupParams) HasSmb

func (o *CreateGroupParams) HasSmb() bool

HasSmb returns a boolean if a field has been set.

func (*CreateGroupParams) HasSudo

func (o *CreateGroupParams) HasSudo() bool

HasSudo returns a boolean if a field has been set.

func (*CreateGroupParams) HasSudoCommands

func (o *CreateGroupParams) HasSudoCommands() bool

HasSudoCommands returns a boolean if a field has been set.

func (*CreateGroupParams) HasSudoNopasswd

func (o *CreateGroupParams) HasSudoNopasswd() bool

HasSudoNopasswd returns a boolean if a field has been set.

func (*CreateGroupParams) HasUsers

func (o *CreateGroupParams) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (CreateGroupParams) MarshalJSON

func (o CreateGroupParams) MarshalJSON() ([]byte, error)

func (*CreateGroupParams) SetAllowDuplicateGid

func (o *CreateGroupParams) SetAllowDuplicateGid(v bool)

SetAllowDuplicateGid gets a reference to the given bool and assigns it to the AllowDuplicateGid field.

func (*CreateGroupParams) SetGid

func (o *CreateGroupParams) SetGid(v int32)

SetGid gets a reference to the given int32 and assigns it to the Gid field.

func (*CreateGroupParams) SetName

func (o *CreateGroupParams) SetName(v string)

SetName sets field value

func (*CreateGroupParams) SetSmb

func (o *CreateGroupParams) SetSmb(v bool)

SetSmb gets a reference to the given bool and assigns it to the Smb field.

func (*CreateGroupParams) SetSudo

func (o *CreateGroupParams) SetSudo(v bool)

SetSudo gets a reference to the given bool and assigns it to the Sudo field.

func (*CreateGroupParams) SetSudoCommands

func (o *CreateGroupParams) SetSudoCommands(v []string)

SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.

func (*CreateGroupParams) SetSudoNopasswd

func (o *CreateGroupParams) SetSudoNopasswd(v bool)

SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.

func (*CreateGroupParams) SetUsers

func (o *CreateGroupParams) SetUsers(v []int32)

SetUsers gets a reference to the given []int32 and assigns it to the Users field.

func (*CreateGroupParams) UnmarshalJSON

func (o *CreateGroupParams) UnmarshalJSON(bytes []byte) (err error)

type CreateShareNFSParams

type CreateShareNFSParams struct {
	Paths                []string `json:"paths"`
	Comment              *string  `json:"comment,omitempty"`
	Networks             []string `json:"networks,omitempty"`
	Hosts                []string `json:"hosts,omitempty"`
	Alldirs              *bool    `json:"alldirs,omitempty"`
	Ro                   *bool    `json:"ro,omitempty"`
	Quiet                *bool    `json:"quiet,omitempty"`
	MaprootUser          *string  `json:"maproot_user,omitempty"`
	MaprootGroup         *string  `json:"maproot_group,omitempty"`
	MapallUser           *string  `json:"mapall_user,omitempty"`
	MapallGroup          *string  `json:"mapall_group,omitempty"`
	Security             []string `json:"security,omitempty"`
	Enabled              *bool    `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateShareNFSParams struct for CreateShareNFSParams

func NewCreateShareNFSParams

func NewCreateShareNFSParams(paths []string) *CreateShareNFSParams

NewCreateShareNFSParams instantiates a new CreateShareNFSParams 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 NewCreateShareNFSParamsWithDefaults

func NewCreateShareNFSParamsWithDefaults() *CreateShareNFSParams

NewCreateShareNFSParamsWithDefaults instantiates a new CreateShareNFSParams 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 (*CreateShareNFSParams) GetAlldirs

func (o *CreateShareNFSParams) GetAlldirs() bool

GetAlldirs returns the Alldirs field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetAlldirsOk

func (o *CreateShareNFSParams) GetAlldirsOk() (*bool, bool)

GetAlldirsOk returns a tuple with the Alldirs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetComment

func (o *CreateShareNFSParams) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetCommentOk

func (o *CreateShareNFSParams) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetEnabled

func (o *CreateShareNFSParams) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetEnabledOk

func (o *CreateShareNFSParams) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetHosts

func (o *CreateShareNFSParams) GetHosts() []string

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetHostsOk

func (o *CreateShareNFSParams) GetHostsOk() ([]string, bool)

GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetMapallGroup

func (o *CreateShareNFSParams) GetMapallGroup() string

GetMapallGroup returns the MapallGroup field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetMapallGroupOk

func (o *CreateShareNFSParams) GetMapallGroupOk() (*string, bool)

GetMapallGroupOk returns a tuple with the MapallGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetMapallUser

func (o *CreateShareNFSParams) GetMapallUser() string

GetMapallUser returns the MapallUser field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetMapallUserOk

func (o *CreateShareNFSParams) GetMapallUserOk() (*string, bool)

GetMapallUserOk returns a tuple with the MapallUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetMaprootGroup

func (o *CreateShareNFSParams) GetMaprootGroup() string

GetMaprootGroup returns the MaprootGroup field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetMaprootGroupOk

func (o *CreateShareNFSParams) GetMaprootGroupOk() (*string, bool)

GetMaprootGroupOk returns a tuple with the MaprootGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetMaprootUser

func (o *CreateShareNFSParams) GetMaprootUser() string

GetMaprootUser returns the MaprootUser field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetMaprootUserOk

func (o *CreateShareNFSParams) GetMaprootUserOk() (*string, bool)

GetMaprootUserOk returns a tuple with the MaprootUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetNetworks

func (o *CreateShareNFSParams) GetNetworks() []string

GetNetworks returns the Networks field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetNetworksOk

func (o *CreateShareNFSParams) GetNetworksOk() ([]string, bool)

GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetPaths

func (o *CreateShareNFSParams) GetPaths() []string

GetPaths returns the Paths field value

func (*CreateShareNFSParams) GetPathsOk

func (o *CreateShareNFSParams) GetPathsOk() ([]string, bool)

GetPathsOk returns a tuple with the Paths field value and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetQuiet

func (o *CreateShareNFSParams) GetQuiet() bool

GetQuiet returns the Quiet field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetQuietOk

func (o *CreateShareNFSParams) GetQuietOk() (*bool, bool)

GetQuietOk returns a tuple with the Quiet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetRo

func (o *CreateShareNFSParams) GetRo() bool

GetRo returns the Ro field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetRoOk

func (o *CreateShareNFSParams) GetRoOk() (*bool, bool)

GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) GetSecurity

func (o *CreateShareNFSParams) GetSecurity() []string

GetSecurity returns the Security field value if set, zero value otherwise.

func (*CreateShareNFSParams) GetSecurityOk

func (o *CreateShareNFSParams) GetSecurityOk() ([]string, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareNFSParams) HasAlldirs

func (o *CreateShareNFSParams) HasAlldirs() bool

HasAlldirs returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasComment

func (o *CreateShareNFSParams) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasEnabled

func (o *CreateShareNFSParams) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasHosts

func (o *CreateShareNFSParams) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasMapallGroup

func (o *CreateShareNFSParams) HasMapallGroup() bool

HasMapallGroup returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasMapallUser

func (o *CreateShareNFSParams) HasMapallUser() bool

HasMapallUser returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasMaprootGroup

func (o *CreateShareNFSParams) HasMaprootGroup() bool

HasMaprootGroup returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasMaprootUser

func (o *CreateShareNFSParams) HasMaprootUser() bool

HasMaprootUser returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasNetworks

func (o *CreateShareNFSParams) HasNetworks() bool

HasNetworks returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasQuiet

func (o *CreateShareNFSParams) HasQuiet() bool

HasQuiet returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasRo

func (o *CreateShareNFSParams) HasRo() bool

HasRo returns a boolean if a field has been set.

func (*CreateShareNFSParams) HasSecurity

func (o *CreateShareNFSParams) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (CreateShareNFSParams) MarshalJSON

func (o CreateShareNFSParams) MarshalJSON() ([]byte, error)

func (*CreateShareNFSParams) SetAlldirs

func (o *CreateShareNFSParams) SetAlldirs(v bool)

SetAlldirs gets a reference to the given bool and assigns it to the Alldirs field.

func (*CreateShareNFSParams) SetComment

func (o *CreateShareNFSParams) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*CreateShareNFSParams) SetEnabled

func (o *CreateShareNFSParams) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateShareNFSParams) SetHosts

func (o *CreateShareNFSParams) SetHosts(v []string)

SetHosts gets a reference to the given []string and assigns it to the Hosts field.

func (*CreateShareNFSParams) SetMapallGroup

func (o *CreateShareNFSParams) SetMapallGroup(v string)

SetMapallGroup gets a reference to the given string and assigns it to the MapallGroup field.

func (*CreateShareNFSParams) SetMapallUser

func (o *CreateShareNFSParams) SetMapallUser(v string)

SetMapallUser gets a reference to the given string and assigns it to the MapallUser field.

func (*CreateShareNFSParams) SetMaprootGroup

func (o *CreateShareNFSParams) SetMaprootGroup(v string)

SetMaprootGroup gets a reference to the given string and assigns it to the MaprootGroup field.

func (*CreateShareNFSParams) SetMaprootUser

func (o *CreateShareNFSParams) SetMaprootUser(v string)

SetMaprootUser gets a reference to the given string and assigns it to the MaprootUser field.

func (*CreateShareNFSParams) SetNetworks

func (o *CreateShareNFSParams) SetNetworks(v []string)

SetNetworks gets a reference to the given []string and assigns it to the Networks field.

func (*CreateShareNFSParams) SetPaths

func (o *CreateShareNFSParams) SetPaths(v []string)

SetPaths sets field value

func (*CreateShareNFSParams) SetQuiet

func (o *CreateShareNFSParams) SetQuiet(v bool)

SetQuiet gets a reference to the given bool and assigns it to the Quiet field.

func (*CreateShareNFSParams) SetRo

func (o *CreateShareNFSParams) SetRo(v bool)

SetRo gets a reference to the given bool and assigns it to the Ro field.

func (*CreateShareNFSParams) SetSecurity

func (o *CreateShareNFSParams) SetSecurity(v []string)

SetSecurity gets a reference to the given []string and assigns it to the Security field.

func (*CreateShareNFSParams) UnmarshalJSON

func (o *CreateShareNFSParams) UnmarshalJSON(bytes []byte) (err error)

type CreateShareSMBParams

type CreateShareSMBParams struct {
	Purpose              *string  `json:"purpose,omitempty"`
	Path                 string   `json:"path"`
	PathSuffix           *string  `json:"path_suffix,omitempty"`
	Home                 *bool    `json:"home,omitempty"`
	Name                 *string  `json:"name,omitempty"`
	Comment              *string  `json:"comment,omitempty"`
	Ro                   *bool    `json:"ro,omitempty"`
	Browsable            *bool    `json:"browsable,omitempty"`
	Timemachine          *bool    `json:"timemachine,omitempty"`
	Recyclebin           *bool    `json:"recyclebin,omitempty"`
	Guestok              *bool    `json:"guestok,omitempty"`
	Abe                  *bool    `json:"abe,omitempty"`
	Hostsallow           []string `json:"hostsallow,omitempty"`
	Hostsdeny            []string `json:"hostsdeny,omitempty"`
	AaplNameMangling     *bool    `json:"aapl_name_mangling,omitempty"`
	Acl                  *bool    `json:"acl,omitempty"`
	Durablehandle        *bool    `json:"durablehandle,omitempty"`
	Shadowcopy           *bool    `json:"shadowcopy,omitempty"`
	Streams              *bool    `json:"streams,omitempty"`
	Fsrvp                *bool    `json:"fsrvp,omitempty"`
	Auxsmbconf           *string  `json:"auxsmbconf,omitempty"`
	Enabled              *bool    `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateShareSMBParams struct for CreateShareSMBParams

func NewCreateShareSMBParams

func NewCreateShareSMBParams(path string) *CreateShareSMBParams

NewCreateShareSMBParams instantiates a new CreateShareSMBParams 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 NewCreateShareSMBParamsWithDefaults

func NewCreateShareSMBParamsWithDefaults() *CreateShareSMBParams

NewCreateShareSMBParamsWithDefaults instantiates a new CreateShareSMBParams 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 (*CreateShareSMBParams) GetAaplNameMangling

func (o *CreateShareSMBParams) GetAaplNameMangling() bool

GetAaplNameMangling returns the AaplNameMangling field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetAaplNameManglingOk

func (o *CreateShareSMBParams) GetAaplNameManglingOk() (*bool, bool)

GetAaplNameManglingOk returns a tuple with the AaplNameMangling field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetAbe

func (o *CreateShareSMBParams) GetAbe() bool

GetAbe returns the Abe field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetAbeOk

func (o *CreateShareSMBParams) GetAbeOk() (*bool, bool)

GetAbeOk returns a tuple with the Abe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetAcl

func (o *CreateShareSMBParams) GetAcl() bool

GetAcl returns the Acl field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetAclOk

func (o *CreateShareSMBParams) GetAclOk() (*bool, bool)

GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetAuxsmbconf

func (o *CreateShareSMBParams) GetAuxsmbconf() string

GetAuxsmbconf returns the Auxsmbconf field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetAuxsmbconfOk

func (o *CreateShareSMBParams) GetAuxsmbconfOk() (*string, bool)

GetAuxsmbconfOk returns a tuple with the Auxsmbconf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetBrowsable

func (o *CreateShareSMBParams) GetBrowsable() bool

GetBrowsable returns the Browsable field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetBrowsableOk

func (o *CreateShareSMBParams) GetBrowsableOk() (*bool, bool)

GetBrowsableOk returns a tuple with the Browsable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetComment

func (o *CreateShareSMBParams) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetCommentOk

func (o *CreateShareSMBParams) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetDurablehandle

func (o *CreateShareSMBParams) GetDurablehandle() bool

GetDurablehandle returns the Durablehandle field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetDurablehandleOk

func (o *CreateShareSMBParams) GetDurablehandleOk() (*bool, bool)

GetDurablehandleOk returns a tuple with the Durablehandle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetEnabled

func (o *CreateShareSMBParams) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetEnabledOk

func (o *CreateShareSMBParams) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetFsrvp

func (o *CreateShareSMBParams) GetFsrvp() bool

GetFsrvp returns the Fsrvp field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetFsrvpOk

func (o *CreateShareSMBParams) GetFsrvpOk() (*bool, bool)

GetFsrvpOk returns a tuple with the Fsrvp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetGuestok

func (o *CreateShareSMBParams) GetGuestok() bool

GetGuestok returns the Guestok field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetGuestokOk

func (o *CreateShareSMBParams) GetGuestokOk() (*bool, bool)

GetGuestokOk returns a tuple with the Guestok field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetHome

func (o *CreateShareSMBParams) GetHome() bool

GetHome returns the Home field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetHomeOk

func (o *CreateShareSMBParams) GetHomeOk() (*bool, bool)

GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetHostsallow

func (o *CreateShareSMBParams) GetHostsallow() []string

GetHostsallow returns the Hostsallow field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetHostsallowOk

func (o *CreateShareSMBParams) GetHostsallowOk() ([]string, bool)

GetHostsallowOk returns a tuple with the Hostsallow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetHostsdeny

func (o *CreateShareSMBParams) GetHostsdeny() []string

GetHostsdeny returns the Hostsdeny field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetHostsdenyOk

func (o *CreateShareSMBParams) GetHostsdenyOk() ([]string, bool)

GetHostsdenyOk returns a tuple with the Hostsdeny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetName

func (o *CreateShareSMBParams) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetNameOk

func (o *CreateShareSMBParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetPath

func (o *CreateShareSMBParams) GetPath() string

GetPath returns the Path field value

func (*CreateShareSMBParams) GetPathOk

func (o *CreateShareSMBParams) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetPathSuffix

func (o *CreateShareSMBParams) GetPathSuffix() string

GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetPathSuffixOk

func (o *CreateShareSMBParams) GetPathSuffixOk() (*string, bool)

GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetPurpose

func (o *CreateShareSMBParams) GetPurpose() string

GetPurpose returns the Purpose field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetPurposeOk

func (o *CreateShareSMBParams) GetPurposeOk() (*string, bool)

GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetRecyclebin

func (o *CreateShareSMBParams) GetRecyclebin() bool

GetRecyclebin returns the Recyclebin field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetRecyclebinOk

func (o *CreateShareSMBParams) GetRecyclebinOk() (*bool, bool)

GetRecyclebinOk returns a tuple with the Recyclebin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetRo

func (o *CreateShareSMBParams) GetRo() bool

GetRo returns the Ro field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetRoOk

func (o *CreateShareSMBParams) GetRoOk() (*bool, bool)

GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetShadowcopy

func (o *CreateShareSMBParams) GetShadowcopy() bool

GetShadowcopy returns the Shadowcopy field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetShadowcopyOk

func (o *CreateShareSMBParams) GetShadowcopyOk() (*bool, bool)

GetShadowcopyOk returns a tuple with the Shadowcopy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetStreams

func (o *CreateShareSMBParams) GetStreams() bool

GetStreams returns the Streams field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetStreamsOk

func (o *CreateShareSMBParams) GetStreamsOk() (*bool, bool)

GetStreamsOk returns a tuple with the Streams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) GetTimemachine

func (o *CreateShareSMBParams) GetTimemachine() bool

GetTimemachine returns the Timemachine field value if set, zero value otherwise.

func (*CreateShareSMBParams) GetTimemachineOk

func (o *CreateShareSMBParams) GetTimemachineOk() (*bool, bool)

GetTimemachineOk returns a tuple with the Timemachine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateShareSMBParams) HasAaplNameMangling

func (o *CreateShareSMBParams) HasAaplNameMangling() bool

HasAaplNameMangling returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasAbe

func (o *CreateShareSMBParams) HasAbe() bool

HasAbe returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasAcl

func (o *CreateShareSMBParams) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasAuxsmbconf

func (o *CreateShareSMBParams) HasAuxsmbconf() bool

HasAuxsmbconf returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasBrowsable

func (o *CreateShareSMBParams) HasBrowsable() bool

HasBrowsable returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasComment

func (o *CreateShareSMBParams) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasDurablehandle

func (o *CreateShareSMBParams) HasDurablehandle() bool

HasDurablehandle returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasEnabled

func (o *CreateShareSMBParams) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasFsrvp

func (o *CreateShareSMBParams) HasFsrvp() bool

HasFsrvp returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasGuestok

func (o *CreateShareSMBParams) HasGuestok() bool

HasGuestok returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasHome

func (o *CreateShareSMBParams) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasHostsallow

func (o *CreateShareSMBParams) HasHostsallow() bool

HasHostsallow returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasHostsdeny

func (o *CreateShareSMBParams) HasHostsdeny() bool

HasHostsdeny returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasName

func (o *CreateShareSMBParams) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasPathSuffix

func (o *CreateShareSMBParams) HasPathSuffix() bool

HasPathSuffix returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasPurpose

func (o *CreateShareSMBParams) HasPurpose() bool

HasPurpose returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasRecyclebin

func (o *CreateShareSMBParams) HasRecyclebin() bool

HasRecyclebin returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasRo

func (o *CreateShareSMBParams) HasRo() bool

HasRo returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasShadowcopy

func (o *CreateShareSMBParams) HasShadowcopy() bool

HasShadowcopy returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasStreams

func (o *CreateShareSMBParams) HasStreams() bool

HasStreams returns a boolean if a field has been set.

func (*CreateShareSMBParams) HasTimemachine

func (o *CreateShareSMBParams) HasTimemachine() bool

HasTimemachine returns a boolean if a field has been set.

func (CreateShareSMBParams) MarshalJSON

func (o CreateShareSMBParams) MarshalJSON() ([]byte, error)

func (*CreateShareSMBParams) SetAaplNameMangling

func (o *CreateShareSMBParams) SetAaplNameMangling(v bool)

SetAaplNameMangling gets a reference to the given bool and assigns it to the AaplNameMangling field.

func (*CreateShareSMBParams) SetAbe

func (o *CreateShareSMBParams) SetAbe(v bool)

SetAbe gets a reference to the given bool and assigns it to the Abe field.

func (*CreateShareSMBParams) SetAcl

func (o *CreateShareSMBParams) SetAcl(v bool)

SetAcl gets a reference to the given bool and assigns it to the Acl field.

func (*CreateShareSMBParams) SetAuxsmbconf

func (o *CreateShareSMBParams) SetAuxsmbconf(v string)

SetAuxsmbconf gets a reference to the given string and assigns it to the Auxsmbconf field.

func (*CreateShareSMBParams) SetBrowsable

func (o *CreateShareSMBParams) SetBrowsable(v bool)

SetBrowsable gets a reference to the given bool and assigns it to the Browsable field.

func (*CreateShareSMBParams) SetComment

func (o *CreateShareSMBParams) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*CreateShareSMBParams) SetDurablehandle

func (o *CreateShareSMBParams) SetDurablehandle(v bool)

SetDurablehandle gets a reference to the given bool and assigns it to the Durablehandle field.

func (*CreateShareSMBParams) SetEnabled

func (o *CreateShareSMBParams) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateShareSMBParams) SetFsrvp

func (o *CreateShareSMBParams) SetFsrvp(v bool)

SetFsrvp gets a reference to the given bool and assigns it to the Fsrvp field.

func (*CreateShareSMBParams) SetGuestok

func (o *CreateShareSMBParams) SetGuestok(v bool)

SetGuestok gets a reference to the given bool and assigns it to the Guestok field.

func (*CreateShareSMBParams) SetHome

func (o *CreateShareSMBParams) SetHome(v bool)

SetHome gets a reference to the given bool and assigns it to the Home field.

func (*CreateShareSMBParams) SetHostsallow

func (o *CreateShareSMBParams) SetHostsallow(v []string)

SetHostsallow gets a reference to the given []string and assigns it to the Hostsallow field.

func (*CreateShareSMBParams) SetHostsdeny

func (o *CreateShareSMBParams) SetHostsdeny(v []string)

SetHostsdeny gets a reference to the given []string and assigns it to the Hostsdeny field.

func (*CreateShareSMBParams) SetName

func (o *CreateShareSMBParams) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateShareSMBParams) SetPath

func (o *CreateShareSMBParams) SetPath(v string)

SetPath sets field value

func (*CreateShareSMBParams) SetPathSuffix

func (o *CreateShareSMBParams) SetPathSuffix(v string)

SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.

func (*CreateShareSMBParams) SetPurpose

func (o *CreateShareSMBParams) SetPurpose(v string)

SetPurpose gets a reference to the given string and assigns it to the Purpose field.

func (*CreateShareSMBParams) SetRecyclebin

func (o *CreateShareSMBParams) SetRecyclebin(v bool)

SetRecyclebin gets a reference to the given bool and assigns it to the Recyclebin field.

func (*CreateShareSMBParams) SetRo

func (o *CreateShareSMBParams) SetRo(v bool)

SetRo gets a reference to the given bool and assigns it to the Ro field.

func (*CreateShareSMBParams) SetShadowcopy

func (o *CreateShareSMBParams) SetShadowcopy(v bool)

SetShadowcopy gets a reference to the given bool and assigns it to the Shadowcopy field.

func (*CreateShareSMBParams) SetStreams

func (o *CreateShareSMBParams) SetStreams(v bool)

SetStreams gets a reference to the given bool and assigns it to the Streams field.

func (*CreateShareSMBParams) SetTimemachine

func (o *CreateShareSMBParams) SetTimemachine(v bool)

SetTimemachine gets a reference to the given bool and assigns it to the Timemachine field.

func (*CreateShareSMBParams) UnmarshalJSON

func (o *CreateShareSMBParams) UnmarshalJSON(bytes []byte) (err error)

type CreateUserParams

type CreateUserParams struct {
	Uid                  *int32                 `json:"uid,omitempty"`
	Username             string                 `json:"username"`
	Group                *int32                 `json:"group,omitempty"`
	GroupCreate          *bool                  `json:"group_create,omitempty"`
	Home                 *string                `json:"home,omitempty"`
	HomeMode             *string                `json:"home_mode,omitempty"`
	Shell                *string                `json:"shell,omitempty"`
	FullName             string                 `json:"full_name"`
	Email                NullableString         `json:"email,omitempty"`
	Password             *string                `json:"password,omitempty"`
	PasswordDisabled     *bool                  `json:"password_disabled,omitempty"`
	Locked               *bool                  `json:"locked,omitempty"`
	MicrosoftAccount     *bool                  `json:"microsoft_account,omitempty"`
	Smb                  *bool                  `json:"smb,omitempty"`
	Sudo                 *bool                  `json:"sudo,omitempty"`
	SudoNopasswd         *bool                  `json:"sudo_nopasswd,omitempty"`
	SudoCommands         []string               `json:"sudo_commands,omitempty"`
	Sshpubkey            NullableString         `json:"sshpubkey,omitempty"`
	Groups               []int32                `json:"groups,omitempty"`
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateUserParams struct for CreateUserParams

func NewCreateUserParams

func NewCreateUserParams(username string, fullName string) *CreateUserParams

NewCreateUserParams instantiates a new CreateUserParams 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 NewCreateUserParamsWithDefaults

func NewCreateUserParamsWithDefaults() *CreateUserParams

NewCreateUserParamsWithDefaults instantiates a new CreateUserParams 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 (*CreateUserParams) GetAttributes

func (o *CreateUserParams) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*CreateUserParams) GetAttributesOk

func (o *CreateUserParams) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetEmail

func (o *CreateUserParams) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateUserParams) GetEmailOk

func (o *CreateUserParams) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateUserParams) GetFullName

func (o *CreateUserParams) GetFullName() string

GetFullName returns the FullName field value

func (*CreateUserParams) GetFullNameOk

func (o *CreateUserParams) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*CreateUserParams) GetGroup

func (o *CreateUserParams) GetGroup() int32

GetGroup returns the Group field value if set, zero value otherwise.

func (*CreateUserParams) GetGroupCreate

func (o *CreateUserParams) GetGroupCreate() bool

GetGroupCreate returns the GroupCreate field value if set, zero value otherwise.

func (*CreateUserParams) GetGroupCreateOk

func (o *CreateUserParams) GetGroupCreateOk() (*bool, bool)

GetGroupCreateOk returns a tuple with the GroupCreate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetGroupOk

func (o *CreateUserParams) GetGroupOk() (*int32, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetGroups

func (o *CreateUserParams) GetGroups() []int32

GetGroups returns the Groups field value if set, zero value otherwise.

func (*CreateUserParams) GetGroupsOk

func (o *CreateUserParams) GetGroupsOk() ([]int32, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetHome

func (o *CreateUserParams) GetHome() string

GetHome returns the Home field value if set, zero value otherwise.

func (*CreateUserParams) GetHomeMode

func (o *CreateUserParams) GetHomeMode() string

GetHomeMode returns the HomeMode field value if set, zero value otherwise.

func (*CreateUserParams) GetHomeModeOk

func (o *CreateUserParams) GetHomeModeOk() (*string, bool)

GetHomeModeOk returns a tuple with the HomeMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetHomeOk

func (o *CreateUserParams) GetHomeOk() (*string, bool)

GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetLocked

func (o *CreateUserParams) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateUserParams) GetLockedOk

func (o *CreateUserParams) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetMicrosoftAccount

func (o *CreateUserParams) GetMicrosoftAccount() bool

GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.

func (*CreateUserParams) GetMicrosoftAccountOk

func (o *CreateUserParams) GetMicrosoftAccountOk() (*bool, bool)

GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetPassword

func (o *CreateUserParams) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*CreateUserParams) GetPasswordDisabled

func (o *CreateUserParams) GetPasswordDisabled() bool

GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.

func (*CreateUserParams) GetPasswordDisabledOk

func (o *CreateUserParams) GetPasswordDisabledOk() (*bool, bool)

GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetPasswordOk

func (o *CreateUserParams) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetShell

func (o *CreateUserParams) GetShell() string

GetShell returns the Shell field value if set, zero value otherwise.

func (*CreateUserParams) GetShellOk

func (o *CreateUserParams) GetShellOk() (*string, bool)

GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetSmb

func (o *CreateUserParams) GetSmb() bool

GetSmb returns the Smb field value if set, zero value otherwise.

func (*CreateUserParams) GetSmbOk

func (o *CreateUserParams) GetSmbOk() (*bool, bool)

GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetSshpubkey

func (o *CreateUserParams) GetSshpubkey() string

GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateUserParams) GetSshpubkeyOk

func (o *CreateUserParams) GetSshpubkeyOk() (*string, bool)

GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateUserParams) GetSudo

func (o *CreateUserParams) GetSudo() bool

GetSudo returns the Sudo field value if set, zero value otherwise.

func (*CreateUserParams) GetSudoCommands

func (o *CreateUserParams) GetSudoCommands() []string

GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.

func (*CreateUserParams) GetSudoCommandsOk

func (o *CreateUserParams) GetSudoCommandsOk() ([]string, bool)

GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetSudoNopasswd

func (o *CreateUserParams) GetSudoNopasswd() bool

GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.

func (*CreateUserParams) GetSudoNopasswdOk

func (o *CreateUserParams) GetSudoNopasswdOk() (*bool, bool)

GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetSudoOk

func (o *CreateUserParams) GetSudoOk() (*bool, bool)

GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetUid

func (o *CreateUserParams) GetUid() int32

GetUid returns the Uid field value if set, zero value otherwise.

func (*CreateUserParams) GetUidOk

func (o *CreateUserParams) GetUidOk() (*int32, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateUserParams) GetUsername

func (o *CreateUserParams) GetUsername() string

GetUsername returns the Username field value

func (*CreateUserParams) GetUsernameOk

func (o *CreateUserParams) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*CreateUserParams) HasAttributes

func (o *CreateUserParams) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CreateUserParams) HasEmail

func (o *CreateUserParams) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CreateUserParams) HasGroup

func (o *CreateUserParams) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*CreateUserParams) HasGroupCreate

func (o *CreateUserParams) HasGroupCreate() bool

HasGroupCreate returns a boolean if a field has been set.

func (*CreateUserParams) HasGroups

func (o *CreateUserParams) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*CreateUserParams) HasHome

func (o *CreateUserParams) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*CreateUserParams) HasHomeMode

func (o *CreateUserParams) HasHomeMode() bool

HasHomeMode returns a boolean if a field has been set.

func (*CreateUserParams) HasLocked

func (o *CreateUserParams) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*CreateUserParams) HasMicrosoftAccount

func (o *CreateUserParams) HasMicrosoftAccount() bool

HasMicrosoftAccount returns a boolean if a field has been set.

func (*CreateUserParams) HasPassword

func (o *CreateUserParams) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*CreateUserParams) HasPasswordDisabled

func (o *CreateUserParams) HasPasswordDisabled() bool

HasPasswordDisabled returns a boolean if a field has been set.

func (*CreateUserParams) HasShell

func (o *CreateUserParams) HasShell() bool

HasShell returns a boolean if a field has been set.

func (*CreateUserParams) HasSmb

func (o *CreateUserParams) HasSmb() bool

HasSmb returns a boolean if a field has been set.

func (*CreateUserParams) HasSshpubkey

func (o *CreateUserParams) HasSshpubkey() bool

HasSshpubkey returns a boolean if a field has been set.

func (*CreateUserParams) HasSudo

func (o *CreateUserParams) HasSudo() bool

HasSudo returns a boolean if a field has been set.

func (*CreateUserParams) HasSudoCommands

func (o *CreateUserParams) HasSudoCommands() bool

HasSudoCommands returns a boolean if a field has been set.

func (*CreateUserParams) HasSudoNopasswd

func (o *CreateUserParams) HasSudoNopasswd() bool

HasSudoNopasswd returns a boolean if a field has been set.

func (*CreateUserParams) HasUid

func (o *CreateUserParams) HasUid() bool

HasUid returns a boolean if a field has been set.

func (CreateUserParams) MarshalJSON

func (o CreateUserParams) MarshalJSON() ([]byte, error)

func (*CreateUserParams) SetAttributes

func (o *CreateUserParams) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*CreateUserParams) SetEmail

func (o *CreateUserParams) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*CreateUserParams) SetEmailNil

func (o *CreateUserParams) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*CreateUserParams) SetFullName

func (o *CreateUserParams) SetFullName(v string)

SetFullName sets field value

func (*CreateUserParams) SetGroup

func (o *CreateUserParams) SetGroup(v int32)

SetGroup gets a reference to the given int32 and assigns it to the Group field.

func (*CreateUserParams) SetGroupCreate

func (o *CreateUserParams) SetGroupCreate(v bool)

SetGroupCreate gets a reference to the given bool and assigns it to the GroupCreate field.

func (*CreateUserParams) SetGroups

func (o *CreateUserParams) SetGroups(v []int32)

SetGroups gets a reference to the given []int32 and assigns it to the Groups field.

func (*CreateUserParams) SetHome

func (o *CreateUserParams) SetHome(v string)

SetHome gets a reference to the given string and assigns it to the Home field.

func (*CreateUserParams) SetHomeMode

func (o *CreateUserParams) SetHomeMode(v string)

SetHomeMode gets a reference to the given string and assigns it to the HomeMode field.

func (*CreateUserParams) SetLocked

func (o *CreateUserParams) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateUserParams) SetMicrosoftAccount

func (o *CreateUserParams) SetMicrosoftAccount(v bool)

SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.

func (*CreateUserParams) SetPassword

func (o *CreateUserParams) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*CreateUserParams) SetPasswordDisabled

func (o *CreateUserParams) SetPasswordDisabled(v bool)

SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.

func (*CreateUserParams) SetShell

func (o *CreateUserParams) SetShell(v string)

SetShell gets a reference to the given string and assigns it to the Shell field.

func (*CreateUserParams) SetSmb

func (o *CreateUserParams) SetSmb(v bool)

SetSmb gets a reference to the given bool and assigns it to the Smb field.

func (*CreateUserParams) SetSshpubkey

func (o *CreateUserParams) SetSshpubkey(v string)

SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.

func (*CreateUserParams) SetSshpubkeyNil

func (o *CreateUserParams) SetSshpubkeyNil()

SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil

func (*CreateUserParams) SetSudo

func (o *CreateUserParams) SetSudo(v bool)

SetSudo gets a reference to the given bool and assigns it to the Sudo field.

func (*CreateUserParams) SetSudoCommands

func (o *CreateUserParams) SetSudoCommands(v []string)

SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.

func (*CreateUserParams) SetSudoNopasswd

func (o *CreateUserParams) SetSudoNopasswd(v bool)

SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.

func (*CreateUserParams) SetUid

func (o *CreateUserParams) SetUid(v int32)

SetUid gets a reference to the given int32 and assigns it to the Uid field.

func (*CreateUserParams) SetUsername

func (o *CreateUserParams) SetUsername(v string)

SetUsername sets field value

func (*CreateUserParams) UnmarshalJSON

func (o *CreateUserParams) UnmarshalJSON(bytes []byte) (err error)

func (*CreateUserParams) UnsetEmail

func (o *CreateUserParams) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*CreateUserParams) UnsetSshpubkey

func (o *CreateUserParams) UnsetSshpubkey()

UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil

type CreateVMParams

type CreateVMParams struct {
	CommandLineArgs *string        `json:"command_line_args,omitempty"`
	CpuMode         *string        `json:"cpu_mode,omitempty"`
	CpuModel        NullableString `json:"cpu_model,omitempty"`
	Name            *string        `json:"name,omitempty"`
	Description     *string        `json:"description,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Vcpus *int32 `json:"vcpus,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Cores *int32 `json:"cores,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Threads           *int32         `json:"threads,omitempty"`
	Cpuset            NullableString `json:"cpuset,omitempty"`
	Nodeset           NullableString `json:"nodeset,omitempty"`
	PinVcpus          *bool          `json:"pin_vcpus,omitempty"`
	SuspendOnSnapshot *bool          `json:"suspend_on_snapshot,omitempty"`
	Memory            *int64         `json:"memory,omitempty"`
	MinMemory         NullableInt64  `json:"min_memory,omitempty"`
	// `hyperv_enlightenments` can be used to enable subset of predefined Hyper-V enlightenments for Windows guests. These enlightenments improve performance and enable otherwise missing features.
	HypervEnlightenments *bool   `json:"hyperv_enlightenments,omitempty"`
	Bootloader           *string `json:"bootloader,omitempty"`
	Autostart            *bool   `json:"autostart,omitempty"`
	// `hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough.
	HideFromMsr *bool `json:"hide_from_msr,omitempty"`
	// `ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`.
	EnsureDisplayDevice *bool   `json:"ensure_display_device,omitempty"`
	Time                *string `json:"time,omitempty"`
	// `shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it.
	ShutdownTimeout *int32 `json:"shutdown_timeout,omitempty"`
	// `arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host. `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.
	ArchType NullableString `json:"arch_type,omitempty"`
	// `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.
	MachineType NullableString `json:"machine_type,omitempty"`
	Uuid        NullableString `json:"uuid,omitempty"`
}

CreateVMParams struct for CreateVMParams

func NewCreateVMParams

func NewCreateVMParams() *CreateVMParams

NewCreateVMParams instantiates a new CreateVMParams 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 NewCreateVMParamsWithDefaults

func NewCreateVMParamsWithDefaults() *CreateVMParams

NewCreateVMParamsWithDefaults instantiates a new CreateVMParams 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 (*CreateVMParams) GetArchType

func (o *CreateVMParams) GetArchType() string

GetArchType returns the ArchType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetArchTypeOk

func (o *CreateVMParams) GetArchTypeOk() (*string, bool)

GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetAutostart

func (o *CreateVMParams) GetAutostart() bool

GetAutostart returns the Autostart field value if set, zero value otherwise.

func (*CreateVMParams) GetAutostartOk

func (o *CreateVMParams) GetAutostartOk() (*bool, bool)

GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetBootloader

func (o *CreateVMParams) GetBootloader() string

GetBootloader returns the Bootloader field value if set, zero value otherwise.

func (*CreateVMParams) GetBootloaderOk

func (o *CreateVMParams) GetBootloaderOk() (*string, bool)

GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetCommandLineArgs

func (o *CreateVMParams) GetCommandLineArgs() string

GetCommandLineArgs returns the CommandLineArgs field value if set, zero value otherwise.

func (*CreateVMParams) GetCommandLineArgsOk

func (o *CreateVMParams) GetCommandLineArgsOk() (*string, bool)

GetCommandLineArgsOk returns a tuple with the CommandLineArgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetCores

func (o *CreateVMParams) GetCores() int32

GetCores returns the Cores field value if set, zero value otherwise.

func (*CreateVMParams) GetCoresOk

func (o *CreateVMParams) GetCoresOk() (*int32, bool)

GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetCpuMode

func (o *CreateVMParams) GetCpuMode() string

GetCpuMode returns the CpuMode field value if set, zero value otherwise.

func (*CreateVMParams) GetCpuModeOk

func (o *CreateVMParams) GetCpuModeOk() (*string, bool)

GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetCpuModel

func (o *CreateVMParams) GetCpuModel() string

GetCpuModel returns the CpuModel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetCpuModelOk

func (o *CreateVMParams) GetCpuModelOk() (*string, bool)

GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetCpuset

func (o *CreateVMParams) GetCpuset() string

GetCpuset returns the Cpuset field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetCpusetOk

func (o *CreateVMParams) GetCpusetOk() (*string, bool)

GetCpusetOk returns a tuple with the Cpuset field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetDescription

func (o *CreateVMParams) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateVMParams) GetDescriptionOk

func (o *CreateVMParams) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetEnsureDisplayDevice

func (o *CreateVMParams) GetEnsureDisplayDevice() bool

GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.

func (*CreateVMParams) GetEnsureDisplayDeviceOk

func (o *CreateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)

GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetHideFromMsr

func (o *CreateVMParams) GetHideFromMsr() bool

GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.

func (*CreateVMParams) GetHideFromMsrOk

func (o *CreateVMParams) GetHideFromMsrOk() (*bool, bool)

GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetHypervEnlightenments

func (o *CreateVMParams) GetHypervEnlightenments() bool

GetHypervEnlightenments returns the HypervEnlightenments field value if set, zero value otherwise.

func (*CreateVMParams) GetHypervEnlightenmentsOk

func (o *CreateVMParams) GetHypervEnlightenmentsOk() (*bool, bool)

GetHypervEnlightenmentsOk returns a tuple with the HypervEnlightenments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetMachineType

func (o *CreateVMParams) GetMachineType() string

GetMachineType returns the MachineType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetMachineTypeOk

func (o *CreateVMParams) GetMachineTypeOk() (*string, bool)

GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetMemory

func (o *CreateVMParams) GetMemory() int64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*CreateVMParams) GetMemoryOk

func (o *CreateVMParams) GetMemoryOk() (*int64, bool)

GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetMinMemory

func (o *CreateVMParams) GetMinMemory() int64

GetMinMemory returns the MinMemory field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetMinMemoryOk

func (o *CreateVMParams) GetMinMemoryOk() (*int64, bool)

GetMinMemoryOk returns a tuple with the MinMemory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetName

func (o *CreateVMParams) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateVMParams) GetNameOk

func (o *CreateVMParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetNodeset

func (o *CreateVMParams) GetNodeset() string

GetNodeset returns the Nodeset field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetNodesetOk

func (o *CreateVMParams) GetNodesetOk() (*string, bool)

GetNodesetOk returns a tuple with the Nodeset field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetPinVcpus

func (o *CreateVMParams) GetPinVcpus() bool

GetPinVcpus returns the PinVcpus field value if set, zero value otherwise.

func (*CreateVMParams) GetPinVcpusOk

func (o *CreateVMParams) GetPinVcpusOk() (*bool, bool)

GetPinVcpusOk returns a tuple with the PinVcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetShutdownTimeout

func (o *CreateVMParams) GetShutdownTimeout() int32

GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.

func (*CreateVMParams) GetShutdownTimeoutOk

func (o *CreateVMParams) GetShutdownTimeoutOk() (*int32, bool)

GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetSuspendOnSnapshot

func (o *CreateVMParams) GetSuspendOnSnapshot() bool

GetSuspendOnSnapshot returns the SuspendOnSnapshot field value if set, zero value otherwise.

func (*CreateVMParams) GetSuspendOnSnapshotOk

func (o *CreateVMParams) GetSuspendOnSnapshotOk() (*bool, bool)

GetSuspendOnSnapshotOk returns a tuple with the SuspendOnSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetThreads

func (o *CreateVMParams) GetThreads() int32

GetThreads returns the Threads field value if set, zero value otherwise.

func (*CreateVMParams) GetThreadsOk

func (o *CreateVMParams) GetThreadsOk() (*int32, bool)

GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetTime

func (o *CreateVMParams) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*CreateVMParams) GetTimeOk

func (o *CreateVMParams) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) GetUuid

func (o *CreateVMParams) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateVMParams) GetUuidOk

func (o *CreateVMParams) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateVMParams) GetVcpus

func (o *CreateVMParams) GetVcpus() int32

GetVcpus returns the Vcpus field value if set, zero value otherwise.

func (*CreateVMParams) GetVcpusOk

func (o *CreateVMParams) GetVcpusOk() (*int32, bool)

GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVMParams) HasArchType

func (o *CreateVMParams) HasArchType() bool

HasArchType returns a boolean if a field has been set.

func (*CreateVMParams) HasAutostart

func (o *CreateVMParams) HasAutostart() bool

HasAutostart returns a boolean if a field has been set.

func (*CreateVMParams) HasBootloader

func (o *CreateVMParams) HasBootloader() bool

HasBootloader returns a boolean if a field has been set.

func (*CreateVMParams) HasCommandLineArgs

func (o *CreateVMParams) HasCommandLineArgs() bool

HasCommandLineArgs returns a boolean if a field has been set.

func (*CreateVMParams) HasCores

func (o *CreateVMParams) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*CreateVMParams) HasCpuMode

func (o *CreateVMParams) HasCpuMode() bool

HasCpuMode returns a boolean if a field has been set.

func (*CreateVMParams) HasCpuModel

func (o *CreateVMParams) HasCpuModel() bool

HasCpuModel returns a boolean if a field has been set.

func (*CreateVMParams) HasCpuset

func (o *CreateVMParams) HasCpuset() bool

HasCpuset returns a boolean if a field has been set.

func (*CreateVMParams) HasDescription

func (o *CreateVMParams) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVMParams) HasEnsureDisplayDevice

func (o *CreateVMParams) HasEnsureDisplayDevice() bool

HasEnsureDisplayDevice returns a boolean if a field has been set.

func (*CreateVMParams) HasHideFromMsr

func (o *CreateVMParams) HasHideFromMsr() bool

HasHideFromMsr returns a boolean if a field has been set.

func (*CreateVMParams) HasHypervEnlightenments

func (o *CreateVMParams) HasHypervEnlightenments() bool

HasHypervEnlightenments returns a boolean if a field has been set.

func (*CreateVMParams) HasMachineType

func (o *CreateVMParams) HasMachineType() bool

HasMachineType returns a boolean if a field has been set.

func (*CreateVMParams) HasMemory

func (o *CreateVMParams) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*CreateVMParams) HasMinMemory

func (o *CreateVMParams) HasMinMemory() bool

HasMinMemory returns a boolean if a field has been set.

func (*CreateVMParams) HasName

func (o *CreateVMParams) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateVMParams) HasNodeset

func (o *CreateVMParams) HasNodeset() bool

HasNodeset returns a boolean if a field has been set.

func (*CreateVMParams) HasPinVcpus

func (o *CreateVMParams) HasPinVcpus() bool

HasPinVcpus returns a boolean if a field has been set.

func (*CreateVMParams) HasShutdownTimeout

func (o *CreateVMParams) HasShutdownTimeout() bool

HasShutdownTimeout returns a boolean if a field has been set.

func (*CreateVMParams) HasSuspendOnSnapshot

func (o *CreateVMParams) HasSuspendOnSnapshot() bool

HasSuspendOnSnapshot returns a boolean if a field has been set.

func (*CreateVMParams) HasThreads

func (o *CreateVMParams) HasThreads() bool

HasThreads returns a boolean if a field has been set.

func (*CreateVMParams) HasTime

func (o *CreateVMParams) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*CreateVMParams) HasUuid

func (o *CreateVMParams) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*CreateVMParams) HasVcpus

func (o *CreateVMParams) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

func (CreateVMParams) MarshalJSON

func (o CreateVMParams) MarshalJSON() ([]byte, error)

func (*CreateVMParams) SetArchType

func (o *CreateVMParams) SetArchType(v string)

SetArchType gets a reference to the given NullableString and assigns it to the ArchType field.

func (*CreateVMParams) SetArchTypeNil

func (o *CreateVMParams) SetArchTypeNil()

SetArchTypeNil sets the value for ArchType to be an explicit nil

func (*CreateVMParams) SetAutostart

func (o *CreateVMParams) SetAutostart(v bool)

SetAutostart gets a reference to the given bool and assigns it to the Autostart field.

func (*CreateVMParams) SetBootloader

func (o *CreateVMParams) SetBootloader(v string)

SetBootloader gets a reference to the given string and assigns it to the Bootloader field.

func (*CreateVMParams) SetCommandLineArgs

func (o *CreateVMParams) SetCommandLineArgs(v string)

SetCommandLineArgs gets a reference to the given string and assigns it to the CommandLineArgs field.

func (*CreateVMParams) SetCores

func (o *CreateVMParams) SetCores(v int32)

SetCores gets a reference to the given int32 and assigns it to the Cores field.

func (*CreateVMParams) SetCpuMode

func (o *CreateVMParams) SetCpuMode(v string)

SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.

func (*CreateVMParams) SetCpuModel

func (o *CreateVMParams) SetCpuModel(v string)

SetCpuModel gets a reference to the given NullableString and assigns it to the CpuModel field.

func (*CreateVMParams) SetCpuModelNil

func (o *CreateVMParams) SetCpuModelNil()

SetCpuModelNil sets the value for CpuModel to be an explicit nil

func (*CreateVMParams) SetCpuset

func (o *CreateVMParams) SetCpuset(v string)

SetCpuset gets a reference to the given NullableString and assigns it to the Cpuset field.

func (*CreateVMParams) SetCpusetNil

func (o *CreateVMParams) SetCpusetNil()

SetCpusetNil sets the value for Cpuset to be an explicit nil

func (*CreateVMParams) SetDescription

func (o *CreateVMParams) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateVMParams) SetEnsureDisplayDevice

func (o *CreateVMParams) SetEnsureDisplayDevice(v bool)

SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.

func (*CreateVMParams) SetHideFromMsr

func (o *CreateVMParams) SetHideFromMsr(v bool)

SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.

func (*CreateVMParams) SetHypervEnlightenments

func (o *CreateVMParams) SetHypervEnlightenments(v bool)

SetHypervEnlightenments gets a reference to the given bool and assigns it to the HypervEnlightenments field.

func (*CreateVMParams) SetMachineType

func (o *CreateVMParams) SetMachineType(v string)

SetMachineType gets a reference to the given NullableString and assigns it to the MachineType field.

func (*CreateVMParams) SetMachineTypeNil

func (o *CreateVMParams) SetMachineTypeNil()

SetMachineTypeNil sets the value for MachineType to be an explicit nil

func (*CreateVMParams) SetMemory

func (o *CreateVMParams) SetMemory(v int64)

SetMemory gets a reference to the given int64 and assigns it to the Memory field.

func (*CreateVMParams) SetMinMemory

func (o *CreateVMParams) SetMinMemory(v int64)

SetMinMemory gets a reference to the given NullableInt64 and assigns it to the MinMemory field.

func (*CreateVMParams) SetMinMemoryNil

func (o *CreateVMParams) SetMinMemoryNil()

SetMinMemoryNil sets the value for MinMemory to be an explicit nil

func (*CreateVMParams) SetName

func (o *CreateVMParams) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateVMParams) SetNodeset

func (o *CreateVMParams) SetNodeset(v string)

SetNodeset gets a reference to the given NullableString and assigns it to the Nodeset field.

func (*CreateVMParams) SetNodesetNil

func (o *CreateVMParams) SetNodesetNil()

SetNodesetNil sets the value for Nodeset to be an explicit nil

func (*CreateVMParams) SetPinVcpus

func (o *CreateVMParams) SetPinVcpus(v bool)

SetPinVcpus gets a reference to the given bool and assigns it to the PinVcpus field.

func (*CreateVMParams) SetShutdownTimeout

func (o *CreateVMParams) SetShutdownTimeout(v int32)

SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.

func (*CreateVMParams) SetSuspendOnSnapshot

func (o *CreateVMParams) SetSuspendOnSnapshot(v bool)

SetSuspendOnSnapshot gets a reference to the given bool and assigns it to the SuspendOnSnapshot field.

func (*CreateVMParams) SetThreads

func (o *CreateVMParams) SetThreads(v int32)

SetThreads gets a reference to the given int32 and assigns it to the Threads field.

func (*CreateVMParams) SetTime

func (o *CreateVMParams) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*CreateVMParams) SetUuid

func (o *CreateVMParams) SetUuid(v string)

SetUuid gets a reference to the given NullableString and assigns it to the Uuid field.

func (*CreateVMParams) SetUuidNil

func (o *CreateVMParams) SetUuidNil()

SetUuidNil sets the value for Uuid to be an explicit nil

func (*CreateVMParams) SetVcpus

func (o *CreateVMParams) SetVcpus(v int32)

SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.

func (*CreateVMParams) UnsetArchType

func (o *CreateVMParams) UnsetArchType()

UnsetArchType ensures that no value is present for ArchType, not even an explicit nil

func (*CreateVMParams) UnsetCpuModel

func (o *CreateVMParams) UnsetCpuModel()

UnsetCpuModel ensures that no value is present for CpuModel, not even an explicit nil

func (*CreateVMParams) UnsetCpuset

func (o *CreateVMParams) UnsetCpuset()

UnsetCpuset ensures that no value is present for Cpuset, not even an explicit nil

func (*CreateVMParams) UnsetMachineType

func (o *CreateVMParams) UnsetMachineType()

UnsetMachineType ensures that no value is present for MachineType, not even an explicit nil

func (*CreateVMParams) UnsetMinMemory

func (o *CreateVMParams) UnsetMinMemory()

UnsetMinMemory ensures that no value is present for MinMemory, not even an explicit nil

func (*CreateVMParams) UnsetNodeset

func (o *CreateVMParams) UnsetNodeset()

UnsetNodeset ensures that no value is present for Nodeset, not even an explicit nil

func (*CreateVMParams) UnsetUuid

func (o *CreateVMParams) UnsetUuid()

UnsetUuid ensures that no value is present for Uuid, not even an explicit nil

type CronJob

type CronJob struct {
	Id                   *int32           `json:"id,omitempty"`
	User                 *string          `json:"user,omitempty"`
	Command              *string          `json:"command,omitempty"`
	Description          *string          `json:"description,omitempty"`
	Enabled              *bool            `json:"enabled,omitempty"`
	Stdout               *bool            `json:"stdout,omitempty"`
	Stderr               *bool            `json:"stderr,omitempty"`
	Schedule             *CronJobSchedule `json:"schedule,omitempty"`
	AdditionalProperties map[string]interface{}
}

CronJob struct for CronJob

func NewCronJob

func NewCronJob() *CronJob

NewCronJob instantiates a new CronJob 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 NewCronJobWithDefaults

func NewCronJobWithDefaults() *CronJob

NewCronJobWithDefaults instantiates a new CronJob 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 (*CronJob) GetCommand

func (o *CronJob) GetCommand() string

GetCommand returns the Command field value if set, zero value otherwise.

func (*CronJob) GetCommandOk

func (o *CronJob) GetCommandOk() (*string, bool)

GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetDescription

func (o *CronJob) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CronJob) GetDescriptionOk

func (o *CronJob) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetEnabled

func (o *CronJob) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CronJob) GetEnabledOk

func (o *CronJob) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetId

func (o *CronJob) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*CronJob) GetIdOk

func (o *CronJob) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetSchedule

func (o *CronJob) GetSchedule() CronJobSchedule

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*CronJob) GetScheduleOk

func (o *CronJob) GetScheduleOk() (*CronJobSchedule, bool)

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetStderr

func (o *CronJob) GetStderr() bool

GetStderr returns the Stderr field value if set, zero value otherwise.

func (*CronJob) GetStderrOk

func (o *CronJob) GetStderrOk() (*bool, bool)

GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetStdout

func (o *CronJob) GetStdout() bool

GetStdout returns the Stdout field value if set, zero value otherwise.

func (*CronJob) GetStdoutOk

func (o *CronJob) GetStdoutOk() (*bool, bool)

GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) GetUser

func (o *CronJob) GetUser() string

GetUser returns the User field value if set, zero value otherwise.

func (*CronJob) GetUserOk

func (o *CronJob) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJob) HasCommand

func (o *CronJob) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*CronJob) HasDescription

func (o *CronJob) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CronJob) HasEnabled

func (o *CronJob) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CronJob) HasId

func (o *CronJob) HasId() bool

HasId returns a boolean if a field has been set.

func (*CronJob) HasSchedule

func (o *CronJob) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*CronJob) HasStderr

func (o *CronJob) HasStderr() bool

HasStderr returns a boolean if a field has been set.

func (*CronJob) HasStdout

func (o *CronJob) HasStdout() bool

HasStdout returns a boolean if a field has been set.

func (*CronJob) HasUser

func (o *CronJob) HasUser() bool

HasUser returns a boolean if a field has been set.

func (CronJob) MarshalJSON

func (o CronJob) MarshalJSON() ([]byte, error)

func (*CronJob) SetCommand

func (o *CronJob) SetCommand(v string)

SetCommand gets a reference to the given string and assigns it to the Command field.

func (*CronJob) SetDescription

func (o *CronJob) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CronJob) SetEnabled

func (o *CronJob) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CronJob) SetId

func (o *CronJob) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*CronJob) SetSchedule

func (o *CronJob) SetSchedule(v CronJobSchedule)

SetSchedule gets a reference to the given CronJobSchedule and assigns it to the Schedule field.

func (*CronJob) SetStderr

func (o *CronJob) SetStderr(v bool)

SetStderr gets a reference to the given bool and assigns it to the Stderr field.

func (*CronJob) SetStdout

func (o *CronJob) SetStdout(v bool)

SetStdout gets a reference to the given bool and assigns it to the Stdout field.

func (*CronJob) SetUser

func (o *CronJob) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*CronJob) UnmarshalJSON

func (o *CronJob) UnmarshalJSON(bytes []byte) (err error)

type CronJobSchedule

type CronJobSchedule struct {
	Minute               *string `json:"minute,omitempty"`
	Hour                 *string `json:"hour,omitempty"`
	Dom                  *string `json:"dom,omitempty"`
	Month                *string `json:"month,omitempty"`
	Dow                  *string `json:"dow,omitempty"`
	AdditionalProperties map[string]interface{}
}

CronJobSchedule struct for CronJobSchedule

func NewCronJobSchedule

func NewCronJobSchedule() *CronJobSchedule

NewCronJobSchedule instantiates a new CronJobSchedule 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 NewCronJobScheduleWithDefaults

func NewCronJobScheduleWithDefaults() *CronJobSchedule

NewCronJobScheduleWithDefaults instantiates a new CronJobSchedule 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 (*CronJobSchedule) GetDom

func (o *CronJobSchedule) GetDom() string

GetDom returns the Dom field value if set, zero value otherwise.

func (*CronJobSchedule) GetDomOk

func (o *CronJobSchedule) GetDomOk() (*string, bool)

GetDomOk returns a tuple with the Dom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJobSchedule) GetDow

func (o *CronJobSchedule) GetDow() string

GetDow returns the Dow field value if set, zero value otherwise.

func (*CronJobSchedule) GetDowOk

func (o *CronJobSchedule) GetDowOk() (*string, bool)

GetDowOk returns a tuple with the Dow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJobSchedule) GetHour

func (o *CronJobSchedule) GetHour() string

GetHour returns the Hour field value if set, zero value otherwise.

func (*CronJobSchedule) GetHourOk

func (o *CronJobSchedule) GetHourOk() (*string, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJobSchedule) GetMinute

func (o *CronJobSchedule) GetMinute() string

GetMinute returns the Minute field value if set, zero value otherwise.

func (*CronJobSchedule) GetMinuteOk

func (o *CronJobSchedule) GetMinuteOk() (*string, bool)

GetMinuteOk returns a tuple with the Minute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJobSchedule) GetMonth

func (o *CronJobSchedule) GetMonth() string

GetMonth returns the Month field value if set, zero value otherwise.

func (*CronJobSchedule) GetMonthOk

func (o *CronJobSchedule) GetMonthOk() (*string, bool)

GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CronJobSchedule) HasDom

func (o *CronJobSchedule) HasDom() bool

HasDom returns a boolean if a field has been set.

func (*CronJobSchedule) HasDow

func (o *CronJobSchedule) HasDow() bool

HasDow returns a boolean if a field has been set.

func (*CronJobSchedule) HasHour

func (o *CronJobSchedule) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*CronJobSchedule) HasMinute

func (o *CronJobSchedule) HasMinute() bool

HasMinute returns a boolean if a field has been set.

func (*CronJobSchedule) HasMonth

func (o *CronJobSchedule) HasMonth() bool

HasMonth returns a boolean if a field has been set.

func (CronJobSchedule) MarshalJSON

func (o CronJobSchedule) MarshalJSON() ([]byte, error)

func (*CronJobSchedule) SetDom

func (o *CronJobSchedule) SetDom(v string)

SetDom gets a reference to the given string and assigns it to the Dom field.

func (*CronJobSchedule) SetDow

func (o *CronJobSchedule) SetDow(v string)

SetDow gets a reference to the given string and assigns it to the Dow field.

func (*CronJobSchedule) SetHour

func (o *CronJobSchedule) SetHour(v string)

SetHour gets a reference to the given string and assigns it to the Hour field.

func (*CronJobSchedule) SetMinute

func (o *CronJobSchedule) SetMinute(v string)

SetMinute gets a reference to the given string and assigns it to the Minute field.

func (*CronJobSchedule) SetMonth

func (o *CronJobSchedule) SetMonth(v string)

SetMonth gets a reference to the given string and assigns it to the Month field.

func (*CronJobSchedule) UnmarshalJSON

func (o *CronJobSchedule) UnmarshalJSON(bytes []byte) (err error)

type CronjobApiService

type CronjobApiService service

CronjobApiService CronjobApi service

func (*CronjobApiService) CreateCronJob

CreateCronJob Method for CreateCronJob

Create a new cron job. `stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress standard error / standard output respectively.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCronJobRequest

func (*CronjobApiService) CreateCronJobExecute

func (a *CronjobApiService) CreateCronJobExecute(r ApiCreateCronJobRequest) (*CronJob, *http.Response, error)

Execute executes the request

@return CronJob

func (*CronjobApiService) DeleteCronJob

DeleteCronJob Method for DeleteCronJob

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID of the cronjob
@return ApiDeleteCronJobRequest

func (*CronjobApiService) DeleteCronJobExecute

func (a *CronjobApiService) DeleteCronJobExecute(r ApiDeleteCronJobRequest) (*http.Response, error)

Execute executes the request

func (*CronjobApiService) GetCronJob

GetCronJob Method for GetCronJob

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID of the cronjob
@return ApiGetCronJobRequest

func (*CronjobApiService) GetCronJobExecute

func (a *CronjobApiService) GetCronJobExecute(r ApiGetCronJobRequest) (*CronJob, *http.Response, error)

Execute executes the request

@return CronJob

func (*CronjobApiService) UpdateCronJob

UpdateCronJob Method for UpdateCronJob

Update cronjob

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateCronJobRequest

func (*CronjobApiService) UpdateCronJobExecute

func (a *CronjobApiService) UpdateCronJobExecute(r ApiUpdateCronJobRequest) (*CronJob, *http.Response, error)

Execute executes the request

@return CronJob

type Dataset

type Dataset struct {
	Id                   string          `json:"id"`
	Name                 string          `json:"name"`
	Pool                 string          `json:"pool"`
	Type                 string          `json:"type"`
	Mountpoint           *string         `json:"mountpoint,omitempty"`
	Encrypted            *bool           `json:"encrypted,omitempty"`
	EncryptionRoot       *string         `json:"encryption_root,omitempty"`
	KeyLoaded            *bool           `json:"key_loaded,omitempty"`
	Locked               *bool           `json:"locked,omitempty"`
	EncryptionAlgorithm  *CompositeValue `json:"encryption_algorithm,omitempty"`
	Aclmode              *CompositeValue `json:"aclmode,omitempty"`
	Acltype              *CompositeValue `json:"acltype,omitempty"`
	Atime                *CompositeValue `json:"atime,omitempty"`
	Available            *CompositeValue `json:"available,omitempty"`
	Casesensitivity      *CompositeValue `json:"casesensitivity,omitempty"`
	Comments             *CompositeValue `json:"comments,omitempty"`
	Compression          *CompositeValue `json:"compression,omitempty"`
	Deduplication        *CompositeValue `json:"deduplication,omitempty"`
	Exec                 *CompositeValue `json:"exec,omitempty"`
	KeyFormat            *CompositeValue `json:"key_format,omitempty"`
	Managedby            *CompositeValue `json:"managedby,omitempty"`
	Copies               *CompositeValue `json:"copies,omitempty"`
	Quota                *CompositeValue `json:"quota,omitempty"`
	QuotaCritical        *CompositeValue `json:"quota_critical,omitempty"`
	QuotaWarning         *CompositeValue `json:"quota_warning,omitempty"`
	Reservation          *CompositeValue `json:"reservation,omitempty"`
	Refreservation       *CompositeValue `json:"refreservation,omitempty"`
	Refquota             *CompositeValue `json:"refquota,omitempty"`
	RefquotaCritical     *CompositeValue `json:"refquota_critical,omitempty"`
	RefquotaWarning      *CompositeValue `json:"refquota_warning,omitempty"`
	Readonly             *CompositeValue `json:"readonly,omitempty"`
	Recordsize           *CompositeValue `json:"recordsize,omitempty"`
	Sync                 *CompositeValue `json:"sync,omitempty"`
	Snapdir              *CompositeValue `json:"snapdir,omitempty"`
	Used                 *CompositeValue `json:"used,omitempty"`
	Pbkdf2iters          *CompositeValue `json:"pbkdf2iters,omitempty"`
	Origin               *CompositeValue `json:"origin,omitempty"`
	Xattr                *CompositeValue `json:"xattr,omitempty"`
	Volsize              *CompositeValue `json:"volsize,omitempty"`
	Volblocksize         *CompositeValue `json:"volblocksize,omitempty"`
	AdditionalProperties map[string]interface{}
}

Dataset struct for Dataset

func NewDataset

func NewDataset(id string, name string, pool string, type_ string) *Dataset

NewDataset instantiates a new Dataset 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 NewDatasetWithDefaults

func NewDatasetWithDefaults() *Dataset

NewDatasetWithDefaults instantiates a new Dataset 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 (*Dataset) GetAclmode

func (o *Dataset) GetAclmode() CompositeValue

GetAclmode returns the Aclmode field value if set, zero value otherwise.

func (*Dataset) GetAclmodeOk

func (o *Dataset) GetAclmodeOk() (*CompositeValue, bool)

GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetAcltype

func (o *Dataset) GetAcltype() CompositeValue

GetAcltype returns the Acltype field value if set, zero value otherwise.

func (*Dataset) GetAcltypeOk

func (o *Dataset) GetAcltypeOk() (*CompositeValue, bool)

GetAcltypeOk returns a tuple with the Acltype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetAtime

func (o *Dataset) GetAtime() CompositeValue

GetAtime returns the Atime field value if set, zero value otherwise.

func (*Dataset) GetAtimeOk

func (o *Dataset) GetAtimeOk() (*CompositeValue, bool)

GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetAvailable

func (o *Dataset) GetAvailable() CompositeValue

GetAvailable returns the Available field value if set, zero value otherwise.

func (*Dataset) GetAvailableOk

func (o *Dataset) GetAvailableOk() (*CompositeValue, bool)

GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetCasesensitivity

func (o *Dataset) GetCasesensitivity() CompositeValue

GetCasesensitivity returns the Casesensitivity field value if set, zero value otherwise.

func (*Dataset) GetCasesensitivityOk

func (o *Dataset) GetCasesensitivityOk() (*CompositeValue, bool)

GetCasesensitivityOk returns a tuple with the Casesensitivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetComments

func (o *Dataset) GetComments() CompositeValue

GetComments returns the Comments field value if set, zero value otherwise.

func (*Dataset) GetCommentsOk

func (o *Dataset) GetCommentsOk() (*CompositeValue, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetCompression

func (o *Dataset) GetCompression() CompositeValue

GetCompression returns the Compression field value if set, zero value otherwise.

func (*Dataset) GetCompressionOk

func (o *Dataset) GetCompressionOk() (*CompositeValue, bool)

GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetCopies

func (o *Dataset) GetCopies() CompositeValue

GetCopies returns the Copies field value if set, zero value otherwise.

func (*Dataset) GetCopiesOk

func (o *Dataset) GetCopiesOk() (*CompositeValue, bool)

GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetDeduplication

func (o *Dataset) GetDeduplication() CompositeValue

GetDeduplication returns the Deduplication field value if set, zero value otherwise.

func (*Dataset) GetDeduplicationOk

func (o *Dataset) GetDeduplicationOk() (*CompositeValue, bool)

GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetEncrypted

func (o *Dataset) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*Dataset) GetEncryptedOk

func (o *Dataset) GetEncryptedOk() (*bool, bool)

GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetEncryptionAlgorithm

func (o *Dataset) GetEncryptionAlgorithm() CompositeValue

GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.

func (*Dataset) GetEncryptionAlgorithmOk

func (o *Dataset) GetEncryptionAlgorithmOk() (*CompositeValue, bool)

GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetEncryptionRoot

func (o *Dataset) GetEncryptionRoot() string

GetEncryptionRoot returns the EncryptionRoot field value if set, zero value otherwise.

func (*Dataset) GetEncryptionRootOk

func (o *Dataset) GetEncryptionRootOk() (*string, bool)

GetEncryptionRootOk returns a tuple with the EncryptionRoot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetExec

func (o *Dataset) GetExec() CompositeValue

GetExec returns the Exec field value if set, zero value otherwise.

func (*Dataset) GetExecOk

func (o *Dataset) GetExecOk() (*CompositeValue, bool)

GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetId

func (o *Dataset) GetId() string

GetId returns the Id field value

func (*Dataset) GetIdOk

func (o *Dataset) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Dataset) GetKeyFormat

func (o *Dataset) GetKeyFormat() CompositeValue

GetKeyFormat returns the KeyFormat field value if set, zero value otherwise.

func (*Dataset) GetKeyFormatOk

func (o *Dataset) GetKeyFormatOk() (*CompositeValue, bool)

GetKeyFormatOk returns a tuple with the KeyFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetKeyLoaded

func (o *Dataset) GetKeyLoaded() bool

GetKeyLoaded returns the KeyLoaded field value if set, zero value otherwise.

func (*Dataset) GetKeyLoadedOk

func (o *Dataset) GetKeyLoadedOk() (*bool, bool)

GetKeyLoadedOk returns a tuple with the KeyLoaded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetLocked

func (o *Dataset) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*Dataset) GetLockedOk

func (o *Dataset) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetManagedby

func (o *Dataset) GetManagedby() CompositeValue

GetManagedby returns the Managedby field value if set, zero value otherwise.

func (*Dataset) GetManagedbyOk

func (o *Dataset) GetManagedbyOk() (*CompositeValue, bool)

GetManagedbyOk returns a tuple with the Managedby field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetMountpoint

func (o *Dataset) GetMountpoint() string

GetMountpoint returns the Mountpoint field value if set, zero value otherwise.

func (*Dataset) GetMountpointOk

func (o *Dataset) GetMountpointOk() (*string, bool)

GetMountpointOk returns a tuple with the Mountpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetName

func (o *Dataset) GetName() string

GetName returns the Name field value

func (*Dataset) GetNameOk

func (o *Dataset) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Dataset) GetOrigin

func (o *Dataset) GetOrigin() CompositeValue

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*Dataset) GetOriginOk

func (o *Dataset) GetOriginOk() (*CompositeValue, bool)

GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetPbkdf2iters

func (o *Dataset) GetPbkdf2iters() CompositeValue

GetPbkdf2iters returns the Pbkdf2iters field value if set, zero value otherwise.

func (*Dataset) GetPbkdf2itersOk

func (o *Dataset) GetPbkdf2itersOk() (*CompositeValue, bool)

GetPbkdf2itersOk returns a tuple with the Pbkdf2iters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetPool

func (o *Dataset) GetPool() string

GetPool returns the Pool field value

func (*Dataset) GetPoolOk

func (o *Dataset) GetPoolOk() (*string, bool)

GetPoolOk returns a tuple with the Pool field value and a boolean to check if the value has been set.

func (*Dataset) GetQuota

func (o *Dataset) GetQuota() CompositeValue

GetQuota returns the Quota field value if set, zero value otherwise.

func (*Dataset) GetQuotaCritical

func (o *Dataset) GetQuotaCritical() CompositeValue

GetQuotaCritical returns the QuotaCritical field value if set, zero value otherwise.

func (*Dataset) GetQuotaCriticalOk

func (o *Dataset) GetQuotaCriticalOk() (*CompositeValue, bool)

GetQuotaCriticalOk returns a tuple with the QuotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetQuotaOk

func (o *Dataset) GetQuotaOk() (*CompositeValue, bool)

GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetQuotaWarning

func (o *Dataset) GetQuotaWarning() CompositeValue

GetQuotaWarning returns the QuotaWarning field value if set, zero value otherwise.

func (*Dataset) GetQuotaWarningOk

func (o *Dataset) GetQuotaWarningOk() (*CompositeValue, bool)

GetQuotaWarningOk returns a tuple with the QuotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetReadonly

func (o *Dataset) GetReadonly() CompositeValue

GetReadonly returns the Readonly field value if set, zero value otherwise.

func (*Dataset) GetReadonlyOk

func (o *Dataset) GetReadonlyOk() (*CompositeValue, bool)

GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetRecordsize

func (o *Dataset) GetRecordsize() CompositeValue

GetRecordsize returns the Recordsize field value if set, zero value otherwise.

func (*Dataset) GetRecordsizeOk

func (o *Dataset) GetRecordsizeOk() (*CompositeValue, bool)

GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetRefquota

func (o *Dataset) GetRefquota() CompositeValue

GetRefquota returns the Refquota field value if set, zero value otherwise.

func (*Dataset) GetRefquotaCritical

func (o *Dataset) GetRefquotaCritical() CompositeValue

GetRefquotaCritical returns the RefquotaCritical field value if set, zero value otherwise.

func (*Dataset) GetRefquotaCriticalOk

func (o *Dataset) GetRefquotaCriticalOk() (*CompositeValue, bool)

GetRefquotaCriticalOk returns a tuple with the RefquotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetRefquotaOk

func (o *Dataset) GetRefquotaOk() (*CompositeValue, bool)

GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetRefquotaWarning

func (o *Dataset) GetRefquotaWarning() CompositeValue

GetRefquotaWarning returns the RefquotaWarning field value if set, zero value otherwise.

func (*Dataset) GetRefquotaWarningOk

func (o *Dataset) GetRefquotaWarningOk() (*CompositeValue, bool)

GetRefquotaWarningOk returns a tuple with the RefquotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetRefreservation

func (o *Dataset) GetRefreservation() CompositeValue

GetRefreservation returns the Refreservation field value if set, zero value otherwise.

func (*Dataset) GetRefreservationOk

func (o *Dataset) GetRefreservationOk() (*CompositeValue, bool)

GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetReservation

func (o *Dataset) GetReservation() CompositeValue

GetReservation returns the Reservation field value if set, zero value otherwise.

func (*Dataset) GetReservationOk

func (o *Dataset) GetReservationOk() (*CompositeValue, bool)

GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetSnapdir

func (o *Dataset) GetSnapdir() CompositeValue

GetSnapdir returns the Snapdir field value if set, zero value otherwise.

func (*Dataset) GetSnapdirOk

func (o *Dataset) GetSnapdirOk() (*CompositeValue, bool)

GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetSync

func (o *Dataset) GetSync() CompositeValue

GetSync returns the Sync field value if set, zero value otherwise.

func (*Dataset) GetSyncOk

func (o *Dataset) GetSyncOk() (*CompositeValue, bool)

GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetType

func (o *Dataset) GetType() string

GetType returns the Type field value

func (*Dataset) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Dataset) GetUsed

func (o *Dataset) GetUsed() CompositeValue

GetUsed returns the Used field value if set, zero value otherwise.

func (*Dataset) GetUsedOk

func (o *Dataset) GetUsedOk() (*CompositeValue, bool)

GetUsedOk returns a tuple with the Used field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetVolblocksize

func (o *Dataset) GetVolblocksize() CompositeValue

GetVolblocksize returns the Volblocksize field value if set, zero value otherwise.

func (*Dataset) GetVolblocksizeOk

func (o *Dataset) GetVolblocksizeOk() (*CompositeValue, bool)

GetVolblocksizeOk returns a tuple with the Volblocksize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetVolsize

func (o *Dataset) GetVolsize() CompositeValue

GetVolsize returns the Volsize field value if set, zero value otherwise.

func (*Dataset) GetVolsizeOk

func (o *Dataset) GetVolsizeOk() (*CompositeValue, bool)

GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) GetXattr

func (o *Dataset) GetXattr() CompositeValue

GetXattr returns the Xattr field value if set, zero value otherwise.

func (*Dataset) GetXattrOk

func (o *Dataset) GetXattrOk() (*CompositeValue, bool)

GetXattrOk returns a tuple with the Xattr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dataset) HasAclmode

func (o *Dataset) HasAclmode() bool

HasAclmode returns a boolean if a field has been set.

func (*Dataset) HasAcltype

func (o *Dataset) HasAcltype() bool

HasAcltype returns a boolean if a field has been set.

func (*Dataset) HasAtime

func (o *Dataset) HasAtime() bool

HasAtime returns a boolean if a field has been set.

func (*Dataset) HasAvailable

func (o *Dataset) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*Dataset) HasCasesensitivity

func (o *Dataset) HasCasesensitivity() bool

HasCasesensitivity returns a boolean if a field has been set.

func (*Dataset) HasComments

func (o *Dataset) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*Dataset) HasCompression

func (o *Dataset) HasCompression() bool

HasCompression returns a boolean if a field has been set.

func (*Dataset) HasCopies

func (o *Dataset) HasCopies() bool

HasCopies returns a boolean if a field has been set.

func (*Dataset) HasDeduplication

func (o *Dataset) HasDeduplication() bool

HasDeduplication returns a boolean if a field has been set.

func (*Dataset) HasEncrypted

func (o *Dataset) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*Dataset) HasEncryptionAlgorithm

func (o *Dataset) HasEncryptionAlgorithm() bool

HasEncryptionAlgorithm returns a boolean if a field has been set.

func (*Dataset) HasEncryptionRoot

func (o *Dataset) HasEncryptionRoot() bool

HasEncryptionRoot returns a boolean if a field has been set.

func (*Dataset) HasExec

func (o *Dataset) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*Dataset) HasKeyFormat

func (o *Dataset) HasKeyFormat() bool

HasKeyFormat returns a boolean if a field has been set.

func (*Dataset) HasKeyLoaded

func (o *Dataset) HasKeyLoaded() bool

HasKeyLoaded returns a boolean if a field has been set.

func (*Dataset) HasLocked

func (o *Dataset) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*Dataset) HasManagedby

func (o *Dataset) HasManagedby() bool

HasManagedby returns a boolean if a field has been set.

func (*Dataset) HasMountpoint

func (o *Dataset) HasMountpoint() bool

HasMountpoint returns a boolean if a field has been set.

func (*Dataset) HasOrigin

func (o *Dataset) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (*Dataset) HasPbkdf2iters

func (o *Dataset) HasPbkdf2iters() bool

HasPbkdf2iters returns a boolean if a field has been set.

func (*Dataset) HasQuota

func (o *Dataset) HasQuota() bool

HasQuota returns a boolean if a field has been set.

func (*Dataset) HasQuotaCritical

func (o *Dataset) HasQuotaCritical() bool

HasQuotaCritical returns a boolean if a field has been set.

func (*Dataset) HasQuotaWarning

func (o *Dataset) HasQuotaWarning() bool

HasQuotaWarning returns a boolean if a field has been set.

func (*Dataset) HasReadonly

func (o *Dataset) HasReadonly() bool

HasReadonly returns a boolean if a field has been set.

func (*Dataset) HasRecordsize

func (o *Dataset) HasRecordsize() bool

HasRecordsize returns a boolean if a field has been set.

func (*Dataset) HasRefquota

func (o *Dataset) HasRefquota() bool

HasRefquota returns a boolean if a field has been set.

func (*Dataset) HasRefquotaCritical

func (o *Dataset) HasRefquotaCritical() bool

HasRefquotaCritical returns a boolean if a field has been set.

func (*Dataset) HasRefquotaWarning

func (o *Dataset) HasRefquotaWarning() bool

HasRefquotaWarning returns a boolean if a field has been set.

func (*Dataset) HasRefreservation

func (o *Dataset) HasRefreservation() bool

HasRefreservation returns a boolean if a field has been set.

func (*Dataset) HasReservation

func (o *Dataset) HasReservation() bool

HasReservation returns a boolean if a field has been set.

func (*Dataset) HasSnapdir

func (o *Dataset) HasSnapdir() bool

HasSnapdir returns a boolean if a field has been set.

func (*Dataset) HasSync

func (o *Dataset) HasSync() bool

HasSync returns a boolean if a field has been set.

func (*Dataset) HasUsed

func (o *Dataset) HasUsed() bool

HasUsed returns a boolean if a field has been set.

func (*Dataset) HasVolblocksize

func (o *Dataset) HasVolblocksize() bool

HasVolblocksize returns a boolean if a field has been set.

func (*Dataset) HasVolsize

func (o *Dataset) HasVolsize() bool

HasVolsize returns a boolean if a field has been set.

func (*Dataset) HasXattr

func (o *Dataset) HasXattr() bool

HasXattr returns a boolean if a field has been set.

func (Dataset) MarshalJSON

func (o Dataset) MarshalJSON() ([]byte, error)

func (*Dataset) SetAclmode

func (o *Dataset) SetAclmode(v CompositeValue)

SetAclmode gets a reference to the given CompositeValue and assigns it to the Aclmode field.

func (*Dataset) SetAcltype

func (o *Dataset) SetAcltype(v CompositeValue)

SetAcltype gets a reference to the given CompositeValue and assigns it to the Acltype field.

func (*Dataset) SetAtime

func (o *Dataset) SetAtime(v CompositeValue)

SetAtime gets a reference to the given CompositeValue and assigns it to the Atime field.

func (*Dataset) SetAvailable

func (o *Dataset) SetAvailable(v CompositeValue)

SetAvailable gets a reference to the given CompositeValue and assigns it to the Available field.

func (*Dataset) SetCasesensitivity

func (o *Dataset) SetCasesensitivity(v CompositeValue)

SetCasesensitivity gets a reference to the given CompositeValue and assigns it to the Casesensitivity field.

func (*Dataset) SetComments

func (o *Dataset) SetComments(v CompositeValue)

SetComments gets a reference to the given CompositeValue and assigns it to the Comments field.

func (*Dataset) SetCompression

func (o *Dataset) SetCompression(v CompositeValue)

SetCompression gets a reference to the given CompositeValue and assigns it to the Compression field.

func (*Dataset) SetCopies

func (o *Dataset) SetCopies(v CompositeValue)

SetCopies gets a reference to the given CompositeValue and assigns it to the Copies field.

func (*Dataset) SetDeduplication

func (o *Dataset) SetDeduplication(v CompositeValue)

SetDeduplication gets a reference to the given CompositeValue and assigns it to the Deduplication field.

func (*Dataset) SetEncrypted

func (o *Dataset) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*Dataset) SetEncryptionAlgorithm

func (o *Dataset) SetEncryptionAlgorithm(v CompositeValue)

SetEncryptionAlgorithm gets a reference to the given CompositeValue and assigns it to the EncryptionAlgorithm field.

func (*Dataset) SetEncryptionRoot

func (o *Dataset) SetEncryptionRoot(v string)

SetEncryptionRoot gets a reference to the given string and assigns it to the EncryptionRoot field.

func (*Dataset) SetExec

func (o *Dataset) SetExec(v CompositeValue)

SetExec gets a reference to the given CompositeValue and assigns it to the Exec field.

func (*Dataset) SetId

func (o *Dataset) SetId(v string)

SetId sets field value

func (*Dataset) SetKeyFormat

func (o *Dataset) SetKeyFormat(v CompositeValue)

SetKeyFormat gets a reference to the given CompositeValue and assigns it to the KeyFormat field.

func (*Dataset) SetKeyLoaded

func (o *Dataset) SetKeyLoaded(v bool)

SetKeyLoaded gets a reference to the given bool and assigns it to the KeyLoaded field.

func (*Dataset) SetLocked

func (o *Dataset) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*Dataset) SetManagedby

func (o *Dataset) SetManagedby(v CompositeValue)

SetManagedby gets a reference to the given CompositeValue and assigns it to the Managedby field.

func (*Dataset) SetMountpoint

func (o *Dataset) SetMountpoint(v string)

SetMountpoint gets a reference to the given string and assigns it to the Mountpoint field.

func (*Dataset) SetName

func (o *Dataset) SetName(v string)

SetName sets field value

func (*Dataset) SetOrigin

func (o *Dataset) SetOrigin(v CompositeValue)

SetOrigin gets a reference to the given CompositeValue and assigns it to the Origin field.

func (*Dataset) SetPbkdf2iters

func (o *Dataset) SetPbkdf2iters(v CompositeValue)

SetPbkdf2iters gets a reference to the given CompositeValue and assigns it to the Pbkdf2iters field.

func (*Dataset) SetPool

func (o *Dataset) SetPool(v string)

SetPool sets field value

func (*Dataset) SetQuota

func (o *Dataset) SetQuota(v CompositeValue)

SetQuota gets a reference to the given CompositeValue and assigns it to the Quota field.

func (*Dataset) SetQuotaCritical

func (o *Dataset) SetQuotaCritical(v CompositeValue)

SetQuotaCritical gets a reference to the given CompositeValue and assigns it to the QuotaCritical field.

func (*Dataset) SetQuotaWarning

func (o *Dataset) SetQuotaWarning(v CompositeValue)

SetQuotaWarning gets a reference to the given CompositeValue and assigns it to the QuotaWarning field.

func (*Dataset) SetReadonly

func (o *Dataset) SetReadonly(v CompositeValue)

SetReadonly gets a reference to the given CompositeValue and assigns it to the Readonly field.

func (*Dataset) SetRecordsize

func (o *Dataset) SetRecordsize(v CompositeValue)

SetRecordsize gets a reference to the given CompositeValue and assigns it to the Recordsize field.

func (*Dataset) SetRefquota

func (o *Dataset) SetRefquota(v CompositeValue)

SetRefquota gets a reference to the given CompositeValue and assigns it to the Refquota field.

func (*Dataset) SetRefquotaCritical

func (o *Dataset) SetRefquotaCritical(v CompositeValue)

SetRefquotaCritical gets a reference to the given CompositeValue and assigns it to the RefquotaCritical field.

func (*Dataset) SetRefquotaWarning

func (o *Dataset) SetRefquotaWarning(v CompositeValue)

SetRefquotaWarning gets a reference to the given CompositeValue and assigns it to the RefquotaWarning field.

func (*Dataset) SetRefreservation

func (o *Dataset) SetRefreservation(v CompositeValue)

SetRefreservation gets a reference to the given CompositeValue and assigns it to the Refreservation field.

func (*Dataset) SetReservation

func (o *Dataset) SetReservation(v CompositeValue)

SetReservation gets a reference to the given CompositeValue and assigns it to the Reservation field.

func (*Dataset) SetSnapdir

func (o *Dataset) SetSnapdir(v CompositeValue)

SetSnapdir gets a reference to the given CompositeValue and assigns it to the Snapdir field.

func (*Dataset) SetSync

func (o *Dataset) SetSync(v CompositeValue)

SetSync gets a reference to the given CompositeValue and assigns it to the Sync field.

func (*Dataset) SetType

func (o *Dataset) SetType(v string)

SetType sets field value

func (*Dataset) SetUsed

func (o *Dataset) SetUsed(v CompositeValue)

SetUsed gets a reference to the given CompositeValue and assigns it to the Used field.

func (*Dataset) SetVolblocksize

func (o *Dataset) SetVolblocksize(v CompositeValue)

SetVolblocksize gets a reference to the given CompositeValue and assigns it to the Volblocksize field.

func (*Dataset) SetVolsize

func (o *Dataset) SetVolsize(v CompositeValue)

SetVolsize gets a reference to the given CompositeValue and assigns it to the Volsize field.

func (*Dataset) SetXattr

func (o *Dataset) SetXattr(v CompositeValue)

SetXattr gets a reference to the given CompositeValue and assigns it to the Xattr field.

func (*Dataset) UnmarshalJSON

func (o *Dataset) UnmarshalJSON(bytes []byte) (err error)

type DatasetApiService

type DatasetApiService service

DatasetApiService DatasetApi service

func (*DatasetApiService) CreateDataset

CreateDataset Method for CreateDataset

Creates a dataset/zvol.

`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size. `sparse` and `volblocksize` are only used for type=VOLUME.

`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool. There are 2 cases where ZFS encryption is not allowed for a dataset:

  1. Pool in question is GELI encrypted.
  2. If the parent dataset is encrypted with a passphrase and `name` is being created with a key for encrypting the dataset.

`encryption_options` specifies configuration for encryption of dataset for `name` pool. `encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase as a key. Otherwise a hex encoded key can be specified by providing `encryption_options.key`. `encryption_options.generate_key` when enabled automatically generates the key to be used for dataset encryption.

It should be noted that keys are stored by the system for automatic locking/unlocking on import/export of encrypted datasets. If that is not desired, dataset should be created with a passphrase as a key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDatasetRequest

func (*DatasetApiService) CreateDatasetExecute

func (a *DatasetApiService) CreateDatasetExecute(r ApiCreateDatasetRequest) (*Dataset, *http.Response, error)

Execute executes the request

@return Dataset

func (*DatasetApiService) DeleteDataset

DeleteDataset Method for DeleteDataset

Delete dataset/zvol

`recursive` will also delete/destroy all children datasets. `force` will force delete busy datasets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteDatasetRequest

func (*DatasetApiService) DeleteDatasetExecute

func (a *DatasetApiService) DeleteDatasetExecute(r ApiDeleteDatasetRequest) (*http.Response, error)

Execute executes the request

func (*DatasetApiService) GetDataset

GetDataset Method for GetDataset

Query Pool Datasets with `query-filters` and `query-options`.

We provide two ways to retrieve datasets. The first is a flat structure (default), where all datasets in the system are returned as separate objects which contain all data there is for their children. This retrieval type is slightly slower because of duplicates in each object. The second type is hierarchical, where only top level datasets are returned in the list. They contain all the children in the `children` key. This retrieval type is slightly faster. These options are controlled by the `query-options.extra.flat` attribute (default true).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID of the dataset
@return ApiGetDatasetRequest

func (*DatasetApiService) GetDatasetExecute

func (a *DatasetApiService) GetDatasetExecute(r ApiGetDatasetRequest) (*Dataset, *http.Response, error)

Execute executes the request

@return Dataset

func (*DatasetApiService) ListDatasets

ListDatasets Method for ListDatasets

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDatasetsRequest

func (*DatasetApiService) ListDatasetsExecute

func (a *DatasetApiService) ListDatasetsExecute(r ApiListDatasetsRequest) ([]Dataset, *http.Response, error)

Execute executes the request

@return []Dataset

func (*DatasetApiService) UpdateDataset

UpdateDataset Method for UpdateDataset

Update dataset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateDatasetRequest

func (*DatasetApiService) UpdateDatasetExecute

func (a *DatasetApiService) UpdateDatasetExecute(r ApiUpdateDatasetRequest) (*Dataset, *http.Response, error)

Execute executes the request

@return Dataset

type DeleteGroupParams

type DeleteGroupParams struct {
	DeleteUsers          *bool `json:"delete_users,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeleteGroupParams struct for DeleteGroupParams

func NewDeleteGroupParams

func NewDeleteGroupParams() *DeleteGroupParams

NewDeleteGroupParams instantiates a new DeleteGroupParams 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 NewDeleteGroupParamsWithDefaults

func NewDeleteGroupParamsWithDefaults() *DeleteGroupParams

NewDeleteGroupParamsWithDefaults instantiates a new DeleteGroupParams 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 (*DeleteGroupParams) GetDeleteUsers

func (o *DeleteGroupParams) GetDeleteUsers() bool

GetDeleteUsers returns the DeleteUsers field value if set, zero value otherwise.

func (*DeleteGroupParams) GetDeleteUsersOk

func (o *DeleteGroupParams) GetDeleteUsersOk() (*bool, bool)

GetDeleteUsersOk returns a tuple with the DeleteUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteGroupParams) HasDeleteUsers

func (o *DeleteGroupParams) HasDeleteUsers() bool

HasDeleteUsers returns a boolean if a field has been set.

func (DeleteGroupParams) MarshalJSON

func (o DeleteGroupParams) MarshalJSON() ([]byte, error)

func (*DeleteGroupParams) SetDeleteUsers

func (o *DeleteGroupParams) SetDeleteUsers(v bool)

SetDeleteUsers gets a reference to the given bool and assigns it to the DeleteUsers field.

func (*DeleteGroupParams) UnmarshalJSON

func (o *DeleteGroupParams) UnmarshalJSON(bytes []byte) (err error)

type DeleteUserParams

type DeleteUserParams struct {
	DeleteGroup          *bool `json:"delete_group,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeleteUserParams struct for DeleteUserParams

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams instantiates a new DeleteUserParams 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 NewDeleteUserParamsWithDefaults

func NewDeleteUserParamsWithDefaults() *DeleteUserParams

NewDeleteUserParamsWithDefaults instantiates a new DeleteUserParams 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 (*DeleteUserParams) GetDeleteGroup

func (o *DeleteUserParams) GetDeleteGroup() bool

GetDeleteGroup returns the DeleteGroup field value if set, zero value otherwise.

func (*DeleteUserParams) GetDeleteGroupOk

func (o *DeleteUserParams) GetDeleteGroupOk() (*bool, bool)

GetDeleteGroupOk returns a tuple with the DeleteGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteUserParams) HasDeleteGroup

func (o *DeleteUserParams) HasDeleteGroup() bool

HasDeleteGroup returns a boolean if a field has been set.

func (DeleteUserParams) MarshalJSON

func (o DeleteUserParams) MarshalJSON() ([]byte, error)

func (*DeleteUserParams) SetDeleteGroup

func (o *DeleteUserParams) SetDeleteGroup(v bool)

SetDeleteGroup gets a reference to the given bool and assigns it to the DeleteGroup field.

func (*DeleteUserParams) UnmarshalJSON

func (o *DeleteUserParams) UnmarshalJSON(bytes []byte) (err error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Group

type Group struct {
	Id                   int32    `json:"id"`
	Gid                  *int32   `json:"gid,omitempty"`
	Group                string   `json:"group"`
	Builtin              *bool    `json:"builtin,omitempty"`
	Sudo                 *bool    `json:"sudo,omitempty"`
	SudoNopasswd         *bool    `json:"sudo_nopasswd,omitempty"`
	SudoCommands         []string `json:"sudo_commands,omitempty"`
	Smb                  *bool    `json:"smb,omitempty"`
	Users                []int32  `json:"users,omitempty"`
	Local                *bool    `json:"local,omitempty"`
	IdTypeBoth           *bool    `json:"id_type_both,omitempty"`
	AdditionalProperties map[string]interface{}
}

Group struct for Group

func NewGroup

func NewGroup(id int32, group string) *Group

NewGroup instantiates a new Group 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 NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group 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 (*Group) GetBuiltin

func (o *Group) GetBuiltin() bool

GetBuiltin returns the Builtin field value if set, zero value otherwise.

func (*Group) GetBuiltinOk

func (o *Group) GetBuiltinOk() (*bool, bool)

GetBuiltinOk returns a tuple with the Builtin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetGid

func (o *Group) GetGid() int32

GetGid returns the Gid field value if set, zero value otherwise.

func (*Group) GetGidOk

func (o *Group) GetGidOk() (*int32, bool)

GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetGroup

func (o *Group) GetGroup() string

GetGroup returns the Group field value

func (*Group) GetGroupOk

func (o *Group) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.

func (*Group) GetId

func (o *Group) GetId() int32

GetId returns the Id field value

func (*Group) GetIdOk

func (o *Group) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Group) GetIdTypeBoth

func (o *Group) GetIdTypeBoth() bool

GetIdTypeBoth returns the IdTypeBoth field value if set, zero value otherwise.

func (*Group) GetIdTypeBothOk

func (o *Group) GetIdTypeBothOk() (*bool, bool)

GetIdTypeBothOk returns a tuple with the IdTypeBoth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetLocal

func (o *Group) GetLocal() bool

GetLocal returns the Local field value if set, zero value otherwise.

func (*Group) GetLocalOk

func (o *Group) GetLocalOk() (*bool, bool)

GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetSmb

func (o *Group) GetSmb() bool

GetSmb returns the Smb field value if set, zero value otherwise.

func (*Group) GetSmbOk

func (o *Group) GetSmbOk() (*bool, bool)

GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetSudo

func (o *Group) GetSudo() bool

GetSudo returns the Sudo field value if set, zero value otherwise.

func (*Group) GetSudoCommands

func (o *Group) GetSudoCommands() []string

GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.

func (*Group) GetSudoCommandsOk

func (o *Group) GetSudoCommandsOk() ([]string, bool)

GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetSudoNopasswd

func (o *Group) GetSudoNopasswd() bool

GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.

func (*Group) GetSudoNopasswdOk

func (o *Group) GetSudoNopasswdOk() (*bool, bool)

GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetSudoOk

func (o *Group) GetSudoOk() (*bool, bool)

GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetUsers

func (o *Group) GetUsers() []int32

GetUsers returns the Users field value if set, zero value otherwise.

func (*Group) GetUsersOk

func (o *Group) GetUsersOk() ([]int32, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) HasBuiltin

func (o *Group) HasBuiltin() bool

HasBuiltin returns a boolean if a field has been set.

func (*Group) HasGid

func (o *Group) HasGid() bool

HasGid returns a boolean if a field has been set.

func (*Group) HasIdTypeBoth

func (o *Group) HasIdTypeBoth() bool

HasIdTypeBoth returns a boolean if a field has been set.

func (*Group) HasLocal

func (o *Group) HasLocal() bool

HasLocal returns a boolean if a field has been set.

func (*Group) HasSmb

func (o *Group) HasSmb() bool

HasSmb returns a boolean if a field has been set.

func (*Group) HasSudo

func (o *Group) HasSudo() bool

HasSudo returns a boolean if a field has been set.

func (*Group) HasSudoCommands

func (o *Group) HasSudoCommands() bool

HasSudoCommands returns a boolean if a field has been set.

func (*Group) HasSudoNopasswd

func (o *Group) HasSudoNopasswd() bool

HasSudoNopasswd returns a boolean if a field has been set.

func (*Group) HasUsers

func (o *Group) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetBuiltin

func (o *Group) SetBuiltin(v bool)

SetBuiltin gets a reference to the given bool and assigns it to the Builtin field.

func (*Group) SetGid

func (o *Group) SetGid(v int32)

SetGid gets a reference to the given int32 and assigns it to the Gid field.

func (*Group) SetGroup

func (o *Group) SetGroup(v string)

SetGroup sets field value

func (*Group) SetId

func (o *Group) SetId(v int32)

SetId sets field value

func (*Group) SetIdTypeBoth

func (o *Group) SetIdTypeBoth(v bool)

SetIdTypeBoth gets a reference to the given bool and assigns it to the IdTypeBoth field.

func (*Group) SetLocal

func (o *Group) SetLocal(v bool)

SetLocal gets a reference to the given bool and assigns it to the Local field.

func (*Group) SetSmb

func (o *Group) SetSmb(v bool)

SetSmb gets a reference to the given bool and assigns it to the Smb field.

func (*Group) SetSudo

func (o *Group) SetSudo(v bool)

SetSudo gets a reference to the given bool and assigns it to the Sudo field.

func (*Group) SetSudoCommands

func (o *Group) SetSudoCommands(v []string)

SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.

func (*Group) SetSudoNopasswd

func (o *Group) SetSudoNopasswd(v bool)

SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.

func (*Group) SetUsers

func (o *Group) SetUsers(v []int32)

SetUsers gets a reference to the given []int32 and assigns it to the Users field.

func (*Group) UnmarshalJSON

func (o *Group) UnmarshalJSON(bytes []byte) (err error)

type GroupApiService

type GroupApiService service

GroupApiService GroupApi service

func (*GroupApiService) CreateGroup

CreateGroup Method for CreateGroup

Create a new group.

If `gid` is not provided it is automatically filled with the next one available.

`allow_duplicate_gid` allows distinct group names to share the same gid.

`users` is a list of user ids (`id` attribute from `user.query`).

`smb` specifies whether the group should be mapped into an NT group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateGroupRequest

func (*GroupApiService) CreateGroupExecute

func (a *GroupApiService) CreateGroupExecute(r ApiCreateGroupRequest) (int32, *http.Response, error)

Execute executes the request

@return int32

func (*GroupApiService) DeleteGroup

func (a *GroupApiService) DeleteGroup(ctx context.Context, id int32) ApiDeleteGroupRequest

DeleteGroup Method for DeleteGroup

Delete group `id`.

The `delete_users` option deletes all users that have this group as their primary group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteGroupRequest

func (*GroupApiService) DeleteGroupExecute

func (a *GroupApiService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)

Execute executes the request

func (*GroupApiService) GetGroup

GetGroup Method for GetGroup

Get group of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetGroupRequest

func (*GroupApiService) GetGroupExecute

func (a *GroupApiService) GetGroupExecute(r ApiGetGroupRequest) (*Group, *http.Response, error)

Execute executes the request

@return Group

func (*GroupApiService) ListGroups

ListGroups Method for ListGroups

Get a list of (local) groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListGroupsRequest

func (*GroupApiService) ListGroupsExecute

func (a *GroupApiService) ListGroupsExecute(r ApiListGroupsRequest) (*http.Response, error)

Execute executes the request

func (*GroupApiService) UpdateGroup

func (a *GroupApiService) UpdateGroup(ctx context.Context, id int32) ApiUpdateGroupRequest

UpdateGroup Method for UpdateGroup

Update attributes of an existing group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateGroupRequest

func (*GroupApiService) UpdateGroupExecute

func (a *GroupApiService) UpdateGroupExecute(r ApiUpdateGroupRequest) (int32, *http.Response, error)

Execute executes the request

@return int32

type NetworkApiService

type NetworkApiService service

NetworkApiService NetworkApi service

func (*NetworkApiService) GetNetworkConfiguration

func (a *NetworkApiService) GetNetworkConfiguration(ctx context.Context) ApiGetNetworkConfigurationRequest

GetNetworkConfiguration Method for GetNetworkConfiguration

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetNetworkConfigurationRequest

func (*NetworkApiService) GetNetworkConfigurationExecute

func (a *NetworkApiService) GetNetworkConfigurationExecute(r ApiGetNetworkConfigurationRequest) (*NetworkConfig, *http.Response, error)

Execute executes the request

@return NetworkConfig

func (*NetworkApiService) GetNetworkSummary

GetNetworkSummary Method for GetNetworkSummary

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetNetworkSummaryRequest

func (*NetworkApiService) GetNetworkSummaryExecute

func (a *NetworkApiService) GetNetworkSummaryExecute(r ApiGetNetworkSummaryRequest) (*NetworkSummary, *http.Response, error)

Execute executes the request

@return NetworkSummary

type NetworkConfig

type NetworkConfig struct {
	Id                   *int32                            `json:"id,omitempty"`
	Hostname             *string                           `json:"hostname,omitempty"`
	Domain               *string                           `json:"domain,omitempty"`
	Ipv4gateway          *string                           `json:"ipv4gateway,omitempty"`
	Ipv6gateway          *string                           `json:"ipv6gateway,omitempty"`
	Nameserver1          *string                           `json:"nameserver1,omitempty"`
	Nameserver2          *string                           `json:"nameserver2,omitempty"`
	Nameserver3          *string                           `json:"nameserver3,omitempty"`
	Httpproxy            *string                           `json:"httpproxy,omitempty"`
	NetwaitEnabled       *bool                             `json:"netwait_enabled,omitempty"`
	NetwaitIp            []string                          `json:"netwait_ip,omitempty"`
	Hosts                *string                           `json:"hosts,omitempty"`
	Domains              []string                          `json:"domains,omitempty"`
	ServiceAnnouncement  *NetworkConfigServiceAnnouncement `json:"service_announcement,omitempty"`
	HostnameLocal        *string                           `json:"hostname_local,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkConfig struct for NetworkConfig

func NewNetworkConfig

func NewNetworkConfig() *NetworkConfig

NewNetworkConfig instantiates a new NetworkConfig 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 NewNetworkConfigWithDefaults

func NewNetworkConfigWithDefaults() *NetworkConfig

NewNetworkConfigWithDefaults instantiates a new NetworkConfig 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 (*NetworkConfig) GetDomain

func (o *NetworkConfig) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*NetworkConfig) GetDomainOk

func (o *NetworkConfig) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetDomains

func (o *NetworkConfig) GetDomains() []string

GetDomains returns the Domains field value if set, zero value otherwise.

func (*NetworkConfig) GetDomainsOk

func (o *NetworkConfig) GetDomainsOk() ([]string, bool)

GetDomainsOk returns a tuple with the Domains field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetHostname

func (o *NetworkConfig) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*NetworkConfig) GetHostnameLocal

func (o *NetworkConfig) GetHostnameLocal() string

GetHostnameLocal returns the HostnameLocal field value if set, zero value otherwise.

func (*NetworkConfig) GetHostnameLocalOk

func (o *NetworkConfig) GetHostnameLocalOk() (*string, bool)

GetHostnameLocalOk returns a tuple with the HostnameLocal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetHostnameOk

func (o *NetworkConfig) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetHosts

func (o *NetworkConfig) GetHosts() string

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*NetworkConfig) GetHostsOk

func (o *NetworkConfig) GetHostsOk() (*string, bool)

GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetHttpproxy

func (o *NetworkConfig) GetHttpproxy() string

GetHttpproxy returns the Httpproxy field value if set, zero value otherwise.

func (*NetworkConfig) GetHttpproxyOk

func (o *NetworkConfig) GetHttpproxyOk() (*string, bool)

GetHttpproxyOk returns a tuple with the Httpproxy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetId

func (o *NetworkConfig) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkConfig) GetIdOk

func (o *NetworkConfig) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetIpv4gateway

func (o *NetworkConfig) GetIpv4gateway() string

GetIpv4gateway returns the Ipv4gateway field value if set, zero value otherwise.

func (*NetworkConfig) GetIpv4gatewayOk

func (o *NetworkConfig) GetIpv4gatewayOk() (*string, bool)

GetIpv4gatewayOk returns a tuple with the Ipv4gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetIpv6gateway

func (o *NetworkConfig) GetIpv6gateway() string

GetIpv6gateway returns the Ipv6gateway field value if set, zero value otherwise.

func (*NetworkConfig) GetIpv6gatewayOk

func (o *NetworkConfig) GetIpv6gatewayOk() (*string, bool)

GetIpv6gatewayOk returns a tuple with the Ipv6gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetNameserver1

func (o *NetworkConfig) GetNameserver1() string

GetNameserver1 returns the Nameserver1 field value if set, zero value otherwise.

func (*NetworkConfig) GetNameserver1Ok

func (o *NetworkConfig) GetNameserver1Ok() (*string, bool)

GetNameserver1Ok returns a tuple with the Nameserver1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetNameserver2

func (o *NetworkConfig) GetNameserver2() string

GetNameserver2 returns the Nameserver2 field value if set, zero value otherwise.

func (*NetworkConfig) GetNameserver2Ok

func (o *NetworkConfig) GetNameserver2Ok() (*string, bool)

GetNameserver2Ok returns a tuple with the Nameserver2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetNameserver3

func (o *NetworkConfig) GetNameserver3() string

GetNameserver3 returns the Nameserver3 field value if set, zero value otherwise.

func (*NetworkConfig) GetNameserver3Ok

func (o *NetworkConfig) GetNameserver3Ok() (*string, bool)

GetNameserver3Ok returns a tuple with the Nameserver3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetNetwaitEnabled

func (o *NetworkConfig) GetNetwaitEnabled() bool

GetNetwaitEnabled returns the NetwaitEnabled field value if set, zero value otherwise.

func (*NetworkConfig) GetNetwaitEnabledOk

func (o *NetworkConfig) GetNetwaitEnabledOk() (*bool, bool)

GetNetwaitEnabledOk returns a tuple with the NetwaitEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetNetwaitIp

func (o *NetworkConfig) GetNetwaitIp() []string

GetNetwaitIp returns the NetwaitIp field value if set, zero value otherwise.

func (*NetworkConfig) GetNetwaitIpOk

func (o *NetworkConfig) GetNetwaitIpOk() ([]string, bool)

GetNetwaitIpOk returns a tuple with the NetwaitIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetServiceAnnouncement

func (o *NetworkConfig) GetServiceAnnouncement() NetworkConfigServiceAnnouncement

GetServiceAnnouncement returns the ServiceAnnouncement field value if set, zero value otherwise.

func (*NetworkConfig) GetServiceAnnouncementOk

func (o *NetworkConfig) GetServiceAnnouncementOk() (*NetworkConfigServiceAnnouncement, bool)

GetServiceAnnouncementOk returns a tuple with the ServiceAnnouncement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) HasDomain

func (o *NetworkConfig) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*NetworkConfig) HasDomains

func (o *NetworkConfig) HasDomains() bool

HasDomains returns a boolean if a field has been set.

func (*NetworkConfig) HasHostname

func (o *NetworkConfig) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*NetworkConfig) HasHostnameLocal

func (o *NetworkConfig) HasHostnameLocal() bool

HasHostnameLocal returns a boolean if a field has been set.

func (*NetworkConfig) HasHosts

func (o *NetworkConfig) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*NetworkConfig) HasHttpproxy

func (o *NetworkConfig) HasHttpproxy() bool

HasHttpproxy returns a boolean if a field has been set.

func (*NetworkConfig) HasId

func (o *NetworkConfig) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkConfig) HasIpv4gateway

func (o *NetworkConfig) HasIpv4gateway() bool

HasIpv4gateway returns a boolean if a field has been set.

func (*NetworkConfig) HasIpv6gateway

func (o *NetworkConfig) HasIpv6gateway() bool

HasIpv6gateway returns a boolean if a field has been set.

func (*NetworkConfig) HasNameserver1

func (o *NetworkConfig) HasNameserver1() bool

HasNameserver1 returns a boolean if a field has been set.

func (*NetworkConfig) HasNameserver2

func (o *NetworkConfig) HasNameserver2() bool

HasNameserver2 returns a boolean if a field has been set.

func (*NetworkConfig) HasNameserver3

func (o *NetworkConfig) HasNameserver3() bool

HasNameserver3 returns a boolean if a field has been set.

func (*NetworkConfig) HasNetwaitEnabled

func (o *NetworkConfig) HasNetwaitEnabled() bool

HasNetwaitEnabled returns a boolean if a field has been set.

func (*NetworkConfig) HasNetwaitIp

func (o *NetworkConfig) HasNetwaitIp() bool

HasNetwaitIp returns a boolean if a field has been set.

func (*NetworkConfig) HasServiceAnnouncement

func (o *NetworkConfig) HasServiceAnnouncement() bool

HasServiceAnnouncement returns a boolean if a field has been set.

func (NetworkConfig) MarshalJSON

func (o NetworkConfig) MarshalJSON() ([]byte, error)

func (*NetworkConfig) SetDomain

func (o *NetworkConfig) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*NetworkConfig) SetDomains

func (o *NetworkConfig) SetDomains(v []string)

SetDomains gets a reference to the given []string and assigns it to the Domains field.

func (*NetworkConfig) SetHostname

func (o *NetworkConfig) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*NetworkConfig) SetHostnameLocal

func (o *NetworkConfig) SetHostnameLocal(v string)

SetHostnameLocal gets a reference to the given string and assigns it to the HostnameLocal field.

func (*NetworkConfig) SetHosts

func (o *NetworkConfig) SetHosts(v string)

SetHosts gets a reference to the given string and assigns it to the Hosts field.

func (*NetworkConfig) SetHttpproxy

func (o *NetworkConfig) SetHttpproxy(v string)

SetHttpproxy gets a reference to the given string and assigns it to the Httpproxy field.

func (*NetworkConfig) SetId

func (o *NetworkConfig) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*NetworkConfig) SetIpv4gateway

func (o *NetworkConfig) SetIpv4gateway(v string)

SetIpv4gateway gets a reference to the given string and assigns it to the Ipv4gateway field.

func (*NetworkConfig) SetIpv6gateway

func (o *NetworkConfig) SetIpv6gateway(v string)

SetIpv6gateway gets a reference to the given string and assigns it to the Ipv6gateway field.

func (*NetworkConfig) SetNameserver1

func (o *NetworkConfig) SetNameserver1(v string)

SetNameserver1 gets a reference to the given string and assigns it to the Nameserver1 field.

func (*NetworkConfig) SetNameserver2

func (o *NetworkConfig) SetNameserver2(v string)

SetNameserver2 gets a reference to the given string and assigns it to the Nameserver2 field.

func (*NetworkConfig) SetNameserver3

func (o *NetworkConfig) SetNameserver3(v string)

SetNameserver3 gets a reference to the given string and assigns it to the Nameserver3 field.

func (*NetworkConfig) SetNetwaitEnabled

func (o *NetworkConfig) SetNetwaitEnabled(v bool)

SetNetwaitEnabled gets a reference to the given bool and assigns it to the NetwaitEnabled field.

func (*NetworkConfig) SetNetwaitIp

func (o *NetworkConfig) SetNetwaitIp(v []string)

SetNetwaitIp gets a reference to the given []string and assigns it to the NetwaitIp field.

func (*NetworkConfig) SetServiceAnnouncement

func (o *NetworkConfig) SetServiceAnnouncement(v NetworkConfigServiceAnnouncement)

SetServiceAnnouncement gets a reference to the given NetworkConfigServiceAnnouncement and assigns it to the ServiceAnnouncement field.

func (*NetworkConfig) UnmarshalJSON

func (o *NetworkConfig) UnmarshalJSON(bytes []byte) (err error)

type NetworkConfigServiceAnnouncement

type NetworkConfigServiceAnnouncement struct {
	Netbios              *bool `json:"netbios,omitempty"`
	Mdns                 *bool `json:"mdns,omitempty"`
	Wsd                  *bool `json:"wsd,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkConfigServiceAnnouncement struct for NetworkConfigServiceAnnouncement

func NewNetworkConfigServiceAnnouncement

func NewNetworkConfigServiceAnnouncement() *NetworkConfigServiceAnnouncement

NewNetworkConfigServiceAnnouncement instantiates a new NetworkConfigServiceAnnouncement 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 NewNetworkConfigServiceAnnouncementWithDefaults

func NewNetworkConfigServiceAnnouncementWithDefaults() *NetworkConfigServiceAnnouncement

NewNetworkConfigServiceAnnouncementWithDefaults instantiates a new NetworkConfigServiceAnnouncement 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 (*NetworkConfigServiceAnnouncement) GetMdns

GetMdns returns the Mdns field value if set, zero value otherwise.

func (*NetworkConfigServiceAnnouncement) GetMdnsOk

func (o *NetworkConfigServiceAnnouncement) GetMdnsOk() (*bool, bool)

GetMdnsOk returns a tuple with the Mdns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfigServiceAnnouncement) GetNetbios

func (o *NetworkConfigServiceAnnouncement) GetNetbios() bool

GetNetbios returns the Netbios field value if set, zero value otherwise.

func (*NetworkConfigServiceAnnouncement) GetNetbiosOk

func (o *NetworkConfigServiceAnnouncement) GetNetbiosOk() (*bool, bool)

GetNetbiosOk returns a tuple with the Netbios field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfigServiceAnnouncement) GetWsd

GetWsd returns the Wsd field value if set, zero value otherwise.

func (*NetworkConfigServiceAnnouncement) GetWsdOk

func (o *NetworkConfigServiceAnnouncement) GetWsdOk() (*bool, bool)

GetWsdOk returns a tuple with the Wsd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfigServiceAnnouncement) HasMdns

HasMdns returns a boolean if a field has been set.

func (*NetworkConfigServiceAnnouncement) HasNetbios

func (o *NetworkConfigServiceAnnouncement) HasNetbios() bool

HasNetbios returns a boolean if a field has been set.

func (*NetworkConfigServiceAnnouncement) HasWsd

HasWsd returns a boolean if a field has been set.

func (NetworkConfigServiceAnnouncement) MarshalJSON

func (o NetworkConfigServiceAnnouncement) MarshalJSON() ([]byte, error)

func (*NetworkConfigServiceAnnouncement) SetMdns

func (o *NetworkConfigServiceAnnouncement) SetMdns(v bool)

SetMdns gets a reference to the given bool and assigns it to the Mdns field.

func (*NetworkConfigServiceAnnouncement) SetNetbios

func (o *NetworkConfigServiceAnnouncement) SetNetbios(v bool)

SetNetbios gets a reference to the given bool and assigns it to the Netbios field.

func (*NetworkConfigServiceAnnouncement) SetWsd

SetWsd gets a reference to the given bool and assigns it to the Wsd field.

func (*NetworkConfigServiceAnnouncement) UnmarshalJSON

func (o *NetworkConfigServiceAnnouncement) UnmarshalJSON(bytes []byte) (err error)

type NetworkSummary

type NetworkSummary struct {
	Ips                  *map[string]NetworkSummaryIpsValue `json:"ips,omitempty"`
	DefaultRoutes        []string                           `json:"default_routes,omitempty"`
	Nameservers          []string                           `json:"nameservers,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkSummary struct for NetworkSummary

func NewNetworkSummary

func NewNetworkSummary() *NetworkSummary

NewNetworkSummary instantiates a new NetworkSummary 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 NewNetworkSummaryWithDefaults

func NewNetworkSummaryWithDefaults() *NetworkSummary

NewNetworkSummaryWithDefaults instantiates a new NetworkSummary 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 (*NetworkSummary) GetDefaultRoutes

func (o *NetworkSummary) GetDefaultRoutes() []string

GetDefaultRoutes returns the DefaultRoutes field value if set, zero value otherwise.

func (*NetworkSummary) GetDefaultRoutesOk

func (o *NetworkSummary) GetDefaultRoutesOk() ([]string, bool)

GetDefaultRoutesOk returns a tuple with the DefaultRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkSummary) GetIps

GetIps returns the Ips field value if set, zero value otherwise.

func (*NetworkSummary) GetIpsOk

func (o *NetworkSummary) GetIpsOk() (*map[string]NetworkSummaryIpsValue, bool)

GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkSummary) GetNameservers

func (o *NetworkSummary) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*NetworkSummary) GetNameserversOk

func (o *NetworkSummary) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkSummary) HasDefaultRoutes

func (o *NetworkSummary) HasDefaultRoutes() bool

HasDefaultRoutes returns a boolean if a field has been set.

func (*NetworkSummary) HasIps

func (o *NetworkSummary) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*NetworkSummary) HasNameservers

func (o *NetworkSummary) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (NetworkSummary) MarshalJSON

func (o NetworkSummary) MarshalJSON() ([]byte, error)

func (*NetworkSummary) SetDefaultRoutes

func (o *NetworkSummary) SetDefaultRoutes(v []string)

SetDefaultRoutes gets a reference to the given []string and assigns it to the DefaultRoutes field.

func (*NetworkSummary) SetIps

func (o *NetworkSummary) SetIps(v map[string]NetworkSummaryIpsValue)

SetIps gets a reference to the given map[string]NetworkSummaryIpsValue and assigns it to the Ips field.

func (*NetworkSummary) SetNameservers

func (o *NetworkSummary) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*NetworkSummary) UnmarshalJSON

func (o *NetworkSummary) UnmarshalJSON(bytes []byte) (err error)

type NetworkSummaryIpsValue

type NetworkSummaryIpsValue struct {
	IPV4                 []string `json:"IPV4,omitempty"`
	IPV6                 []string `json:"IPV6,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkSummaryIpsValue struct for NetworkSummaryIpsValue

func NewNetworkSummaryIpsValue

func NewNetworkSummaryIpsValue() *NetworkSummaryIpsValue

NewNetworkSummaryIpsValue instantiates a new NetworkSummaryIpsValue 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 NewNetworkSummaryIpsValueWithDefaults

func NewNetworkSummaryIpsValueWithDefaults() *NetworkSummaryIpsValue

NewNetworkSummaryIpsValueWithDefaults instantiates a new NetworkSummaryIpsValue 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 (*NetworkSummaryIpsValue) GetIPV4

func (o *NetworkSummaryIpsValue) GetIPV4() []string

GetIPV4 returns the IPV4 field value if set, zero value otherwise.

func (*NetworkSummaryIpsValue) GetIPV4Ok

func (o *NetworkSummaryIpsValue) GetIPV4Ok() ([]string, bool)

GetIPV4Ok returns a tuple with the IPV4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkSummaryIpsValue) GetIPV6

func (o *NetworkSummaryIpsValue) GetIPV6() []string

GetIPV6 returns the IPV6 field value if set, zero value otherwise.

func (*NetworkSummaryIpsValue) GetIPV6Ok

func (o *NetworkSummaryIpsValue) GetIPV6Ok() ([]string, bool)

GetIPV6Ok returns a tuple with the IPV6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkSummaryIpsValue) HasIPV4

func (o *NetworkSummaryIpsValue) HasIPV4() bool

HasIPV4 returns a boolean if a field has been set.

func (*NetworkSummaryIpsValue) HasIPV6

func (o *NetworkSummaryIpsValue) HasIPV6() bool

HasIPV6 returns a boolean if a field has been set.

func (NetworkSummaryIpsValue) MarshalJSON

func (o NetworkSummaryIpsValue) MarshalJSON() ([]byte, error)

func (*NetworkSummaryIpsValue) SetIPV4

func (o *NetworkSummaryIpsValue) SetIPV4(v []string)

SetIPV4 gets a reference to the given []string and assigns it to the IPV4 field.

func (*NetworkSummaryIpsValue) SetIPV6

func (o *NetworkSummaryIpsValue) SetIPV6(v []string)

SetIPV6 gets a reference to the given []string and assigns it to the IPV6 field.

func (*NetworkSummaryIpsValue) UnmarshalJSON

func (o *NetworkSummaryIpsValue) UnmarshalJSON(bytes []byte) (err error)

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCompositeValue

type NullableCompositeValue struct {
	// contains filtered or unexported fields
}

func NewNullableCompositeValue

func NewNullableCompositeValue(val *CompositeValue) *NullableCompositeValue

func (NullableCompositeValue) Get

func (NullableCompositeValue) IsSet

func (v NullableCompositeValue) IsSet() bool

func (NullableCompositeValue) MarshalJSON

func (v NullableCompositeValue) MarshalJSON() ([]byte, error)

func (*NullableCompositeValue) Set

func (*NullableCompositeValue) UnmarshalJSON

func (v *NullableCompositeValue) UnmarshalJSON(src []byte) error

func (*NullableCompositeValue) Unset

func (v *NullableCompositeValue) Unset()

type NullableCreateCronjobParams

type NullableCreateCronjobParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCronjobParams

func NewNullableCreateCronjobParams(val *CreateCronjobParams) *NullableCreateCronjobParams

func (NullableCreateCronjobParams) Get

func (NullableCreateCronjobParams) IsSet

func (NullableCreateCronjobParams) MarshalJSON

func (v NullableCreateCronjobParams) MarshalJSON() ([]byte, error)

func (*NullableCreateCronjobParams) Set

func (*NullableCreateCronjobParams) UnmarshalJSON

func (v *NullableCreateCronjobParams) UnmarshalJSON(src []byte) error

func (*NullableCreateCronjobParams) Unset

func (v *NullableCreateCronjobParams) Unset()

type NullableCreateDatasetParams

type NullableCreateDatasetParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDatasetParams

func NewNullableCreateDatasetParams(val *CreateDatasetParams) *NullableCreateDatasetParams

func (NullableCreateDatasetParams) Get

func (NullableCreateDatasetParams) IsSet

func (NullableCreateDatasetParams) MarshalJSON

func (v NullableCreateDatasetParams) MarshalJSON() ([]byte, error)

func (*NullableCreateDatasetParams) Set

func (*NullableCreateDatasetParams) UnmarshalJSON

func (v *NullableCreateDatasetParams) UnmarshalJSON(src []byte) error

func (*NullableCreateDatasetParams) Unset

func (v *NullableCreateDatasetParams) Unset()

type NullableCreateDatasetParamsEncryptionOptions

type NullableCreateDatasetParamsEncryptionOptions struct {
	// contains filtered or unexported fields
}

func (NullableCreateDatasetParamsEncryptionOptions) Get

func (NullableCreateDatasetParamsEncryptionOptions) IsSet

func (NullableCreateDatasetParamsEncryptionOptions) MarshalJSON

func (*NullableCreateDatasetParamsEncryptionOptions) Set

func (*NullableCreateDatasetParamsEncryptionOptions) UnmarshalJSON

func (*NullableCreateDatasetParamsEncryptionOptions) Unset

type NullableCreateGroupParams

type NullableCreateGroupParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateGroupParams

func NewNullableCreateGroupParams(val *CreateGroupParams) *NullableCreateGroupParams

func (NullableCreateGroupParams) Get

func (NullableCreateGroupParams) IsSet

func (v NullableCreateGroupParams) IsSet() bool

func (NullableCreateGroupParams) MarshalJSON

func (v NullableCreateGroupParams) MarshalJSON() ([]byte, error)

func (*NullableCreateGroupParams) Set

func (*NullableCreateGroupParams) UnmarshalJSON

func (v *NullableCreateGroupParams) UnmarshalJSON(src []byte) error

func (*NullableCreateGroupParams) Unset

func (v *NullableCreateGroupParams) Unset()

type NullableCreateShareNFSParams

type NullableCreateShareNFSParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateShareNFSParams

func NewNullableCreateShareNFSParams(val *CreateShareNFSParams) *NullableCreateShareNFSParams

func (NullableCreateShareNFSParams) Get

func (NullableCreateShareNFSParams) IsSet

func (NullableCreateShareNFSParams) MarshalJSON

func (v NullableCreateShareNFSParams) MarshalJSON() ([]byte, error)

func (*NullableCreateShareNFSParams) Set

func (*NullableCreateShareNFSParams) UnmarshalJSON

func (v *NullableCreateShareNFSParams) UnmarshalJSON(src []byte) error

func (*NullableCreateShareNFSParams) Unset

func (v *NullableCreateShareNFSParams) Unset()

type NullableCreateShareSMBParams

type NullableCreateShareSMBParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateShareSMBParams

func NewNullableCreateShareSMBParams(val *CreateShareSMBParams) *NullableCreateShareSMBParams

func (NullableCreateShareSMBParams) Get

func (NullableCreateShareSMBParams) IsSet

func (NullableCreateShareSMBParams) MarshalJSON

func (v NullableCreateShareSMBParams) MarshalJSON() ([]byte, error)

func (*NullableCreateShareSMBParams) Set

func (*NullableCreateShareSMBParams) UnmarshalJSON

func (v *NullableCreateShareSMBParams) UnmarshalJSON(src []byte) error

func (*NullableCreateShareSMBParams) Unset

func (v *NullableCreateShareSMBParams) Unset()

type NullableCreateUserParams

type NullableCreateUserParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateUserParams

func NewNullableCreateUserParams(val *CreateUserParams) *NullableCreateUserParams

func (NullableCreateUserParams) Get

func (NullableCreateUserParams) IsSet

func (v NullableCreateUserParams) IsSet() bool

func (NullableCreateUserParams) MarshalJSON

func (v NullableCreateUserParams) MarshalJSON() ([]byte, error)

func (*NullableCreateUserParams) Set

func (*NullableCreateUserParams) UnmarshalJSON

func (v *NullableCreateUserParams) UnmarshalJSON(src []byte) error

func (*NullableCreateUserParams) Unset

func (v *NullableCreateUserParams) Unset()

type NullableCreateVMParams

type NullableCreateVMParams struct {
	// contains filtered or unexported fields
}

func NewNullableCreateVMParams

func NewNullableCreateVMParams(val *CreateVMParams) *NullableCreateVMParams

func (NullableCreateVMParams) Get

func (NullableCreateVMParams) IsSet

func (v NullableCreateVMParams) IsSet() bool

func (NullableCreateVMParams) MarshalJSON

func (v NullableCreateVMParams) MarshalJSON() ([]byte, error)

func (*NullableCreateVMParams) Set

func (*NullableCreateVMParams) UnmarshalJSON

func (v *NullableCreateVMParams) UnmarshalJSON(src []byte) error

func (*NullableCreateVMParams) Unset

func (v *NullableCreateVMParams) Unset()

type NullableCronJob

type NullableCronJob struct {
	// contains filtered or unexported fields
}

func NewNullableCronJob

func NewNullableCronJob(val *CronJob) *NullableCronJob

func (NullableCronJob) Get

func (v NullableCronJob) Get() *CronJob

func (NullableCronJob) IsSet

func (v NullableCronJob) IsSet() bool

func (NullableCronJob) MarshalJSON

func (v NullableCronJob) MarshalJSON() ([]byte, error)

func (*NullableCronJob) Set

func (v *NullableCronJob) Set(val *CronJob)

func (*NullableCronJob) UnmarshalJSON

func (v *NullableCronJob) UnmarshalJSON(src []byte) error

func (*NullableCronJob) Unset

func (v *NullableCronJob) Unset()

type NullableCronJobSchedule

type NullableCronJobSchedule struct {
	// contains filtered or unexported fields
}

func NewNullableCronJobSchedule

func NewNullableCronJobSchedule(val *CronJobSchedule) *NullableCronJobSchedule

func (NullableCronJobSchedule) Get

func (NullableCronJobSchedule) IsSet

func (v NullableCronJobSchedule) IsSet() bool

func (NullableCronJobSchedule) MarshalJSON

func (v NullableCronJobSchedule) MarshalJSON() ([]byte, error)

func (*NullableCronJobSchedule) Set

func (*NullableCronJobSchedule) UnmarshalJSON

func (v *NullableCronJobSchedule) UnmarshalJSON(src []byte) error

func (*NullableCronJobSchedule) Unset

func (v *NullableCronJobSchedule) Unset()

type NullableDataset

type NullableDataset struct {
	// contains filtered or unexported fields
}

func NewNullableDataset

func NewNullableDataset(val *Dataset) *NullableDataset

func (NullableDataset) Get

func (v NullableDataset) Get() *Dataset

func (NullableDataset) IsSet

func (v NullableDataset) IsSet() bool

func (NullableDataset) MarshalJSON

func (v NullableDataset) MarshalJSON() ([]byte, error)

func (*NullableDataset) Set

func (v *NullableDataset) Set(val *Dataset)

func (*NullableDataset) UnmarshalJSON

func (v *NullableDataset) UnmarshalJSON(src []byte) error

func (*NullableDataset) Unset

func (v *NullableDataset) Unset()

type NullableDeleteGroupParams

type NullableDeleteGroupParams struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteGroupParams

func NewNullableDeleteGroupParams(val *DeleteGroupParams) *NullableDeleteGroupParams

func (NullableDeleteGroupParams) Get

func (NullableDeleteGroupParams) IsSet

func (v NullableDeleteGroupParams) IsSet() bool

func (NullableDeleteGroupParams) MarshalJSON

func (v NullableDeleteGroupParams) MarshalJSON() ([]byte, error)

func (*NullableDeleteGroupParams) Set

func (*NullableDeleteGroupParams) UnmarshalJSON

func (v *NullableDeleteGroupParams) UnmarshalJSON(src []byte) error

func (*NullableDeleteGroupParams) Unset

func (v *NullableDeleteGroupParams) Unset()

type NullableDeleteUserParams

type NullableDeleteUserParams struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteUserParams

func NewNullableDeleteUserParams(val *DeleteUserParams) *NullableDeleteUserParams

func (NullableDeleteUserParams) Get

func (NullableDeleteUserParams) IsSet

func (v NullableDeleteUserParams) IsSet() bool

func (NullableDeleteUserParams) MarshalJSON

func (v NullableDeleteUserParams) MarshalJSON() ([]byte, error)

func (*NullableDeleteUserParams) Set

func (*NullableDeleteUserParams) UnmarshalJSON

func (v *NullableDeleteUserParams) UnmarshalJSON(src []byte) error

func (*NullableDeleteUserParams) Unset

func (v *NullableDeleteUserParams) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGroup

type NullableGroup struct {
	// contains filtered or unexported fields
}

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNetworkConfig

type NullableNetworkConfig struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkConfig

func NewNullableNetworkConfig(val *NetworkConfig) *NullableNetworkConfig

func (NullableNetworkConfig) Get

func (NullableNetworkConfig) IsSet

func (v NullableNetworkConfig) IsSet() bool

func (NullableNetworkConfig) MarshalJSON

func (v NullableNetworkConfig) MarshalJSON() ([]byte, error)

func (*NullableNetworkConfig) Set

func (v *NullableNetworkConfig) Set(val *NetworkConfig)

func (*NullableNetworkConfig) UnmarshalJSON

func (v *NullableNetworkConfig) UnmarshalJSON(src []byte) error

func (*NullableNetworkConfig) Unset

func (v *NullableNetworkConfig) Unset()

type NullableNetworkConfigServiceAnnouncement

type NullableNetworkConfigServiceAnnouncement struct {
	// contains filtered or unexported fields
}

func (NullableNetworkConfigServiceAnnouncement) Get

func (NullableNetworkConfigServiceAnnouncement) IsSet

func (NullableNetworkConfigServiceAnnouncement) MarshalJSON

func (*NullableNetworkConfigServiceAnnouncement) Set

func (*NullableNetworkConfigServiceAnnouncement) UnmarshalJSON

func (v *NullableNetworkConfigServiceAnnouncement) UnmarshalJSON(src []byte) error

func (*NullableNetworkConfigServiceAnnouncement) Unset

type NullableNetworkSummary

type NullableNetworkSummary struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkSummary

func NewNullableNetworkSummary(val *NetworkSummary) *NullableNetworkSummary

func (NullableNetworkSummary) Get

func (NullableNetworkSummary) IsSet

func (v NullableNetworkSummary) IsSet() bool

func (NullableNetworkSummary) MarshalJSON

func (v NullableNetworkSummary) MarshalJSON() ([]byte, error)

func (*NullableNetworkSummary) Set

func (*NullableNetworkSummary) UnmarshalJSON

func (v *NullableNetworkSummary) UnmarshalJSON(src []byte) error

func (*NullableNetworkSummary) Unset

func (v *NullableNetworkSummary) Unset()

type NullableNetworkSummaryIpsValue

type NullableNetworkSummaryIpsValue struct {
	// contains filtered or unexported fields
}

func (NullableNetworkSummaryIpsValue) Get

func (NullableNetworkSummaryIpsValue) IsSet

func (NullableNetworkSummaryIpsValue) MarshalJSON

func (v NullableNetworkSummaryIpsValue) MarshalJSON() ([]byte, error)

func (*NullableNetworkSummaryIpsValue) Set

func (*NullableNetworkSummaryIpsValue) UnmarshalJSON

func (v *NullableNetworkSummaryIpsValue) UnmarshalJSON(src []byte) error

func (*NullableNetworkSummaryIpsValue) Unset

func (v *NullableNetworkSummaryIpsValue) Unset()

type NullablePool

type NullablePool struct {
	// contains filtered or unexported fields
}

func NewNullablePool

func NewNullablePool(val *Pool) *NullablePool

func (NullablePool) Get

func (v NullablePool) Get() *Pool

func (NullablePool) IsSet

func (v NullablePool) IsSet() bool

func (NullablePool) MarshalJSON

func (v NullablePool) MarshalJSON() ([]byte, error)

func (*NullablePool) Set

func (v *NullablePool) Set(val *Pool)

func (*NullablePool) UnmarshalJSON

func (v *NullablePool) UnmarshalJSON(src []byte) error

func (*NullablePool) Unset

func (v *NullablePool) Unset()

type NullableService

type NullableService struct {
	// contains filtered or unexported fields
}

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

func (v NullableService) MarshalJSON() ([]byte, error)

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

func (v *NullableService) UnmarshalJSON(src []byte) error

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableShareNFS

type NullableShareNFS struct {
	// contains filtered or unexported fields
}

func NewNullableShareNFS

func NewNullableShareNFS(val *ShareNFS) *NullableShareNFS

func (NullableShareNFS) Get

func (v NullableShareNFS) Get() *ShareNFS

func (NullableShareNFS) IsSet

func (v NullableShareNFS) IsSet() bool

func (NullableShareNFS) MarshalJSON

func (v NullableShareNFS) MarshalJSON() ([]byte, error)

func (*NullableShareNFS) Set

func (v *NullableShareNFS) Set(val *ShareNFS)

func (*NullableShareNFS) UnmarshalJSON

func (v *NullableShareNFS) UnmarshalJSON(src []byte) error

func (*NullableShareNFS) Unset

func (v *NullableShareNFS) Unset()

type NullableShareSMB

type NullableShareSMB struct {
	// contains filtered or unexported fields
}

func NewNullableShareSMB

func NewNullableShareSMB(val *ShareSMB) *NullableShareSMB

func (NullableShareSMB) Get

func (v NullableShareSMB) Get() *ShareSMB

func (NullableShareSMB) IsSet

func (v NullableShareSMB) IsSet() bool

func (NullableShareSMB) MarshalJSON

func (v NullableShareSMB) MarshalJSON() ([]byte, error)

func (*NullableShareSMB) Set

func (v *NullableShareSMB) Set(val *ShareSMB)

func (*NullableShareSMB) UnmarshalJSON

func (v *NullableShareSMB) UnmarshalJSON(src []byte) error

func (*NullableShareSMB) Unset

func (v *NullableShareSMB) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateDatasetParams

type NullableUpdateDatasetParams struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateDatasetParams

func NewNullableUpdateDatasetParams(val *UpdateDatasetParams) *NullableUpdateDatasetParams

func (NullableUpdateDatasetParams) Get

func (NullableUpdateDatasetParams) IsSet

func (NullableUpdateDatasetParams) MarshalJSON

func (v NullableUpdateDatasetParams) MarshalJSON() ([]byte, error)

func (*NullableUpdateDatasetParams) Set

func (*NullableUpdateDatasetParams) UnmarshalJSON

func (v *NullableUpdateDatasetParams) UnmarshalJSON(src []byte) error

func (*NullableUpdateDatasetParams) Unset

func (v *NullableUpdateDatasetParams) Unset()

type NullableUpdateUserParams

type NullableUpdateUserParams struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateUserParams

func NewNullableUpdateUserParams(val *UpdateUserParams) *NullableUpdateUserParams

func (NullableUpdateUserParams) Get

func (NullableUpdateUserParams) IsSet

func (v NullableUpdateUserParams) IsSet() bool

func (NullableUpdateUserParams) MarshalJSON

func (v NullableUpdateUserParams) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserParams) Set

func (*NullableUpdateUserParams) UnmarshalJSON

func (v *NullableUpdateUserParams) UnmarshalJSON(src []byte) error

func (*NullableUpdateUserParams) Unset

func (v *NullableUpdateUserParams) Unset()

type NullableUpdateVMParams

type NullableUpdateVMParams struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVMParams

func NewNullableUpdateVMParams(val *UpdateVMParams) *NullableUpdateVMParams

func (NullableUpdateVMParams) Get

func (NullableUpdateVMParams) IsSet

func (v NullableUpdateVMParams) IsSet() bool

func (NullableUpdateVMParams) MarshalJSON

func (v NullableUpdateVMParams) MarshalJSON() ([]byte, error)

func (*NullableUpdateVMParams) Set

func (*NullableUpdateVMParams) UnmarshalJSON

func (v *NullableUpdateVMParams) UnmarshalJSON(src []byte) error

func (*NullableUpdateVMParams) Unset

func (v *NullableUpdateVMParams) Unset()

type NullableUser

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserGroup

type NullableUserGroup struct {
	// contains filtered or unexported fields
}

func NewNullableUserGroup

func NewNullableUserGroup(val *UserGroup) *NullableUserGroup

func (NullableUserGroup) Get

func (v NullableUserGroup) Get() *UserGroup

func (NullableUserGroup) IsSet

func (v NullableUserGroup) IsSet() bool

func (NullableUserGroup) MarshalJSON

func (v NullableUserGroup) MarshalJSON() ([]byte, error)

func (*NullableUserGroup) Set

func (v *NullableUserGroup) Set(val *UserGroup)

func (*NullableUserGroup) UnmarshalJSON

func (v *NullableUserGroup) UnmarshalJSON(src []byte) error

func (*NullableUserGroup) Unset

func (v *NullableUserGroup) Unset()

type NullableVM

type NullableVM struct {
	// contains filtered or unexported fields
}

func NewNullableVM

func NewNullableVM(val *VM) *NullableVM

func (NullableVM) Get

func (v NullableVM) Get() *VM

func (NullableVM) IsSet

func (v NullableVM) IsSet() bool

func (NullableVM) MarshalJSON

func (v NullableVM) MarshalJSON() ([]byte, error)

func (*NullableVM) Set

func (v *NullableVM) Set(val *VM)

func (*NullableVM) UnmarshalJSON

func (v *NullableVM) UnmarshalJSON(src []byte) error

func (*NullableVM) Unset

func (v *NullableVM) Unset()

type NullableVMDevice

type NullableVMDevice struct {
	// contains filtered or unexported fields
}

func NewNullableVMDevice

func NewNullableVMDevice(val *VMDevice) *NullableVMDevice

func (NullableVMDevice) Get

func (v NullableVMDevice) Get() *VMDevice

func (NullableVMDevice) IsSet

func (v NullableVMDevice) IsSet() bool

func (NullableVMDevice) MarshalJSON

func (v NullableVMDevice) MarshalJSON() ([]byte, error)

func (*NullableVMDevice) Set

func (v *NullableVMDevice) Set(val *VMDevice)

func (*NullableVMDevice) UnmarshalJSON

func (v *NullableVMDevice) UnmarshalJSON(src []byte) error

func (*NullableVMDevice) Unset

func (v *NullableVMDevice) Unset()

type NullableVMStatus

type NullableVMStatus struct {
	// contains filtered or unexported fields
}

func NewNullableVMStatus

func NewNullableVMStatus(val *VMStatus) *NullableVMStatus

func (NullableVMStatus) Get

func (v NullableVMStatus) Get() *VMStatus

func (NullableVMStatus) IsSet

func (v NullableVMStatus) IsSet() bool

func (NullableVMStatus) MarshalJSON

func (v NullableVMStatus) MarshalJSON() ([]byte, error)

func (*NullableVMStatus) Set

func (v *NullableVMStatus) Set(val *VMStatus)

func (*NullableVMStatus) UnmarshalJSON

func (v *NullableVMStatus) UnmarshalJSON(src []byte) error

func (*NullableVMStatus) Unset

func (v *NullableVMStatus) Unset()

type Pool

type Pool struct {
	Id                   int32   `json:"id"`
	Name                 string  `json:"name"`
	Guid                 *string `json:"guid,omitempty"`
	Path                 string  `json:"path"`
	Status               *string `json:"status,omitempty"`
	Healthy              *bool   `json:"healthy,omitempty"`
	IsDecrypted          *bool   `json:"is_decrypted,omitempty"`
	EncryptkeyPath       *string `json:"encryptkey_path,omitempty"`
	AdditionalProperties map[string]interface{}
}

Pool struct for Pool

func NewPool

func NewPool(id int32, name string, path string) *Pool

NewPool instantiates a new Pool 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 NewPoolWithDefaults

func NewPoolWithDefaults() *Pool

NewPoolWithDefaults instantiates a new Pool 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 (*Pool) GetEncryptkeyPath

func (o *Pool) GetEncryptkeyPath() string

GetEncryptkeyPath returns the EncryptkeyPath field value if set, zero value otherwise.

func (*Pool) GetEncryptkeyPathOk

func (o *Pool) GetEncryptkeyPathOk() (*string, bool)

GetEncryptkeyPathOk returns a tuple with the EncryptkeyPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetGuid

func (o *Pool) GetGuid() string

GetGuid returns the Guid field value if set, zero value otherwise.

func (*Pool) GetGuidOk

func (o *Pool) GetGuidOk() (*string, bool)

GetGuidOk returns a tuple with the Guid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetHealthy

func (o *Pool) GetHealthy() bool

GetHealthy returns the Healthy field value if set, zero value otherwise.

func (*Pool) GetHealthyOk

func (o *Pool) GetHealthyOk() (*bool, bool)

GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetId

func (o *Pool) GetId() int32

GetId returns the Id field value

func (*Pool) GetIdOk

func (o *Pool) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Pool) GetIsDecrypted

func (o *Pool) GetIsDecrypted() bool

GetIsDecrypted returns the IsDecrypted field value if set, zero value otherwise.

func (*Pool) GetIsDecryptedOk

func (o *Pool) GetIsDecryptedOk() (*bool, bool)

GetIsDecryptedOk returns a tuple with the IsDecrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) GetName

func (o *Pool) GetName() string

GetName returns the Name field value

func (*Pool) GetNameOk

func (o *Pool) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Pool) GetPath

func (o *Pool) GetPath() string

GetPath returns the Path field value

func (*Pool) GetPathOk

func (o *Pool) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*Pool) GetStatus

func (o *Pool) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Pool) GetStatusOk

func (o *Pool) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pool) HasEncryptkeyPath

func (o *Pool) HasEncryptkeyPath() bool

HasEncryptkeyPath returns a boolean if a field has been set.

func (*Pool) HasGuid

func (o *Pool) HasGuid() bool

HasGuid returns a boolean if a field has been set.

func (*Pool) HasHealthy

func (o *Pool) HasHealthy() bool

HasHealthy returns a boolean if a field has been set.

func (*Pool) HasIsDecrypted

func (o *Pool) HasIsDecrypted() bool

HasIsDecrypted returns a boolean if a field has been set.

func (*Pool) HasStatus

func (o *Pool) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Pool) MarshalJSON

func (o Pool) MarshalJSON() ([]byte, error)

func (*Pool) SetEncryptkeyPath

func (o *Pool) SetEncryptkeyPath(v string)

SetEncryptkeyPath gets a reference to the given string and assigns it to the EncryptkeyPath field.

func (*Pool) SetGuid

func (o *Pool) SetGuid(v string)

SetGuid gets a reference to the given string and assigns it to the Guid field.

func (*Pool) SetHealthy

func (o *Pool) SetHealthy(v bool)

SetHealthy gets a reference to the given bool and assigns it to the Healthy field.

func (*Pool) SetId

func (o *Pool) SetId(v int32)

SetId sets field value

func (*Pool) SetIsDecrypted

func (o *Pool) SetIsDecrypted(v bool)

SetIsDecrypted gets a reference to the given bool and assigns it to the IsDecrypted field.

func (*Pool) SetName

func (o *Pool) SetName(v string)

SetName sets field value

func (*Pool) SetPath

func (o *Pool) SetPath(v string)

SetPath sets field value

func (*Pool) SetStatus

func (o *Pool) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Pool) UnmarshalJSON

func (o *Pool) UnmarshalJSON(bytes []byte) (err error)

type PoolApiService

type PoolApiService service

PoolApiService PoolApi service

func (*PoolApiService) ListPools

ListPools Method for ListPools

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPoolsRequest

func (*PoolApiService) ListPoolsExecute

func (a *PoolApiService) ListPoolsExecute(r ApiListPoolsRequest) ([]Pool, *http.Response, error)

Execute executes the request

@return []Pool

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Service

type Service struct {
	Id                   int32   `json:"id"`
	Service              string  `json:"service"`
	Enable               *bool   `json:"enable,omitempty"`
	State                *string `json:"state,omitempty"`
	Pids                 []int32 `json:"pids,omitempty"`
	AdditionalProperties map[string]interface{}
}

Service struct for Service

func NewService

func NewService(id int32, service string) *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

func 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

func (*Service) GetEnable

func (o *Service) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*Service) GetEnableOk

func (o *Service) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetId

func (o *Service) GetId() int32

GetId returns the Id field value

func (*Service) GetIdOk

func (o *Service) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Service) GetPids

func (o *Service) GetPids() []int32

GetPids returns the Pids field value if set, zero value otherwise.

func (*Service) GetPidsOk

func (o *Service) GetPidsOk() ([]int32, bool)

GetPidsOk returns a tuple with the Pids field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetService

func (o *Service) GetService() string

GetService returns the Service field value

func (*Service) GetServiceOk

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

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*Service) GetState

func (o *Service) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Service) GetStateOk

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

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) HasEnable

func (o *Service) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*Service) HasPids

func (o *Service) HasPids() bool

HasPids returns a boolean if a field has been set.

func (*Service) HasState

func (o *Service) HasState() bool

HasState returns a boolean if a field has been set.

func (Service) MarshalJSON

func (o Service) MarshalJSON() ([]byte, error)

func (*Service) SetEnable

func (o *Service) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*Service) SetId

func (o *Service) SetId(v int32)

SetId sets field value

func (*Service) SetPids

func (o *Service) SetPids(v []int32)

SetPids gets a reference to the given []int32 and assigns it to the Pids field.

func (*Service) SetService

func (o *Service) SetService(v string)

SetService sets field value

func (*Service) SetState

func (o *Service) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Service) UnmarshalJSON

func (o *Service) UnmarshalJSON(bytes []byte) (err error)

type ServiceApiService

type ServiceApiService service

ServiceApiService ServiceApi service

func (*ServiceApiService) GetService

GetService Method for GetService

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID of the cronjob
@return ApiGetServiceRequest

func (*ServiceApiService) GetServiceExecute

func (a *ServiceApiService) GetServiceExecute(r ApiGetServiceRequest) (*Service, *http.Response, error)

Execute executes the request

@return Service

type ShareNFS

type ShareNFS struct {
	Id int32 `json:"id"`
	// `path` local path to be exported.
	Path *string `json:"path,omitempty"`
	// `aliases` IGNORED, for now.
	Aliases []string `json:"aliases,omitempty"`
	Comment *string  `json:"comment,omitempty"`
	// `networks` is a list of authorized networks that are allowed to access the share having format \"network/mask\" CIDR notation. If empty, all networks are allowed.
	Networks             []string       `json:"networks,omitempty"`
	Hosts                []string       `json:"hosts,omitempty"`
	Alldirs              *bool          `json:"alldirs,omitempty"`
	Ro                   *bool          `json:"ro,omitempty"`
	Quiet                *bool          `json:"quiet,omitempty"`
	MaprootUser          NullableString `json:"maproot_user,omitempty"`
	MaprootGroup         NullableString `json:"maproot_group,omitempty"`
	MapallUser           NullableString `json:"mapall_user,omitempty"`
	MapallGroup          NullableString `json:"mapall_group,omitempty"`
	Security             []string       `json:"security,omitempty"`
	Enabled              *bool          `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

ShareNFS struct for ShareNFS

func NewShareNFS

func NewShareNFS(id int32) *ShareNFS

NewShareNFS instantiates a new ShareNFS 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 NewShareNFSWithDefaults

func NewShareNFSWithDefaults() *ShareNFS

NewShareNFSWithDefaults instantiates a new ShareNFS 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 (*ShareNFS) GetAliases

func (o *ShareNFS) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*ShareNFS) GetAliasesOk

func (o *ShareNFS) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetAlldirs

func (o *ShareNFS) GetAlldirs() bool

GetAlldirs returns the Alldirs field value if set, zero value otherwise.

func (*ShareNFS) GetAlldirsOk

func (o *ShareNFS) GetAlldirsOk() (*bool, bool)

GetAlldirsOk returns a tuple with the Alldirs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetComment

func (o *ShareNFS) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ShareNFS) GetCommentOk

func (o *ShareNFS) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetEnabled

func (o *ShareNFS) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ShareNFS) GetEnabledOk

func (o *ShareNFS) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetHosts

func (o *ShareNFS) GetHosts() []string

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*ShareNFS) GetHostsOk

func (o *ShareNFS) GetHostsOk() ([]string, bool)

GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetId

func (o *ShareNFS) GetId() int32

GetId returns the Id field value

func (*ShareNFS) GetIdOk

func (o *ShareNFS) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ShareNFS) GetMapallGroup

func (o *ShareNFS) GetMapallGroup() string

GetMapallGroup returns the MapallGroup field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShareNFS) GetMapallGroupOk

func (o *ShareNFS) GetMapallGroupOk() (*string, bool)

GetMapallGroupOk returns a tuple with the MapallGroup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShareNFS) GetMapallUser

func (o *ShareNFS) GetMapallUser() string

GetMapallUser returns the MapallUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShareNFS) GetMapallUserOk

func (o *ShareNFS) GetMapallUserOk() (*string, bool)

GetMapallUserOk returns a tuple with the MapallUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShareNFS) GetMaprootGroup

func (o *ShareNFS) GetMaprootGroup() string

GetMaprootGroup returns the MaprootGroup field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShareNFS) GetMaprootGroupOk

func (o *ShareNFS) GetMaprootGroupOk() (*string, bool)

GetMaprootGroupOk returns a tuple with the MaprootGroup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShareNFS) GetMaprootUser

func (o *ShareNFS) GetMaprootUser() string

GetMaprootUser returns the MaprootUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShareNFS) GetMaprootUserOk

func (o *ShareNFS) GetMaprootUserOk() (*string, bool)

GetMaprootUserOk returns a tuple with the MaprootUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShareNFS) GetNetworks

func (o *ShareNFS) GetNetworks() []string

GetNetworks returns the Networks field value if set, zero value otherwise.

func (*ShareNFS) GetNetworksOk

func (o *ShareNFS) GetNetworksOk() ([]string, bool)

GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetPath

func (o *ShareNFS) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*ShareNFS) GetPathOk

func (o *ShareNFS) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetQuiet

func (o *ShareNFS) GetQuiet() bool

GetQuiet returns the Quiet field value if set, zero value otherwise.

func (*ShareNFS) GetQuietOk

func (o *ShareNFS) GetQuietOk() (*bool, bool)

GetQuietOk returns a tuple with the Quiet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetRo

func (o *ShareNFS) GetRo() bool

GetRo returns the Ro field value if set, zero value otherwise.

func (*ShareNFS) GetRoOk

func (o *ShareNFS) GetRoOk() (*bool, bool)

GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) GetSecurity

func (o *ShareNFS) GetSecurity() []string

GetSecurity returns the Security field value if set, zero value otherwise.

func (*ShareNFS) GetSecurityOk

func (o *ShareNFS) GetSecurityOk() ([]string, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareNFS) HasAliases

func (o *ShareNFS) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*ShareNFS) HasAlldirs

func (o *ShareNFS) HasAlldirs() bool

HasAlldirs returns a boolean if a field has been set.

func (*ShareNFS) HasComment

func (o *ShareNFS) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ShareNFS) HasEnabled

func (o *ShareNFS) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ShareNFS) HasHosts

func (o *ShareNFS) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*ShareNFS) HasMapallGroup

func (o *ShareNFS) HasMapallGroup() bool

HasMapallGroup returns a boolean if a field has been set.

func (*ShareNFS) HasMapallUser

func (o *ShareNFS) HasMapallUser() bool

HasMapallUser returns a boolean if a field has been set.

func (*ShareNFS) HasMaprootGroup

func (o *ShareNFS) HasMaprootGroup() bool

HasMaprootGroup returns a boolean if a field has been set.

func (*ShareNFS) HasMaprootUser

func (o *ShareNFS) HasMaprootUser() bool

HasMaprootUser returns a boolean if a field has been set.

func (*ShareNFS) HasNetworks

func (o *ShareNFS) HasNetworks() bool

HasNetworks returns a boolean if a field has been set.

func (*ShareNFS) HasPath

func (o *ShareNFS) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ShareNFS) HasQuiet

func (o *ShareNFS) HasQuiet() bool

HasQuiet returns a boolean if a field has been set.

func (*ShareNFS) HasRo

func (o *ShareNFS) HasRo() bool

HasRo returns a boolean if a field has been set.

func (*ShareNFS) HasSecurity

func (o *ShareNFS) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (ShareNFS) MarshalJSON

func (o ShareNFS) MarshalJSON() ([]byte, error)

func (*ShareNFS) SetAliases

func (o *ShareNFS) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*ShareNFS) SetAlldirs

func (o *ShareNFS) SetAlldirs(v bool)

SetAlldirs gets a reference to the given bool and assigns it to the Alldirs field.

func (*ShareNFS) SetComment

func (o *ShareNFS) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ShareNFS) SetEnabled

func (o *ShareNFS) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*ShareNFS) SetHosts

func (o *ShareNFS) SetHosts(v []string)

SetHosts gets a reference to the given []string and assigns it to the Hosts field.

func (*ShareNFS) SetId

func (o *ShareNFS) SetId(v int32)

SetId sets field value

func (*ShareNFS) SetMapallGroup

func (o *ShareNFS) SetMapallGroup(v string)

SetMapallGroup gets a reference to the given NullableString and assigns it to the MapallGroup field.

func (*ShareNFS) SetMapallGroupNil

func (o *ShareNFS) SetMapallGroupNil()

SetMapallGroupNil sets the value for MapallGroup to be an explicit nil

func (*ShareNFS) SetMapallUser

func (o *ShareNFS) SetMapallUser(v string)

SetMapallUser gets a reference to the given NullableString and assigns it to the MapallUser field.

func (*ShareNFS) SetMapallUserNil

func (o *ShareNFS) SetMapallUserNil()

SetMapallUserNil sets the value for MapallUser to be an explicit nil

func (*ShareNFS) SetMaprootGroup

func (o *ShareNFS) SetMaprootGroup(v string)

SetMaprootGroup gets a reference to the given NullableString and assigns it to the MaprootGroup field.

func (*ShareNFS) SetMaprootGroupNil

func (o *ShareNFS) SetMaprootGroupNil()

SetMaprootGroupNil sets the value for MaprootGroup to be an explicit nil

func (*ShareNFS) SetMaprootUser

func (o *ShareNFS) SetMaprootUser(v string)

SetMaprootUser gets a reference to the given NullableString and assigns it to the MaprootUser field.

func (*ShareNFS) SetMaprootUserNil

func (o *ShareNFS) SetMaprootUserNil()

SetMaprootUserNil sets the value for MaprootUser to be an explicit nil

func (*ShareNFS) SetNetworks

func (o *ShareNFS) SetNetworks(v []string)

SetNetworks gets a reference to the given []string and assigns it to the Networks field.

func (*ShareNFS) SetPath

func (o *ShareNFS) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*ShareNFS) SetQuiet

func (o *ShareNFS) SetQuiet(v bool)

SetQuiet gets a reference to the given bool and assigns it to the Quiet field.

func (*ShareNFS) SetRo

func (o *ShareNFS) SetRo(v bool)

SetRo gets a reference to the given bool and assigns it to the Ro field.

func (*ShareNFS) SetSecurity

func (o *ShareNFS) SetSecurity(v []string)

SetSecurity gets a reference to the given []string and assigns it to the Security field.

func (*ShareNFS) UnmarshalJSON

func (o *ShareNFS) UnmarshalJSON(bytes []byte) (err error)

func (*ShareNFS) UnsetMapallGroup

func (o *ShareNFS) UnsetMapallGroup()

UnsetMapallGroup ensures that no value is present for MapallGroup, not even an explicit nil

func (*ShareNFS) UnsetMapallUser

func (o *ShareNFS) UnsetMapallUser()

UnsetMapallUser ensures that no value is present for MapallUser, not even an explicit nil

func (*ShareNFS) UnsetMaprootGroup

func (o *ShareNFS) UnsetMaprootGroup()

UnsetMaprootGroup ensures that no value is present for MaprootGroup, not even an explicit nil

func (*ShareNFS) UnsetMaprootUser

func (o *ShareNFS) UnsetMaprootUser()

UnsetMaprootUser ensures that no value is present for MaprootUser, not even an explicit nil

type ShareSMB

type ShareSMB struct {
	Id                   int32    `json:"id"`
	Path                 string   `json:"path"`
	PathSuffix           *string  `json:"path_suffix,omitempty"`
	Purpose              *string  `json:"purpose,omitempty"`
	Home                 *bool    `json:"home,omitempty"`
	Timemachine          *bool    `json:"timemachine,omitempty"`
	Name                 *string  `json:"name,omitempty"`
	Comment              *string  `json:"comment,omitempty"`
	Ro                   *bool    `json:"ro,omitempty"`
	Browsable            *bool    `json:"browsable,omitempty"`
	Recyclebin           *bool    `json:"recyclebin,omitempty"`
	Shadowcopy           *bool    `json:"shadowcopy,omitempty"`
	Guestok              *bool    `json:"guestok,omitempty"`
	Abe                  *bool    `json:"abe,omitempty"`
	Hostsallow           []string `json:"hostsallow,omitempty"`
	Hostsdeny            []string `json:"hostsdeny,omitempty"`
	AaplNameMangling     *bool    `json:"aapl_name_mangling,omitempty"`
	Acl                  *bool    `json:"acl,omitempty"`
	Durablehandle        *bool    `json:"durablehandle,omitempty"`
	Streams              *bool    `json:"streams,omitempty"`
	Fsrvp                *bool    `json:"fsrvp,omitempty"`
	Auxsmbconf           *string  `json:"auxsmbconf,omitempty"`
	Enabled              *bool    `json:"enabled,omitempty"`
	Locked               *bool    `json:"locked,omitempty"`
	Vuid                 *string  `json:"vuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

ShareSMB struct for ShareSMB

func NewShareSMB

func NewShareSMB(id int32, path string) *ShareSMB

NewShareSMB instantiates a new ShareSMB 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 NewShareSMBWithDefaults

func NewShareSMBWithDefaults() *ShareSMB

NewShareSMBWithDefaults instantiates a new ShareSMB 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 (*ShareSMB) GetAaplNameMangling

func (o *ShareSMB) GetAaplNameMangling() bool

GetAaplNameMangling returns the AaplNameMangling field value if set, zero value otherwise.

func (*ShareSMB) GetAaplNameManglingOk

func (o *ShareSMB) GetAaplNameManglingOk() (*bool, bool)

GetAaplNameManglingOk returns a tuple with the AaplNameMangling field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetAbe

func (o *ShareSMB) GetAbe() bool

GetAbe returns the Abe field value if set, zero value otherwise.

func (*ShareSMB) GetAbeOk

func (o *ShareSMB) GetAbeOk() (*bool, bool)

GetAbeOk returns a tuple with the Abe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetAcl

func (o *ShareSMB) GetAcl() bool

GetAcl returns the Acl field value if set, zero value otherwise.

func (*ShareSMB) GetAclOk

func (o *ShareSMB) GetAclOk() (*bool, bool)

GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetAuxsmbconf

func (o *ShareSMB) GetAuxsmbconf() string

GetAuxsmbconf returns the Auxsmbconf field value if set, zero value otherwise.

func (*ShareSMB) GetAuxsmbconfOk

func (o *ShareSMB) GetAuxsmbconfOk() (*string, bool)

GetAuxsmbconfOk returns a tuple with the Auxsmbconf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetBrowsable

func (o *ShareSMB) GetBrowsable() bool

GetBrowsable returns the Browsable field value if set, zero value otherwise.

func (*ShareSMB) GetBrowsableOk

func (o *ShareSMB) GetBrowsableOk() (*bool, bool)

GetBrowsableOk returns a tuple with the Browsable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetComment

func (o *ShareSMB) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ShareSMB) GetCommentOk

func (o *ShareSMB) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetDurablehandle

func (o *ShareSMB) GetDurablehandle() bool

GetDurablehandle returns the Durablehandle field value if set, zero value otherwise.

func (*ShareSMB) GetDurablehandleOk

func (o *ShareSMB) GetDurablehandleOk() (*bool, bool)

GetDurablehandleOk returns a tuple with the Durablehandle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetEnabled

func (o *ShareSMB) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ShareSMB) GetEnabledOk

func (o *ShareSMB) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetFsrvp

func (o *ShareSMB) GetFsrvp() bool

GetFsrvp returns the Fsrvp field value if set, zero value otherwise.

func (*ShareSMB) GetFsrvpOk

func (o *ShareSMB) GetFsrvpOk() (*bool, bool)

GetFsrvpOk returns a tuple with the Fsrvp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetGuestok

func (o *ShareSMB) GetGuestok() bool

GetGuestok returns the Guestok field value if set, zero value otherwise.

func (*ShareSMB) GetGuestokOk

func (o *ShareSMB) GetGuestokOk() (*bool, bool)

GetGuestokOk returns a tuple with the Guestok field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetHome

func (o *ShareSMB) GetHome() bool

GetHome returns the Home field value if set, zero value otherwise.

func (*ShareSMB) GetHomeOk

func (o *ShareSMB) GetHomeOk() (*bool, bool)

GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetHostsallow

func (o *ShareSMB) GetHostsallow() []string

GetHostsallow returns the Hostsallow field value if set, zero value otherwise.

func (*ShareSMB) GetHostsallowOk

func (o *ShareSMB) GetHostsallowOk() ([]string, bool)

GetHostsallowOk returns a tuple with the Hostsallow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetHostsdeny

func (o *ShareSMB) GetHostsdeny() []string

GetHostsdeny returns the Hostsdeny field value if set, zero value otherwise.

func (*ShareSMB) GetHostsdenyOk

func (o *ShareSMB) GetHostsdenyOk() ([]string, bool)

GetHostsdenyOk returns a tuple with the Hostsdeny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetId

func (o *ShareSMB) GetId() int32

GetId returns the Id field value

func (*ShareSMB) GetIdOk

func (o *ShareSMB) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ShareSMB) GetLocked

func (o *ShareSMB) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*ShareSMB) GetLockedOk

func (o *ShareSMB) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetName

func (o *ShareSMB) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ShareSMB) GetNameOk

func (o *ShareSMB) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetPath

func (o *ShareSMB) GetPath() string

GetPath returns the Path field value

func (*ShareSMB) GetPathOk

func (o *ShareSMB) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*ShareSMB) GetPathSuffix

func (o *ShareSMB) GetPathSuffix() string

GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.

func (*ShareSMB) GetPathSuffixOk

func (o *ShareSMB) GetPathSuffixOk() (*string, bool)

GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetPurpose

func (o *ShareSMB) GetPurpose() string

GetPurpose returns the Purpose field value if set, zero value otherwise.

func (*ShareSMB) GetPurposeOk

func (o *ShareSMB) GetPurposeOk() (*string, bool)

GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetRecyclebin

func (o *ShareSMB) GetRecyclebin() bool

GetRecyclebin returns the Recyclebin field value if set, zero value otherwise.

func (*ShareSMB) GetRecyclebinOk

func (o *ShareSMB) GetRecyclebinOk() (*bool, bool)

GetRecyclebinOk returns a tuple with the Recyclebin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetRo

func (o *ShareSMB) GetRo() bool

GetRo returns the Ro field value if set, zero value otherwise.

func (*ShareSMB) GetRoOk

func (o *ShareSMB) GetRoOk() (*bool, bool)

GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetShadowcopy

func (o *ShareSMB) GetShadowcopy() bool

GetShadowcopy returns the Shadowcopy field value if set, zero value otherwise.

func (*ShareSMB) GetShadowcopyOk

func (o *ShareSMB) GetShadowcopyOk() (*bool, bool)

GetShadowcopyOk returns a tuple with the Shadowcopy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetStreams

func (o *ShareSMB) GetStreams() bool

GetStreams returns the Streams field value if set, zero value otherwise.

func (*ShareSMB) GetStreamsOk

func (o *ShareSMB) GetStreamsOk() (*bool, bool)

GetStreamsOk returns a tuple with the Streams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetTimemachine

func (o *ShareSMB) GetTimemachine() bool

GetTimemachine returns the Timemachine field value if set, zero value otherwise.

func (*ShareSMB) GetTimemachineOk

func (o *ShareSMB) GetTimemachineOk() (*bool, bool)

GetTimemachineOk returns a tuple with the Timemachine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) GetVuid

func (o *ShareSMB) GetVuid() string

GetVuid returns the Vuid field value if set, zero value otherwise.

func (*ShareSMB) GetVuidOk

func (o *ShareSMB) GetVuidOk() (*string, bool)

GetVuidOk returns a tuple with the Vuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareSMB) HasAaplNameMangling

func (o *ShareSMB) HasAaplNameMangling() bool

HasAaplNameMangling returns a boolean if a field has been set.

func (*ShareSMB) HasAbe

func (o *ShareSMB) HasAbe() bool

HasAbe returns a boolean if a field has been set.

func (*ShareSMB) HasAcl

func (o *ShareSMB) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*ShareSMB) HasAuxsmbconf

func (o *ShareSMB) HasAuxsmbconf() bool

HasAuxsmbconf returns a boolean if a field has been set.

func (*ShareSMB) HasBrowsable

func (o *ShareSMB) HasBrowsable() bool

HasBrowsable returns a boolean if a field has been set.

func (*ShareSMB) HasComment

func (o *ShareSMB) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ShareSMB) HasDurablehandle

func (o *ShareSMB) HasDurablehandle() bool

HasDurablehandle returns a boolean if a field has been set.

func (*ShareSMB) HasEnabled

func (o *ShareSMB) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ShareSMB) HasFsrvp

func (o *ShareSMB) HasFsrvp() bool

HasFsrvp returns a boolean if a field has been set.

func (*ShareSMB) HasGuestok

func (o *ShareSMB) HasGuestok() bool

HasGuestok returns a boolean if a field has been set.

func (*ShareSMB) HasHome

func (o *ShareSMB) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*ShareSMB) HasHostsallow

func (o *ShareSMB) HasHostsallow() bool

HasHostsallow returns a boolean if a field has been set.

func (*ShareSMB) HasHostsdeny

func (o *ShareSMB) HasHostsdeny() bool

HasHostsdeny returns a boolean if a field has been set.

func (*ShareSMB) HasLocked

func (o *ShareSMB) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*ShareSMB) HasName

func (o *ShareSMB) HasName() bool

HasName returns a boolean if a field has been set.

func (*ShareSMB) HasPathSuffix

func (o *ShareSMB) HasPathSuffix() bool

HasPathSuffix returns a boolean if a field has been set.

func (*ShareSMB) HasPurpose

func (o *ShareSMB) HasPurpose() bool

HasPurpose returns a boolean if a field has been set.

func (*ShareSMB) HasRecyclebin

func (o *ShareSMB) HasRecyclebin() bool

HasRecyclebin returns a boolean if a field has been set.

func (*ShareSMB) HasRo

func (o *ShareSMB) HasRo() bool

HasRo returns a boolean if a field has been set.

func (*ShareSMB) HasShadowcopy

func (o *ShareSMB) HasShadowcopy() bool

HasShadowcopy returns a boolean if a field has been set.

func (*ShareSMB) HasStreams

func (o *ShareSMB) HasStreams() bool

HasStreams returns a boolean if a field has been set.

func (*ShareSMB) HasTimemachine

func (o *ShareSMB) HasTimemachine() bool

HasTimemachine returns a boolean if a field has been set.

func (*ShareSMB) HasVuid

func (o *ShareSMB) HasVuid() bool

HasVuid returns a boolean if a field has been set.

func (ShareSMB) MarshalJSON

func (o ShareSMB) MarshalJSON() ([]byte, error)

func (*ShareSMB) SetAaplNameMangling

func (o *ShareSMB) SetAaplNameMangling(v bool)

SetAaplNameMangling gets a reference to the given bool and assigns it to the AaplNameMangling field.

func (*ShareSMB) SetAbe

func (o *ShareSMB) SetAbe(v bool)

SetAbe gets a reference to the given bool and assigns it to the Abe field.

func (*ShareSMB) SetAcl

func (o *ShareSMB) SetAcl(v bool)

SetAcl gets a reference to the given bool and assigns it to the Acl field.

func (*ShareSMB) SetAuxsmbconf

func (o *ShareSMB) SetAuxsmbconf(v string)

SetAuxsmbconf gets a reference to the given string and assigns it to the Auxsmbconf field.

func (*ShareSMB) SetBrowsable

func (o *ShareSMB) SetBrowsable(v bool)

SetBrowsable gets a reference to the given bool and assigns it to the Browsable field.

func (*ShareSMB) SetComment

func (o *ShareSMB) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ShareSMB) SetDurablehandle

func (o *ShareSMB) SetDurablehandle(v bool)

SetDurablehandle gets a reference to the given bool and assigns it to the Durablehandle field.

func (*ShareSMB) SetEnabled

func (o *ShareSMB) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*ShareSMB) SetFsrvp

func (o *ShareSMB) SetFsrvp(v bool)

SetFsrvp gets a reference to the given bool and assigns it to the Fsrvp field.

func (*ShareSMB) SetGuestok

func (o *ShareSMB) SetGuestok(v bool)

SetGuestok gets a reference to the given bool and assigns it to the Guestok field.

func (*ShareSMB) SetHome

func (o *ShareSMB) SetHome(v bool)

SetHome gets a reference to the given bool and assigns it to the Home field.

func (*ShareSMB) SetHostsallow

func (o *ShareSMB) SetHostsallow(v []string)

SetHostsallow gets a reference to the given []string and assigns it to the Hostsallow field.

func (*ShareSMB) SetHostsdeny

func (o *ShareSMB) SetHostsdeny(v []string)

SetHostsdeny gets a reference to the given []string and assigns it to the Hostsdeny field.

func (*ShareSMB) SetId

func (o *ShareSMB) SetId(v int32)

SetId sets field value

func (*ShareSMB) SetLocked

func (o *ShareSMB) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*ShareSMB) SetName

func (o *ShareSMB) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ShareSMB) SetPath

func (o *ShareSMB) SetPath(v string)

SetPath sets field value

func (*ShareSMB) SetPathSuffix

func (o *ShareSMB) SetPathSuffix(v string)

SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.

func (*ShareSMB) SetPurpose

func (o *ShareSMB) SetPurpose(v string)

SetPurpose gets a reference to the given string and assigns it to the Purpose field.

func (*ShareSMB) SetRecyclebin

func (o *ShareSMB) SetRecyclebin(v bool)

SetRecyclebin gets a reference to the given bool and assigns it to the Recyclebin field.

func (*ShareSMB) SetRo

func (o *ShareSMB) SetRo(v bool)

SetRo gets a reference to the given bool and assigns it to the Ro field.

func (*ShareSMB) SetShadowcopy

func (o *ShareSMB) SetShadowcopy(v bool)

SetShadowcopy gets a reference to the given bool and assigns it to the Shadowcopy field.

func (*ShareSMB) SetStreams

func (o *ShareSMB) SetStreams(v bool)

SetStreams gets a reference to the given bool and assigns it to the Streams field.

func (*ShareSMB) SetTimemachine

func (o *ShareSMB) SetTimemachine(v bool)

SetTimemachine gets a reference to the given bool and assigns it to the Timemachine field.

func (*ShareSMB) SetVuid

func (o *ShareSMB) SetVuid(v string)

SetVuid gets a reference to the given string and assigns it to the Vuid field.

func (*ShareSMB) UnmarshalJSON

func (o *ShareSMB) UnmarshalJSON(bytes []byte) (err error)

type SharingApiService

type SharingApiService service

SharingApiService SharingApi service

func (*SharingApiService) CreateShareNFS

CreateShareNFS Method for CreateShareNFS

Create a new NFS Share.

`paths` is a list of valid paths which are configured to be shared on this share.

`networks` is a list of authorized networks that are allowed to access the share having format "network/mask" CIDR notation. If empty, all networks are allowed.

`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are allowed.

`alldirs` is a boolean value which when set indicates that the client can mount any subdirectories of the selected pool or dataset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateShareNFSRequest

func (*SharingApiService) CreateShareNFSExecute

func (a *SharingApiService) CreateShareNFSExecute(r ApiCreateShareNFSRequest) (*ShareNFS, *http.Response, error)

Execute executes the request

@return ShareNFS

func (*SharingApiService) CreateShareSMB

CreateShareSMB Method for CreateShareSMB

Create an SMB Share.

`purpose` applies common configuration presets depending on intended purpose.

`timemachine` when set, enables Time Machine backups for this share.

`ro` when enabled, prohibits write access to the share.

`guestok` when enabled, allows access to this share without a password.

`hostsallow` is a list of hostnames / IP addresses which have access to this share.

`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful of hostnames are to be only allowed access, `hostsdeny` can be passed "ALL" which means that it will deny access to ALL hostnames except for the ones which have been listed in `hostsallow`.

`acl` enables support for storing the SMB Security Descriptor as a Filesystem ACL.

`streams` enables support for storing alternate datastreams as filesystem extended attributes.

`fsrvp` enables support for the filesystem remote VSS protocol. This allows clients to create ZFS snapshots through RPC.

`shadowcopy` enables support for the volume shadow copy service.

`auxsmbconf` is a string of additional smb4.conf parameters not covered by the system's API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateShareSMBRequest

func (*SharingApiService) CreateShareSMBExecute

func (a *SharingApiService) CreateShareSMBExecute(r ApiCreateShareSMBRequest) (*ShareSMB, *http.Response, error)

Execute executes the request

@return ShareSMB

func (*SharingApiService) GetShareNFS

GetShareNFS Method for GetShareNFS

Get NFS Share of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetShareNFSRequest

func (*SharingApiService) GetShareNFSExecute

func (a *SharingApiService) GetShareNFSExecute(r ApiGetShareNFSRequest) (*ShareNFS, *http.Response, error)

Execute executes the request

@return ShareNFS

func (*SharingApiService) GetShareSMB

GetShareSMB Method for GetShareSMB

Get SMB Share of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetShareSMBRequest

func (*SharingApiService) GetShareSMBExecute

func (a *SharingApiService) GetShareSMBExecute(r ApiGetShareSMBRequest) (*ShareSMB, *http.Response, error)

Execute executes the request

@return ShareSMB

func (*SharingApiService) ListSharesNFS

ListSharesNFS Method for ListSharesNFS

Get a list of NFS shares

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSharesNFSRequest

func (*SharingApiService) ListSharesNFSExecute

func (a *SharingApiService) ListSharesNFSExecute(r ApiListSharesNFSRequest) ([]ShareNFS, *http.Response, error)

Execute executes the request

@return []ShareNFS

func (*SharingApiService) ListSharesSMB

ListSharesSMB Method for ListSharesSMB

Get a list of SMB shares

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSharesSMBRequest

func (*SharingApiService) ListSharesSMBExecute

func (a *SharingApiService) ListSharesSMBExecute(r ApiListSharesSMBRequest) ([]ShareSMB, *http.Response, error)

Execute executes the request

@return []ShareSMB

func (*SharingApiService) RemoveShareNFS

func (a *SharingApiService) RemoveShareNFS(ctx context.Context, id int32) ApiRemoveShareNFSRequest

RemoveShareNFS Method for RemoveShareNFS

Delete NFS Share of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiRemoveShareNFSRequest

func (*SharingApiService) RemoveShareNFSExecute

func (a *SharingApiService) RemoveShareNFSExecute(r ApiRemoveShareNFSRequest) (*http.Response, error)

Execute executes the request

func (*SharingApiService) RemoveShareSMB

func (a *SharingApiService) RemoveShareSMB(ctx context.Context, id int32) ApiRemoveShareSMBRequest

RemoveShareSMB Method for RemoveShareSMB

Delete SMB Share of `id`. This will forcibly disconnect SMB clients that are accessing the share.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiRemoveShareSMBRequest

func (*SharingApiService) RemoveShareSMBExecute

func (a *SharingApiService) RemoveShareSMBExecute(r ApiRemoveShareSMBRequest) (*http.Response, error)

Execute executes the request

func (*SharingApiService) UpdateShareNFS

func (a *SharingApiService) UpdateShareNFS(ctx context.Context, id int32) ApiUpdateShareNFSRequest

UpdateShareNFS Method for UpdateShareNFS

Update NFS Share of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateShareNFSRequest

func (*SharingApiService) UpdateShareNFSExecute

func (a *SharingApiService) UpdateShareNFSExecute(r ApiUpdateShareNFSRequest) (*ShareNFS, *http.Response, error)

Execute executes the request

@return ShareNFS

func (*SharingApiService) UpdateShareSMB

func (a *SharingApiService) UpdateShareSMB(ctx context.Context, id int32) ApiUpdateShareSMBRequest

UpdateShareSMB Method for UpdateShareSMB

Update SMB Share of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateShareSMBRequest

func (*SharingApiService) UpdateShareSMBExecute

func (a *SharingApiService) UpdateShareSMBExecute(r ApiUpdateShareSMBRequest) (*ShareSMB, *http.Response, error)

Execute executes the request

@return ShareSMB

type UpdateDatasetParams

type UpdateDatasetParams struct {
	Atime                *string `json:"atime,omitempty"`
	Aclmode              *string `json:"aclmode,omitempty"`
	Comments             *string `json:"comments,omitempty"`
	Compression          *string `json:"compression,omitempty"`
	Copies               *int32  `json:"copies,omitempty"`
	Deduplication        *string `json:"deduplication,omitempty"`
	Exec                 *string `json:"exec,omitempty"`
	ForceSize            *bool   `json:"force_size,omitempty"`
	Quota                *int64  `json:"quota,omitempty"`
	Readonly             *string `json:"readonly,omitempty"`
	Recordsize           *string `json:"recordsize,omitempty"`
	Refquota             *int64  `json:"refquota,omitempty"`
	Refreservation       *int64  `json:"refreservation,omitempty"`
	Volsize              *int64  `json:"volsize,omitempty"`
	Snapdir              *string `json:"snapdir,omitempty"`
	Sync                 *string `json:"sync,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateDatasetParams struct for UpdateDatasetParams

func NewUpdateDatasetParams

func NewUpdateDatasetParams() *UpdateDatasetParams

NewUpdateDatasetParams instantiates a new UpdateDatasetParams 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 NewUpdateDatasetParamsWithDefaults

func NewUpdateDatasetParamsWithDefaults() *UpdateDatasetParams

NewUpdateDatasetParamsWithDefaults instantiates a new UpdateDatasetParams 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 (*UpdateDatasetParams) GetAclmode

func (o *UpdateDatasetParams) GetAclmode() string

GetAclmode returns the Aclmode field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetAclmodeOk

func (o *UpdateDatasetParams) GetAclmodeOk() (*string, bool)

GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetAtime

func (o *UpdateDatasetParams) GetAtime() string

GetAtime returns the Atime field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetAtimeOk

func (o *UpdateDatasetParams) GetAtimeOk() (*string, bool)

GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetComments

func (o *UpdateDatasetParams) GetComments() string

GetComments returns the Comments field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetCommentsOk

func (o *UpdateDatasetParams) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetCompression

func (o *UpdateDatasetParams) GetCompression() string

GetCompression returns the Compression field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetCompressionOk

func (o *UpdateDatasetParams) GetCompressionOk() (*string, bool)

GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetCopies

func (o *UpdateDatasetParams) GetCopies() int32

GetCopies returns the Copies field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetCopiesOk

func (o *UpdateDatasetParams) GetCopiesOk() (*int32, bool)

GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetDeduplication

func (o *UpdateDatasetParams) GetDeduplication() string

GetDeduplication returns the Deduplication field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetDeduplicationOk

func (o *UpdateDatasetParams) GetDeduplicationOk() (*string, bool)

GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetExec

func (o *UpdateDatasetParams) GetExec() string

GetExec returns the Exec field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetExecOk

func (o *UpdateDatasetParams) GetExecOk() (*string, bool)

GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetForceSize

func (o *UpdateDatasetParams) GetForceSize() bool

GetForceSize returns the ForceSize field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetForceSizeOk

func (o *UpdateDatasetParams) GetForceSizeOk() (*bool, bool)

GetForceSizeOk returns a tuple with the ForceSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetQuota

func (o *UpdateDatasetParams) GetQuota() int64

GetQuota returns the Quota field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetQuotaOk

func (o *UpdateDatasetParams) GetQuotaOk() (*int64, bool)

GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetReadonly

func (o *UpdateDatasetParams) GetReadonly() string

GetReadonly returns the Readonly field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetReadonlyOk

func (o *UpdateDatasetParams) GetReadonlyOk() (*string, bool)

GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetRecordsize

func (o *UpdateDatasetParams) GetRecordsize() string

GetRecordsize returns the Recordsize field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetRecordsizeOk

func (o *UpdateDatasetParams) GetRecordsizeOk() (*string, bool)

GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetRefquota

func (o *UpdateDatasetParams) GetRefquota() int64

GetRefquota returns the Refquota field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetRefquotaOk

func (o *UpdateDatasetParams) GetRefquotaOk() (*int64, bool)

GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetRefreservation

func (o *UpdateDatasetParams) GetRefreservation() int64

GetRefreservation returns the Refreservation field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetRefreservationOk

func (o *UpdateDatasetParams) GetRefreservationOk() (*int64, bool)

GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetSnapdir

func (o *UpdateDatasetParams) GetSnapdir() string

GetSnapdir returns the Snapdir field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetSnapdirOk

func (o *UpdateDatasetParams) GetSnapdirOk() (*string, bool)

GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetSync

func (o *UpdateDatasetParams) GetSync() string

GetSync returns the Sync field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetSyncOk

func (o *UpdateDatasetParams) GetSyncOk() (*string, bool)

GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) GetVolsize

func (o *UpdateDatasetParams) GetVolsize() int64

GetVolsize returns the Volsize field value if set, zero value otherwise.

func (*UpdateDatasetParams) GetVolsizeOk

func (o *UpdateDatasetParams) GetVolsizeOk() (*int64, bool)

GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateDatasetParams) HasAclmode

func (o *UpdateDatasetParams) HasAclmode() bool

HasAclmode returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasAtime

func (o *UpdateDatasetParams) HasAtime() bool

HasAtime returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasComments

func (o *UpdateDatasetParams) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasCompression

func (o *UpdateDatasetParams) HasCompression() bool

HasCompression returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasCopies

func (o *UpdateDatasetParams) HasCopies() bool

HasCopies returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasDeduplication

func (o *UpdateDatasetParams) HasDeduplication() bool

HasDeduplication returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasExec

func (o *UpdateDatasetParams) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasForceSize

func (o *UpdateDatasetParams) HasForceSize() bool

HasForceSize returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasQuota

func (o *UpdateDatasetParams) HasQuota() bool

HasQuota returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasReadonly

func (o *UpdateDatasetParams) HasReadonly() bool

HasReadonly returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasRecordsize

func (o *UpdateDatasetParams) HasRecordsize() bool

HasRecordsize returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasRefquota

func (o *UpdateDatasetParams) HasRefquota() bool

HasRefquota returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasRefreservation

func (o *UpdateDatasetParams) HasRefreservation() bool

HasRefreservation returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasSnapdir

func (o *UpdateDatasetParams) HasSnapdir() bool

HasSnapdir returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasSync

func (o *UpdateDatasetParams) HasSync() bool

HasSync returns a boolean if a field has been set.

func (*UpdateDatasetParams) HasVolsize

func (o *UpdateDatasetParams) HasVolsize() bool

HasVolsize returns a boolean if a field has been set.

func (UpdateDatasetParams) MarshalJSON

func (o UpdateDatasetParams) MarshalJSON() ([]byte, error)

func (*UpdateDatasetParams) SetAclmode

func (o *UpdateDatasetParams) SetAclmode(v string)

SetAclmode gets a reference to the given string and assigns it to the Aclmode field.

func (*UpdateDatasetParams) SetAtime

func (o *UpdateDatasetParams) SetAtime(v string)

SetAtime gets a reference to the given string and assigns it to the Atime field.

func (*UpdateDatasetParams) SetComments

func (o *UpdateDatasetParams) SetComments(v string)

SetComments gets a reference to the given string and assigns it to the Comments field.

func (*UpdateDatasetParams) SetCompression

func (o *UpdateDatasetParams) SetCompression(v string)

SetCompression gets a reference to the given string and assigns it to the Compression field.

func (*UpdateDatasetParams) SetCopies

func (o *UpdateDatasetParams) SetCopies(v int32)

SetCopies gets a reference to the given int32 and assigns it to the Copies field.

func (*UpdateDatasetParams) SetDeduplication

func (o *UpdateDatasetParams) SetDeduplication(v string)

SetDeduplication gets a reference to the given string and assigns it to the Deduplication field.

func (*UpdateDatasetParams) SetExec

func (o *UpdateDatasetParams) SetExec(v string)

SetExec gets a reference to the given string and assigns it to the Exec field.

func (*UpdateDatasetParams) SetForceSize

func (o *UpdateDatasetParams) SetForceSize(v bool)

SetForceSize gets a reference to the given bool and assigns it to the ForceSize field.

func (*UpdateDatasetParams) SetQuota

func (o *UpdateDatasetParams) SetQuota(v int64)

SetQuota gets a reference to the given int64 and assigns it to the Quota field.

func (*UpdateDatasetParams) SetReadonly

func (o *UpdateDatasetParams) SetReadonly(v string)

SetReadonly gets a reference to the given string and assigns it to the Readonly field.

func (*UpdateDatasetParams) SetRecordsize

func (o *UpdateDatasetParams) SetRecordsize(v string)

SetRecordsize gets a reference to the given string and assigns it to the Recordsize field.

func (*UpdateDatasetParams) SetRefquota

func (o *UpdateDatasetParams) SetRefquota(v int64)

SetRefquota gets a reference to the given int64 and assigns it to the Refquota field.

func (*UpdateDatasetParams) SetRefreservation

func (o *UpdateDatasetParams) SetRefreservation(v int64)

SetRefreservation gets a reference to the given int64 and assigns it to the Refreservation field.

func (*UpdateDatasetParams) SetSnapdir

func (o *UpdateDatasetParams) SetSnapdir(v string)

SetSnapdir gets a reference to the given string and assigns it to the Snapdir field.

func (*UpdateDatasetParams) SetSync

func (o *UpdateDatasetParams) SetSync(v string)

SetSync gets a reference to the given string and assigns it to the Sync field.

func (*UpdateDatasetParams) SetVolsize

func (o *UpdateDatasetParams) SetVolsize(v int64)

SetVolsize gets a reference to the given int64 and assigns it to the Volsize field.

func (*UpdateDatasetParams) UnmarshalJSON

func (o *UpdateDatasetParams) UnmarshalJSON(bytes []byte) (err error)

type UpdateUserParams

type UpdateUserParams struct {
	Uid                  *int32                 `json:"uid,omitempty"`
	Username             *string                `json:"username,omitempty"`
	Group                *int32                 `json:"group,omitempty"`
	Home                 *string                `json:"home,omitempty"`
	HomeMode             *string                `json:"home_mode,omitempty"`
	Shell                *string                `json:"shell,omitempty"`
	FullName             *string                `json:"full_name,omitempty"`
	Email                NullableString         `json:"email,omitempty"`
	Password             *string                `json:"password,omitempty"`
	PasswordDisabled     *bool                  `json:"password_disabled,omitempty"`
	Locked               *bool                  `json:"locked,omitempty"`
	MicrosoftAccount     *bool                  `json:"microsoft_account,omitempty"`
	Smb                  *bool                  `json:"smb,omitempty"`
	Sudo                 *bool                  `json:"sudo,omitempty"`
	SudoNopasswd         *bool                  `json:"sudo_nopasswd,omitempty"`
	SudoCommands         []string               `json:"sudo_commands,omitempty"`
	Sshpubkey            NullableString         `json:"sshpubkey,omitempty"`
	Groups               []int32                `json:"groups,omitempty"`
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateUserParams struct for UpdateUserParams

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams instantiates a new UpdateUserParams 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 NewUpdateUserParamsWithDefaults

func NewUpdateUserParamsWithDefaults() *UpdateUserParams

NewUpdateUserParamsWithDefaults instantiates a new UpdateUserParams 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 (*UpdateUserParams) GetAttributes

func (o *UpdateUserParams) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UpdateUserParams) GetAttributesOk

func (o *UpdateUserParams) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetEmail

func (o *UpdateUserParams) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateUserParams) GetEmailOk

func (o *UpdateUserParams) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateUserParams) GetFullName

func (o *UpdateUserParams) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*UpdateUserParams) GetFullNameOk

func (o *UpdateUserParams) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetGroup

func (o *UpdateUserParams) GetGroup() int32

GetGroup returns the Group field value if set, zero value otherwise.

func (*UpdateUserParams) GetGroupOk

func (o *UpdateUserParams) GetGroupOk() (*int32, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetGroups

func (o *UpdateUserParams) GetGroups() []int32

GetGroups returns the Groups field value if set, zero value otherwise.

func (*UpdateUserParams) GetGroupsOk

func (o *UpdateUserParams) GetGroupsOk() ([]int32, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetHome

func (o *UpdateUserParams) GetHome() string

GetHome returns the Home field value if set, zero value otherwise.

func (*UpdateUserParams) GetHomeMode

func (o *UpdateUserParams) GetHomeMode() string

GetHomeMode returns the HomeMode field value if set, zero value otherwise.

func (*UpdateUserParams) GetHomeModeOk

func (o *UpdateUserParams) GetHomeModeOk() (*string, bool)

GetHomeModeOk returns a tuple with the HomeMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetHomeOk

func (o *UpdateUserParams) GetHomeOk() (*string, bool)

GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetLocked

func (o *UpdateUserParams) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*UpdateUserParams) GetLockedOk

func (o *UpdateUserParams) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetMicrosoftAccount

func (o *UpdateUserParams) GetMicrosoftAccount() bool

GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.

func (*UpdateUserParams) GetMicrosoftAccountOk

func (o *UpdateUserParams) GetMicrosoftAccountOk() (*bool, bool)

GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetPassword

func (o *UpdateUserParams) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UpdateUserParams) GetPasswordDisabled

func (o *UpdateUserParams) GetPasswordDisabled() bool

GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.

func (*UpdateUserParams) GetPasswordDisabledOk

func (o *UpdateUserParams) GetPasswordDisabledOk() (*bool, bool)

GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetPasswordOk

func (o *UpdateUserParams) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetShell

func (o *UpdateUserParams) GetShell() string

GetShell returns the Shell field value if set, zero value otherwise.

func (*UpdateUserParams) GetShellOk

func (o *UpdateUserParams) GetShellOk() (*string, bool)

GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetSmb

func (o *UpdateUserParams) GetSmb() bool

GetSmb returns the Smb field value if set, zero value otherwise.

func (*UpdateUserParams) GetSmbOk

func (o *UpdateUserParams) GetSmbOk() (*bool, bool)

GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetSshpubkey

func (o *UpdateUserParams) GetSshpubkey() string

GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateUserParams) GetSshpubkeyOk

func (o *UpdateUserParams) GetSshpubkeyOk() (*string, bool)

GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateUserParams) GetSudo

func (o *UpdateUserParams) GetSudo() bool

GetSudo returns the Sudo field value if set, zero value otherwise.

func (*UpdateUserParams) GetSudoCommands

func (o *UpdateUserParams) GetSudoCommands() []string

GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.

func (*UpdateUserParams) GetSudoCommandsOk

func (o *UpdateUserParams) GetSudoCommandsOk() ([]string, bool)

GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetSudoNopasswd

func (o *UpdateUserParams) GetSudoNopasswd() bool

GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.

func (*UpdateUserParams) GetSudoNopasswdOk

func (o *UpdateUserParams) GetSudoNopasswdOk() (*bool, bool)

GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetSudoOk

func (o *UpdateUserParams) GetSudoOk() (*bool, bool)

GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetUid

func (o *UpdateUserParams) GetUid() int32

GetUid returns the Uid field value if set, zero value otherwise.

func (*UpdateUserParams) GetUidOk

func (o *UpdateUserParams) GetUidOk() (*int32, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) GetUsername

func (o *UpdateUserParams) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UpdateUserParams) GetUsernameOk

func (o *UpdateUserParams) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserParams) HasAttributes

func (o *UpdateUserParams) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UpdateUserParams) HasEmail

func (o *UpdateUserParams) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UpdateUserParams) HasFullName

func (o *UpdateUserParams) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*UpdateUserParams) HasGroup

func (o *UpdateUserParams) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*UpdateUserParams) HasGroups

func (o *UpdateUserParams) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*UpdateUserParams) HasHome

func (o *UpdateUserParams) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*UpdateUserParams) HasHomeMode

func (o *UpdateUserParams) HasHomeMode() bool

HasHomeMode returns a boolean if a field has been set.

func (*UpdateUserParams) HasLocked

func (o *UpdateUserParams) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*UpdateUserParams) HasMicrosoftAccount

func (o *UpdateUserParams) HasMicrosoftAccount() bool

HasMicrosoftAccount returns a boolean if a field has been set.

func (*UpdateUserParams) HasPassword

func (o *UpdateUserParams) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UpdateUserParams) HasPasswordDisabled

func (o *UpdateUserParams) HasPasswordDisabled() bool

HasPasswordDisabled returns a boolean if a field has been set.

func (*UpdateUserParams) HasShell

func (o *UpdateUserParams) HasShell() bool

HasShell returns a boolean if a field has been set.

func (*UpdateUserParams) HasSmb

func (o *UpdateUserParams) HasSmb() bool

HasSmb returns a boolean if a field has been set.

func (*UpdateUserParams) HasSshpubkey

func (o *UpdateUserParams) HasSshpubkey() bool

HasSshpubkey returns a boolean if a field has been set.

func (*UpdateUserParams) HasSudo

func (o *UpdateUserParams) HasSudo() bool

HasSudo returns a boolean if a field has been set.

func (*UpdateUserParams) HasSudoCommands

func (o *UpdateUserParams) HasSudoCommands() bool

HasSudoCommands returns a boolean if a field has been set.

func (*UpdateUserParams) HasSudoNopasswd

func (o *UpdateUserParams) HasSudoNopasswd() bool

HasSudoNopasswd returns a boolean if a field has been set.

func (*UpdateUserParams) HasUid

func (o *UpdateUserParams) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*UpdateUserParams) HasUsername

func (o *UpdateUserParams) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (UpdateUserParams) MarshalJSON

func (o UpdateUserParams) MarshalJSON() ([]byte, error)

func (*UpdateUserParams) SetAttributes

func (o *UpdateUserParams) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*UpdateUserParams) SetEmail

func (o *UpdateUserParams) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*UpdateUserParams) SetEmailNil

func (o *UpdateUserParams) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*UpdateUserParams) SetFullName

func (o *UpdateUserParams) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*UpdateUserParams) SetGroup

func (o *UpdateUserParams) SetGroup(v int32)

SetGroup gets a reference to the given int32 and assigns it to the Group field.

func (*UpdateUserParams) SetGroups

func (o *UpdateUserParams) SetGroups(v []int32)

SetGroups gets a reference to the given []int32 and assigns it to the Groups field.

func (*UpdateUserParams) SetHome

func (o *UpdateUserParams) SetHome(v string)

SetHome gets a reference to the given string and assigns it to the Home field.

func (*UpdateUserParams) SetHomeMode

func (o *UpdateUserParams) SetHomeMode(v string)

SetHomeMode gets a reference to the given string and assigns it to the HomeMode field.

func (*UpdateUserParams) SetLocked

func (o *UpdateUserParams) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*UpdateUserParams) SetMicrosoftAccount

func (o *UpdateUserParams) SetMicrosoftAccount(v bool)

SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.

func (*UpdateUserParams) SetPassword

func (o *UpdateUserParams) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UpdateUserParams) SetPasswordDisabled

func (o *UpdateUserParams) SetPasswordDisabled(v bool)

SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.

func (*UpdateUserParams) SetShell

func (o *UpdateUserParams) SetShell(v string)

SetShell gets a reference to the given string and assigns it to the Shell field.

func (*UpdateUserParams) SetSmb

func (o *UpdateUserParams) SetSmb(v bool)

SetSmb gets a reference to the given bool and assigns it to the Smb field.

func (*UpdateUserParams) SetSshpubkey

func (o *UpdateUserParams) SetSshpubkey(v string)

SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.

func (*UpdateUserParams) SetSshpubkeyNil

func (o *UpdateUserParams) SetSshpubkeyNil()

SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil

func (*UpdateUserParams) SetSudo

func (o *UpdateUserParams) SetSudo(v bool)

SetSudo gets a reference to the given bool and assigns it to the Sudo field.

func (*UpdateUserParams) SetSudoCommands

func (o *UpdateUserParams) SetSudoCommands(v []string)

SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.

func (*UpdateUserParams) SetSudoNopasswd

func (o *UpdateUserParams) SetSudoNopasswd(v bool)

SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.

func (*UpdateUserParams) SetUid

func (o *UpdateUserParams) SetUid(v int32)

SetUid gets a reference to the given int32 and assigns it to the Uid field.

func (*UpdateUserParams) SetUsername

func (o *UpdateUserParams) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*UpdateUserParams) UnmarshalJSON

func (o *UpdateUserParams) UnmarshalJSON(bytes []byte) (err error)

func (*UpdateUserParams) UnsetEmail

func (o *UpdateUserParams) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*UpdateUserParams) UnsetSshpubkey

func (o *UpdateUserParams) UnsetSshpubkey()

UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil

type UpdateVMParams

type UpdateVMParams struct {
	Name        *string        `json:"name,omitempty"`
	CpuMode     *string        `json:"cpu_mode,omitempty"`
	CpuModel    NullableString `json:"cpu_model,omitempty"`
	Description *string        `json:"description,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Vcpus *int32 `json:"vcpus,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Cores *int32 `json:"cores,omitempty"`
	// Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
	Threads    *int32  `json:"threads,omitempty"`
	Memory     *int64  `json:"memory,omitempty"`
	Bootloader *string `json:"bootloader,omitempty"`
	// `devices` is a list of virtualized hardware to add to the newly created Virtual Machine. Failure to attach a device destroys the VM and any resources allocated by the VM devices.
	Devices   []VMDevice `json:"devices,omitempty"`
	Autostart *bool      `json:"autostart,omitempty"`
	// `hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough.
	HideFromMsr *bool `json:"hide_from_msr,omitempty"`
	// `ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`.
	EnsureDisplayDevice *bool   `json:"ensure_display_device,omitempty"`
	Time                *string `json:"time,omitempty"`
	// `shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it.
	ShutdownTimeout *int32 `json:"shutdown_timeout,omitempty"`
	// `arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host. `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.
	ArchType NullableString `json:"arch_type,omitempty"`
	// `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.
	MachineType          NullableString `json:"machine_type,omitempty"`
	Uuid                 NullableString `json:"uuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateVMParams struct for UpdateVMParams

func NewUpdateVMParams

func NewUpdateVMParams() *UpdateVMParams

NewUpdateVMParams instantiates a new UpdateVMParams 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 NewUpdateVMParamsWithDefaults

func NewUpdateVMParamsWithDefaults() *UpdateVMParams

NewUpdateVMParamsWithDefaults instantiates a new UpdateVMParams 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 (*UpdateVMParams) GetArchType

func (o *UpdateVMParams) GetArchType() string

GetArchType returns the ArchType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateVMParams) GetArchTypeOk

func (o *UpdateVMParams) GetArchTypeOk() (*string, bool)

GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateVMParams) GetAutostart

func (o *UpdateVMParams) GetAutostart() bool

GetAutostart returns the Autostart field value if set, zero value otherwise.

func (*UpdateVMParams) GetAutostartOk

func (o *UpdateVMParams) GetAutostartOk() (*bool, bool)

GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetBootloader

func (o *UpdateVMParams) GetBootloader() string

GetBootloader returns the Bootloader field value if set, zero value otherwise.

func (*UpdateVMParams) GetBootloaderOk

func (o *UpdateVMParams) GetBootloaderOk() (*string, bool)

GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetCores

func (o *UpdateVMParams) GetCores() int32

GetCores returns the Cores field value if set, zero value otherwise.

func (*UpdateVMParams) GetCoresOk

func (o *UpdateVMParams) GetCoresOk() (*int32, bool)

GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetCpuMode

func (o *UpdateVMParams) GetCpuMode() string

GetCpuMode returns the CpuMode field value if set, zero value otherwise.

func (*UpdateVMParams) GetCpuModeOk

func (o *UpdateVMParams) GetCpuModeOk() (*string, bool)

GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetCpuModel

func (o *UpdateVMParams) GetCpuModel() string

GetCpuModel returns the CpuModel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateVMParams) GetCpuModelOk

func (o *UpdateVMParams) GetCpuModelOk() (*string, bool)

GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateVMParams) GetDescription

func (o *UpdateVMParams) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVMParams) GetDescriptionOk

func (o *UpdateVMParams) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetDevices

func (o *UpdateVMParams) GetDevices() []VMDevice

GetDevices returns the Devices field value if set, zero value otherwise.

func (*UpdateVMParams) GetDevicesOk

func (o *UpdateVMParams) GetDevicesOk() ([]VMDevice, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetEnsureDisplayDevice

func (o *UpdateVMParams) GetEnsureDisplayDevice() bool

GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.

func (*UpdateVMParams) GetEnsureDisplayDeviceOk

func (o *UpdateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)

GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetHideFromMsr

func (o *UpdateVMParams) GetHideFromMsr() bool

GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.

func (*UpdateVMParams) GetHideFromMsrOk

func (o *UpdateVMParams) GetHideFromMsrOk() (*bool, bool)

GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetMachineType

func (o *UpdateVMParams) GetMachineType() string

GetMachineType returns the MachineType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateVMParams) GetMachineTypeOk

func (o *UpdateVMParams) GetMachineTypeOk() (*string, bool)

GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateVMParams) GetMemory

func (o *UpdateVMParams) GetMemory() int64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*UpdateVMParams) GetMemoryOk

func (o *UpdateVMParams) GetMemoryOk() (*int64, bool)

GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetName

func (o *UpdateVMParams) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVMParams) GetNameOk

func (o *UpdateVMParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetShutdownTimeout

func (o *UpdateVMParams) GetShutdownTimeout() int32

GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.

func (*UpdateVMParams) GetShutdownTimeoutOk

func (o *UpdateVMParams) GetShutdownTimeoutOk() (*int32, bool)

GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetThreads

func (o *UpdateVMParams) GetThreads() int32

GetThreads returns the Threads field value if set, zero value otherwise.

func (*UpdateVMParams) GetThreadsOk

func (o *UpdateVMParams) GetThreadsOk() (*int32, bool)

GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetTime

func (o *UpdateVMParams) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*UpdateVMParams) GetTimeOk

func (o *UpdateVMParams) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) GetUuid

func (o *UpdateVMParams) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateVMParams) GetUuidOk

func (o *UpdateVMParams) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateVMParams) GetVcpus

func (o *UpdateVMParams) GetVcpus() int32

GetVcpus returns the Vcpus field value if set, zero value otherwise.

func (*UpdateVMParams) GetVcpusOk

func (o *UpdateVMParams) GetVcpusOk() (*int32, bool)

GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVMParams) HasArchType

func (o *UpdateVMParams) HasArchType() bool

HasArchType returns a boolean if a field has been set.

func (*UpdateVMParams) HasAutostart

func (o *UpdateVMParams) HasAutostart() bool

HasAutostart returns a boolean if a field has been set.

func (*UpdateVMParams) HasBootloader

func (o *UpdateVMParams) HasBootloader() bool

HasBootloader returns a boolean if a field has been set.

func (*UpdateVMParams) HasCores

func (o *UpdateVMParams) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*UpdateVMParams) HasCpuMode

func (o *UpdateVMParams) HasCpuMode() bool

HasCpuMode returns a boolean if a field has been set.

func (*UpdateVMParams) HasCpuModel

func (o *UpdateVMParams) HasCpuModel() bool

HasCpuModel returns a boolean if a field has been set.

func (*UpdateVMParams) HasDescription

func (o *UpdateVMParams) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVMParams) HasDevices

func (o *UpdateVMParams) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*UpdateVMParams) HasEnsureDisplayDevice

func (o *UpdateVMParams) HasEnsureDisplayDevice() bool

HasEnsureDisplayDevice returns a boolean if a field has been set.

func (*UpdateVMParams) HasHideFromMsr

func (o *UpdateVMParams) HasHideFromMsr() bool

HasHideFromMsr returns a boolean if a field has been set.

func (*UpdateVMParams) HasMachineType

func (o *UpdateVMParams) HasMachineType() bool

HasMachineType returns a boolean if a field has been set.

func (*UpdateVMParams) HasMemory

func (o *UpdateVMParams) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*UpdateVMParams) HasName

func (o *UpdateVMParams) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateVMParams) HasShutdownTimeout

func (o *UpdateVMParams) HasShutdownTimeout() bool

HasShutdownTimeout returns a boolean if a field has been set.

func (*UpdateVMParams) HasThreads

func (o *UpdateVMParams) HasThreads() bool

HasThreads returns a boolean if a field has been set.

func (*UpdateVMParams) HasTime

func (o *UpdateVMParams) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*UpdateVMParams) HasUuid

func (o *UpdateVMParams) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*UpdateVMParams) HasVcpus

func (o *UpdateVMParams) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

func (UpdateVMParams) MarshalJSON

func (o UpdateVMParams) MarshalJSON() ([]byte, error)

func (*UpdateVMParams) SetArchType

func (o *UpdateVMParams) SetArchType(v string)

SetArchType gets a reference to the given NullableString and assigns it to the ArchType field.

func (*UpdateVMParams) SetArchTypeNil

func (o *UpdateVMParams) SetArchTypeNil()

SetArchTypeNil sets the value for ArchType to be an explicit nil

func (*UpdateVMParams) SetAutostart

func (o *UpdateVMParams) SetAutostart(v bool)

SetAutostart gets a reference to the given bool and assigns it to the Autostart field.

func (*UpdateVMParams) SetBootloader

func (o *UpdateVMParams) SetBootloader(v string)

SetBootloader gets a reference to the given string and assigns it to the Bootloader field.

func (*UpdateVMParams) SetCores

func (o *UpdateVMParams) SetCores(v int32)

SetCores gets a reference to the given int32 and assigns it to the Cores field.

func (*UpdateVMParams) SetCpuMode

func (o *UpdateVMParams) SetCpuMode(v string)

SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.

func (*UpdateVMParams) SetCpuModel

func (o *UpdateVMParams) SetCpuModel(v string)

SetCpuModel gets a reference to the given NullableString and assigns it to the CpuModel field.

func (*UpdateVMParams) SetCpuModelNil

func (o *UpdateVMParams) SetCpuModelNil()

SetCpuModelNil sets the value for CpuModel to be an explicit nil

func (*UpdateVMParams) SetDescription

func (o *UpdateVMParams) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVMParams) SetDevices

func (o *UpdateVMParams) SetDevices(v []VMDevice)

SetDevices gets a reference to the given []VMDevice and assigns it to the Devices field.

func (*UpdateVMParams) SetEnsureDisplayDevice

func (o *UpdateVMParams) SetEnsureDisplayDevice(v bool)

SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.

func (*UpdateVMParams) SetHideFromMsr

func (o *UpdateVMParams) SetHideFromMsr(v bool)

SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.

func (*UpdateVMParams) SetMachineType

func (o *UpdateVMParams) SetMachineType(v string)

SetMachineType gets a reference to the given NullableString and assigns it to the MachineType field.

func (*UpdateVMParams) SetMachineTypeNil

func (o *UpdateVMParams) SetMachineTypeNil()

SetMachineTypeNil sets the value for MachineType to be an explicit nil

func (*UpdateVMParams) SetMemory

func (o *UpdateVMParams) SetMemory(v int64)

SetMemory gets a reference to the given int64 and assigns it to the Memory field.

func (*UpdateVMParams) SetName

func (o *UpdateVMParams) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateVMParams) SetShutdownTimeout

func (o *UpdateVMParams) SetShutdownTimeout(v int32)

SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.

func (*UpdateVMParams) SetThreads

func (o *UpdateVMParams) SetThreads(v int32)

SetThreads gets a reference to the given int32 and assigns it to the Threads field.

func (*UpdateVMParams) SetTime

func (o *UpdateVMParams) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*UpdateVMParams) SetUuid

func (o *UpdateVMParams) SetUuid(v string)

SetUuid gets a reference to the given NullableString and assigns it to the Uuid field.

func (*UpdateVMParams) SetUuidNil

func (o *UpdateVMParams) SetUuidNil()

SetUuidNil sets the value for Uuid to be an explicit nil

func (*UpdateVMParams) SetVcpus

func (o *UpdateVMParams) SetVcpus(v int32)

SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.

func (*UpdateVMParams) UnmarshalJSON

func (o *UpdateVMParams) UnmarshalJSON(bytes []byte) (err error)

func (*UpdateVMParams) UnsetArchType

func (o *UpdateVMParams) UnsetArchType()

UnsetArchType ensures that no value is present for ArchType, not even an explicit nil

func (*UpdateVMParams) UnsetCpuModel

func (o *UpdateVMParams) UnsetCpuModel()

UnsetCpuModel ensures that no value is present for CpuModel, not even an explicit nil

func (*UpdateVMParams) UnsetMachineType

func (o *UpdateVMParams) UnsetMachineType()

UnsetMachineType ensures that no value is present for MachineType, not even an explicit nil

func (*UpdateVMParams) UnsetUuid

func (o *UpdateVMParams) UnsetUuid()

UnsetUuid ensures that no value is present for Uuid, not even an explicit nil

type User

type User struct {
	Id                   int32                  `json:"id"`
	Uid                  *int32                 `json:"uid,omitempty"`
	Username             string                 `json:"username"`
	Unixhash             *string                `json:"unixhash,omitempty"`
	Smbhash              *string                `json:"smbhash,omitempty"`
	Home                 *string                `json:"home,omitempty"`
	Shell                *string                `json:"shell,omitempty"`
	FullName             string                 `json:"full_name"`
	Builtin              *bool                  `json:"builtin,omitempty"`
	Smb                  *bool                  `json:"smb,omitempty"`
	PasswordDisabled     *bool                  `json:"password_disabled,omitempty"`
	Locked               *bool                  `json:"locked,omitempty"`
	Sudo                 *bool                  `json:"sudo,omitempty"`
	SudoNopasswd         *bool                  `json:"sudo_nopasswd,omitempty"`
	SudoCommands         []string               `json:"sudo_commands,omitempty"`
	MicrosoftAccount     *bool                  `json:"microsoft_account,omitempty"`
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	Email                NullableString         `json:"email,omitempty"`
	Group                *UserGroup             `json:"group,omitempty"`
	Groups               []int32                `json:"groups,omitempty"`
	Sshpubkey            NullableString         `json:"sshpubkey,omitempty"`
	Local                *bool                  `json:"local,omitempty"`
	IdTypeBoth           *bool                  `json:"id_type_both,omitempty"`
	AdditionalProperties map[string]interface{}
}

User struct for User

func NewUser

func NewUser(id int32, username string, fullName string) *User

NewUser instantiates a new User 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 NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetAttributes

func (o *User) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*User) GetAttributesOk

func (o *User) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetBuiltin

func (o *User) GetBuiltin() bool

GetBuiltin returns the Builtin field value if set, zero value otherwise.

func (*User) GetBuiltinOk

func (o *User) GetBuiltinOk() (*bool, bool)

GetBuiltinOk returns a tuple with the Builtin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*User) GetEmailOk

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*User) GetFullName

func (o *User) GetFullName() string

GetFullName returns the FullName field value

func (*User) GetFullNameOk

func (o *User) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*User) GetGroup

func (o *User) GetGroup() UserGroup

GetGroup returns the Group field value if set, zero value otherwise.

func (*User) GetGroupOk

func (o *User) GetGroupOk() (*UserGroup, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetGroups

func (o *User) GetGroups() []int32

GetGroups returns the Groups field value if set, zero value otherwise.

func (*User) GetGroupsOk

func (o *User) GetGroupsOk() ([]int32, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetHome

func (o *User) GetHome() string

GetHome returns the Home field value if set, zero value otherwise.

func (*User) GetHomeOk

func (o *User) GetHomeOk() (*string, bool)

GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId

func (o *User) GetId() int32

GetId returns the Id field value

func (*User) GetIdOk

func (o *User) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*User) GetIdTypeBoth

func (o *User) GetIdTypeBoth() bool

GetIdTypeBoth returns the IdTypeBoth field value if set, zero value otherwise.

func (*User) GetIdTypeBothOk

func (o *User) GetIdTypeBothOk() (*bool, bool)

GetIdTypeBothOk returns a tuple with the IdTypeBoth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLocal

func (o *User) GetLocal() bool

GetLocal returns the Local field value if set, zero value otherwise.

func (*User) GetLocalOk

func (o *User) GetLocalOk() (*bool, bool)

GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLocked

func (o *User) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*User) GetLockedOk

func (o *User) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetMicrosoftAccount

func (o *User) GetMicrosoftAccount() bool

GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.

func (*User) GetMicrosoftAccountOk

func (o *User) GetMicrosoftAccountOk() (*bool, bool)

GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetPasswordDisabled

func (o *User) GetPasswordDisabled() bool

GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.

func (*User) GetPasswordDisabledOk

func (o *User) GetPasswordDisabledOk() (*bool, bool)

GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetShell

func (o *User) GetShell() string

GetShell returns the Shell field value if set, zero value otherwise.

func (*User) GetShellOk

func (o *User) GetShellOk() (*string, bool)

GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSmb

func (o *User) GetSmb() bool

GetSmb returns the Smb field value if set, zero value otherwise.

func (*User) GetSmbOk

func (o *User) GetSmbOk() (*bool, bool)

GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSmbhash

func (o *User) GetSmbhash() string

GetSmbhash returns the Smbhash field value if set, zero value otherwise.

func (*User) GetSmbhashOk

func (o *User) GetSmbhashOk() (*string, bool)

GetSmbhashOk returns a tuple with the Smbhash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSshpubkey

func (o *User) GetSshpubkey() string

GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*User) GetSshpubkeyOk

func (o *User) GetSshpubkeyOk() (*string, bool)

GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*User) GetSudo

func (o *User) GetSudo() bool

GetSudo returns the Sudo field value if set, zero value otherwise.

func (*User) GetSudoCommands

func (o *User) GetSudoCommands() []string

GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.

func (*User) GetSudoCommandsOk

func (o *User) GetSudoCommandsOk() ([]string, bool)

GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSudoNopasswd

func (o *User) GetSudoNopasswd() bool

GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.

func (*User) GetSudoNopasswdOk

func (o *User) GetSudoNopasswdOk() (*bool, bool)

GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSudoOk

func (o *User) GetSudoOk() (*bool, bool)

GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetUid

func (o *User) GetUid() int32

GetUid returns the Uid field value if set, zero value otherwise.

func (*User) GetUidOk

func (o *User) GetUidOk() (*int32, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetUnixhash

func (o *User) GetUnixhash() string

GetUnixhash returns the Unixhash field value if set, zero value otherwise.

func (*User) GetUnixhashOk

func (o *User) GetUnixhashOk() (*string, bool)

GetUnixhashOk returns a tuple with the Unixhash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetUsername

func (o *User) GetUsername() string

GetUsername returns the Username field value

func (*User) GetUsernameOk

func (o *User) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*User) HasAttributes

func (o *User) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*User) HasBuiltin

func (o *User) HasBuiltin() bool

HasBuiltin returns a boolean if a field has been set.

func (*User) HasEmail

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasGroup

func (o *User) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*User) HasGroups

func (o *User) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*User) HasHome

func (o *User) HasHome() bool

HasHome returns a boolean if a field has been set.

func (*User) HasIdTypeBoth

func (o *User) HasIdTypeBoth() bool

HasIdTypeBoth returns a boolean if a field has been set.

func (*User) HasLocal

func (o *User) HasLocal() bool

HasLocal returns a boolean if a field has been set.

func (*User) HasLocked

func (o *User) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*User) HasMicrosoftAccount

func (o *User) HasMicrosoftAccount() bool

HasMicrosoftAccount returns a boolean if a field has been set.

func (*User) HasPasswordDisabled

func (o *User) HasPasswordDisabled() bool

HasPasswordDisabled returns a boolean if a field has been set.

func (*User) HasShell

func (o *User) HasShell() bool

HasShell returns a boolean if a field has been set.

func (*User) HasSmb

func (o *User) HasSmb() bool

HasSmb returns a boolean if a field has been set.

func (*User) HasSmbhash

func (o *User) HasSmbhash() bool

HasSmbhash returns a boolean if a field has been set.

func (*User) HasSshpubkey

func (o *User) HasSshpubkey() bool

HasSshpubkey returns a boolean if a field has been set.

func (*User) HasSudo

func (o *User) HasSudo() bool

HasSudo returns a boolean if a field has been set.

func (*User) HasSudoCommands

func (o *User) HasSudoCommands() bool

HasSudoCommands returns a boolean if a field has been set.

func (*User) HasSudoNopasswd

func (o *User) HasSudoNopasswd() bool

HasSudoNopasswd returns a boolean if a field has been set.

func (*User) HasUid

func (o *User) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*User) HasUnixhash

func (o *User) HasUnixhash() bool

HasUnixhash returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAttributes

func (o *User) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*User) SetBuiltin

func (o *User) SetBuiltin(v bool)

SetBuiltin gets a reference to the given bool and assigns it to the Builtin field.

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*User) SetEmailNil

func (o *User) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*User) SetFullName

func (o *User) SetFullName(v string)

SetFullName sets field value

func (*User) SetGroup

func (o *User) SetGroup(v UserGroup)

SetGroup gets a reference to the given UserGroup and assigns it to the Group field.

func (*User) SetGroups

func (o *User) SetGroups(v []int32)

SetGroups gets a reference to the given []int32 and assigns it to the Groups field.

func (*User) SetHome

func (o *User) SetHome(v string)

SetHome gets a reference to the given string and assigns it to the Home field.

func (*User) SetId

func (o *User) SetId(v int32)

SetId sets field value

func (*User) SetIdTypeBoth

func (o *User) SetIdTypeBoth(v bool)

SetIdTypeBoth gets a reference to the given bool and assigns it to the IdTypeBoth field.

func (*User) SetLocal

func (o *User) SetLocal(v bool)

SetLocal gets a reference to the given bool and assigns it to the Local field.

func (*User) SetLocked

func (o *User) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*User) SetMicrosoftAccount

func (o *User) SetMicrosoftAccount(v bool)

SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.

func (*User) SetPasswordDisabled

func (o *User) SetPasswordDisabled(v bool)

SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.

func (*User) SetShell

func (o *User) SetShell(v string)

SetShell gets a reference to the given string and assigns it to the Shell field.

func (*User) SetSmb

func (o *User) SetSmb(v bool)

SetSmb gets a reference to the given bool and assigns it to the Smb field.

func (*User) SetSmbhash

func (o *User) SetSmbhash(v string)

SetSmbhash gets a reference to the given string and assigns it to the Smbhash field.

func (*User) SetSshpubkey

func (o *User) SetSshpubkey(v string)

SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.

func (*User) SetSshpubkeyNil

func (o *User) SetSshpubkeyNil()

SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil

func (*User) SetSudo

func (o *User) SetSudo(v bool)

SetSudo gets a reference to the given bool and assigns it to the Sudo field.

func (*User) SetSudoCommands

func (o *User) SetSudoCommands(v []string)

SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.

func (*User) SetSudoNopasswd

func (o *User) SetSudoNopasswd(v bool)

SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.

func (*User) SetUid

func (o *User) SetUid(v int32)

SetUid gets a reference to the given int32 and assigns it to the Uid field.

func (*User) SetUnixhash

func (o *User) SetUnixhash(v string)

SetUnixhash gets a reference to the given string and assigns it to the Unixhash field.

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername sets field value

func (*User) UnmarshalJSON

func (o *User) UnmarshalJSON(bytes []byte) (err error)

func (*User) UnsetEmail

func (o *User) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*User) UnsetSshpubkey

func (o *User) UnsetSshpubkey()

UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) CreateUser

CreateUser Method for CreateUser

Create a new user.

If `uid` is not provided it is automatically filled with the next one available.

`group` is required if `group_create` is false.

`password` is required if `password_disabled` is false.

Available choices for `shell` can be retrieved with `user.shell_choices`.

`attributes` is a general-purpose object for storing arbitrary user information.

`smb` specifies whether the user should be allowed access to SMB shares. User willl also automatically be added to the `builtin_users` group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUserRequest

func (*UserApiService) CreateUserExecute

func (a *UserApiService) CreateUserExecute(r ApiCreateUserRequest) (int32, *http.Response, error)

Execute executes the request

@return int32

func (*UserApiService) DeleteUser

func (a *UserApiService) DeleteUser(ctx context.Context, id int32) ApiDeleteUserRequest

DeleteUser Method for DeleteUser

Delete user `id`.

The `delete_group` option deletes the user primary group if it is not being used by any other user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteUserRequest

func (*UserApiService) DeleteUserExecute

func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UserApiService) GetUser

GetUser Method for GetUser

Get user of `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetUserRequest

func (*UserApiService) GetUserExecute

func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UserApiService) GetUserShellChoices

func (a *UserApiService) GetUserShellChoices(ctx context.Context) ApiGetUserShellChoicesRequest

GetUserShellChoices Method for GetUserShellChoices

Return the available shell choices to be used in `user.create` and `user.update`.

If `user_id` is provided, shell choices are filtered to ensure the user can access the shell choices provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUserShellChoicesRequest

func (*UserApiService) GetUserShellChoicesExecute

func (a *UserApiService) GetUserShellChoicesExecute(r ApiGetUserShellChoicesRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*UserApiService) ListUsers

ListUsers Method for ListUsers

Get a list of (local) users.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListUsersRequest

func (*UserApiService) ListUsersExecute

func (a *UserApiService) ListUsersExecute(r ApiListUsersRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

func (*UserApiService) UpdateUser

func (a *UserApiService) UpdateUser(ctx context.Context, id int32) ApiUpdateUserRequest

UpdateUser Method for UpdateUser

Update attributes of an existing user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateUserRequest

func (*UserApiService) UpdateUserExecute

func (a *UserApiService) UpdateUserExecute(r ApiUpdateUserRequest) (int32, *http.Response, error)

Execute executes the request

@return int32

type UserGroup

type UserGroup struct {
	Id                   *int32   `json:"id,omitempty"`
	BsdgrpGid            *int32   `json:"bsdgrp_gid,omitempty"`
	BsdgrpGroup          *string  `json:"bsdgrp_group,omitempty"`
	BsdgrpBuiltin        *bool    `json:"bsdgrp_builtin,omitempty"`
	BsdgrpSudo           *bool    `json:"bsdgrp_sudo,omitempty"`
	BsdgrpSudoNopasswd   *bool    `json:"bsdgrp_sudo_nopasswd,omitempty"`
	BsdgrpSudoCommands   []string `json:"bsdgrp_sudo_commands,omitempty"`
	BsdgrpSmb            *bool    `json:"bsdgrp_smb,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserGroup struct for UserGroup

func NewUserGroup

func NewUserGroup() *UserGroup

NewUserGroup instantiates a new UserGroup 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 NewUserGroupWithDefaults

func NewUserGroupWithDefaults() *UserGroup

NewUserGroupWithDefaults instantiates a new UserGroup 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 (*UserGroup) GetBsdgrpBuiltin

func (o *UserGroup) GetBsdgrpBuiltin() bool

GetBsdgrpBuiltin returns the BsdgrpBuiltin field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpBuiltinOk

func (o *UserGroup) GetBsdgrpBuiltinOk() (*bool, bool)

GetBsdgrpBuiltinOk returns a tuple with the BsdgrpBuiltin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpGid

func (o *UserGroup) GetBsdgrpGid() int32

GetBsdgrpGid returns the BsdgrpGid field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpGidOk

func (o *UserGroup) GetBsdgrpGidOk() (*int32, bool)

GetBsdgrpGidOk returns a tuple with the BsdgrpGid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpGroup

func (o *UserGroup) GetBsdgrpGroup() string

GetBsdgrpGroup returns the BsdgrpGroup field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpGroupOk

func (o *UserGroup) GetBsdgrpGroupOk() (*string, bool)

GetBsdgrpGroupOk returns a tuple with the BsdgrpGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpSmb

func (o *UserGroup) GetBsdgrpSmb() bool

GetBsdgrpSmb returns the BsdgrpSmb field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpSmbOk

func (o *UserGroup) GetBsdgrpSmbOk() (*bool, bool)

GetBsdgrpSmbOk returns a tuple with the BsdgrpSmb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpSudo

func (o *UserGroup) GetBsdgrpSudo() bool

GetBsdgrpSudo returns the BsdgrpSudo field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpSudoCommands

func (o *UserGroup) GetBsdgrpSudoCommands() []string

GetBsdgrpSudoCommands returns the BsdgrpSudoCommands field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpSudoCommandsOk

func (o *UserGroup) GetBsdgrpSudoCommandsOk() ([]string, bool)

GetBsdgrpSudoCommandsOk returns a tuple with the BsdgrpSudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpSudoNopasswd

func (o *UserGroup) GetBsdgrpSudoNopasswd() bool

GetBsdgrpSudoNopasswd returns the BsdgrpSudoNopasswd field value if set, zero value otherwise.

func (*UserGroup) GetBsdgrpSudoNopasswdOk

func (o *UserGroup) GetBsdgrpSudoNopasswdOk() (*bool, bool)

GetBsdgrpSudoNopasswdOk returns a tuple with the BsdgrpSudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetBsdgrpSudoOk

func (o *UserGroup) GetBsdgrpSudoOk() (*bool, bool)

GetBsdgrpSudoOk returns a tuple with the BsdgrpSudo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) GetId

func (o *UserGroup) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*UserGroup) GetIdOk

func (o *UserGroup) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserGroup) HasBsdgrpBuiltin

func (o *UserGroup) HasBsdgrpBuiltin() bool

HasBsdgrpBuiltin returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpGid

func (o *UserGroup) HasBsdgrpGid() bool

HasBsdgrpGid returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpGroup

func (o *UserGroup) HasBsdgrpGroup() bool

HasBsdgrpGroup returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpSmb

func (o *UserGroup) HasBsdgrpSmb() bool

HasBsdgrpSmb returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpSudo

func (o *UserGroup) HasBsdgrpSudo() bool

HasBsdgrpSudo returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpSudoCommands

func (o *UserGroup) HasBsdgrpSudoCommands() bool

HasBsdgrpSudoCommands returns a boolean if a field has been set.

func (*UserGroup) HasBsdgrpSudoNopasswd

func (o *UserGroup) HasBsdgrpSudoNopasswd() bool

HasBsdgrpSudoNopasswd returns a boolean if a field has been set.

func (*UserGroup) HasId

func (o *UserGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (UserGroup) MarshalJSON

func (o UserGroup) MarshalJSON() ([]byte, error)

func (*UserGroup) SetBsdgrpBuiltin

func (o *UserGroup) SetBsdgrpBuiltin(v bool)

SetBsdgrpBuiltin gets a reference to the given bool and assigns it to the BsdgrpBuiltin field.

func (*UserGroup) SetBsdgrpGid

func (o *UserGroup) SetBsdgrpGid(v int32)

SetBsdgrpGid gets a reference to the given int32 and assigns it to the BsdgrpGid field.

func (*UserGroup) SetBsdgrpGroup

func (o *UserGroup) SetBsdgrpGroup(v string)

SetBsdgrpGroup gets a reference to the given string and assigns it to the BsdgrpGroup field.

func (*UserGroup) SetBsdgrpSmb

func (o *UserGroup) SetBsdgrpSmb(v bool)

SetBsdgrpSmb gets a reference to the given bool and assigns it to the BsdgrpSmb field.

func (*UserGroup) SetBsdgrpSudo

func (o *UserGroup) SetBsdgrpSudo(v bool)

SetBsdgrpSudo gets a reference to the given bool and assigns it to the BsdgrpSudo field.

func (*UserGroup) SetBsdgrpSudoCommands

func (o *UserGroup) SetBsdgrpSudoCommands(v []string)

SetBsdgrpSudoCommands gets a reference to the given []string and assigns it to the BsdgrpSudoCommands field.

func (*UserGroup) SetBsdgrpSudoNopasswd

func (o *UserGroup) SetBsdgrpSudoNopasswd(v bool)

SetBsdgrpSudoNopasswd gets a reference to the given bool and assigns it to the BsdgrpSudoNopasswd field.

func (*UserGroup) SetId

func (o *UserGroup) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*UserGroup) UnmarshalJSON

func (o *UserGroup) UnmarshalJSON(bytes []byte) (err error)

type VM

type VM struct {
	Id                   int32      `json:"id"`
	Name                 string     `json:"name"`
	Description          *string    `json:"description,omitempty"`
	Vcpus                *int32     `json:"vcpus,omitempty"`
	Memory               *int64     `json:"memory,omitempty"`
	MinMemory            *int64     `json:"min_memory,omitempty"`
	Autostart            *bool      `json:"autostart,omitempty"`
	Time                 *string    `json:"time,omitempty"`
	Bootloader           *string    `json:"bootloader,omitempty"`
	Cores                *int32     `json:"cores,omitempty"`
	Threads              *int32     `json:"threads,omitempty"`
	HypervEnlightenments *bool      `json:"hyperv_enlightenments,omitempty"`
	ShutdownTimeout      *int32     `json:"shutdown_timeout,omitempty"`
	CpuMode              *string    `json:"cpu_mode,omitempty"`
	CpuModel             *string    `json:"cpu_model,omitempty"`
	Cpuset               *string    `json:"cpuset,omitempty"`
	Nodeset              *string    `json:"nodeset,omitempty"`
	PinVcpus             *bool      `json:"pin_vcpus,omitempty"`
	HideFromMsr          *bool      `json:"hide_from_msr,omitempty"`
	SuspendOnSnapshot    *bool      `json:"suspend_on_snapshot,omitempty"`
	EnsureDisplayDevice  *bool      `json:"ensure_display_device,omitempty"`
	ArchType             *string    `json:"arch_type,omitempty"`
	MachineType          *string    `json:"machine_type,omitempty"`
	Uuid                 *string    `json:"uuid,omitempty"`
	CommandLineArgs      *string    `json:"command_line_args,omitempty"`
	Devices              []VMDevice `json:"devices,omitempty"`
	Status               *VMStatus  `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

VM struct for VM

func NewVM

func NewVM(id int32, name string) *VM

NewVM instantiates a new VM 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 NewVMWithDefaults

func NewVMWithDefaults() *VM

NewVMWithDefaults instantiates a new VM 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 (*VM) GetArchType

func (o *VM) GetArchType() string

GetArchType returns the ArchType field value if set, zero value otherwise.

func (*VM) GetArchTypeOk

func (o *VM) GetArchTypeOk() (*string, bool)

GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetAutostart

func (o *VM) GetAutostart() bool

GetAutostart returns the Autostart field value if set, zero value otherwise.

func (*VM) GetAutostartOk

func (o *VM) GetAutostartOk() (*bool, bool)

GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetBootloader

func (o *VM) GetBootloader() string

GetBootloader returns the Bootloader field value if set, zero value otherwise.

func (*VM) GetBootloaderOk

func (o *VM) GetBootloaderOk() (*string, bool)

GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetCommandLineArgs

func (o *VM) GetCommandLineArgs() string

GetCommandLineArgs returns the CommandLineArgs field value if set, zero value otherwise.

func (*VM) GetCommandLineArgsOk

func (o *VM) GetCommandLineArgsOk() (*string, bool)

GetCommandLineArgsOk returns a tuple with the CommandLineArgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetCores

func (o *VM) GetCores() int32

GetCores returns the Cores field value if set, zero value otherwise.

func (*VM) GetCoresOk

func (o *VM) GetCoresOk() (*int32, bool)

GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetCpuMode

func (o *VM) GetCpuMode() string

GetCpuMode returns the CpuMode field value if set, zero value otherwise.

func (*VM) GetCpuModeOk

func (o *VM) GetCpuModeOk() (*string, bool)

GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetCpuModel

func (o *VM) GetCpuModel() string

GetCpuModel returns the CpuModel field value if set, zero value otherwise.

func (*VM) GetCpuModelOk

func (o *VM) GetCpuModelOk() (*string, bool)

GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetCpuset

func (o *VM) GetCpuset() string

GetCpuset returns the Cpuset field value if set, zero value otherwise.

func (*VM) GetCpusetOk

func (o *VM) GetCpusetOk() (*string, bool)

GetCpusetOk returns a tuple with the Cpuset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetDescription

func (o *VM) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VM) GetDescriptionOk

func (o *VM) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetDevices

func (o *VM) GetDevices() []VMDevice

GetDevices returns the Devices field value if set, zero value otherwise.

func (*VM) GetDevicesOk

func (o *VM) GetDevicesOk() ([]VMDevice, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetEnsureDisplayDevice

func (o *VM) GetEnsureDisplayDevice() bool

GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.

func (*VM) GetEnsureDisplayDeviceOk

func (o *VM) GetEnsureDisplayDeviceOk() (*bool, bool)

GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetHideFromMsr

func (o *VM) GetHideFromMsr() bool

GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.

func (*VM) GetHideFromMsrOk

func (o *VM) GetHideFromMsrOk() (*bool, bool)

GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetHypervEnlightenments

func (o *VM) GetHypervEnlightenments() bool

GetHypervEnlightenments returns the HypervEnlightenments field value if set, zero value otherwise.

func (*VM) GetHypervEnlightenmentsOk

func (o *VM) GetHypervEnlightenmentsOk() (*bool, bool)

GetHypervEnlightenmentsOk returns a tuple with the HypervEnlightenments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetId

func (o *VM) GetId() int32

GetId returns the Id field value

func (*VM) GetIdOk

func (o *VM) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*VM) GetMachineType

func (o *VM) GetMachineType() string

GetMachineType returns the MachineType field value if set, zero value otherwise.

func (*VM) GetMachineTypeOk

func (o *VM) GetMachineTypeOk() (*string, bool)

GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetMemory

func (o *VM) GetMemory() int64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*VM) GetMemoryOk

func (o *VM) GetMemoryOk() (*int64, bool)

GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetMinMemory

func (o *VM) GetMinMemory() int64

GetMinMemory returns the MinMemory field value if set, zero value otherwise.

func (*VM) GetMinMemoryOk

func (o *VM) GetMinMemoryOk() (*int64, bool)

GetMinMemoryOk returns a tuple with the MinMemory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetName

func (o *VM) GetName() string

GetName returns the Name field value

func (*VM) GetNameOk

func (o *VM) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VM) GetNodeset

func (o *VM) GetNodeset() string

GetNodeset returns the Nodeset field value if set, zero value otherwise.

func (*VM) GetNodesetOk

func (o *VM) GetNodesetOk() (*string, bool)

GetNodesetOk returns a tuple with the Nodeset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetPinVcpus

func (o *VM) GetPinVcpus() bool

GetPinVcpus returns the PinVcpus field value if set, zero value otherwise.

func (*VM) GetPinVcpusOk

func (o *VM) GetPinVcpusOk() (*bool, bool)

GetPinVcpusOk returns a tuple with the PinVcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetShutdownTimeout

func (o *VM) GetShutdownTimeout() int32

GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.

func (*VM) GetShutdownTimeoutOk

func (o *VM) GetShutdownTimeoutOk() (*int32, bool)

GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetStatus

func (o *VM) GetStatus() VMStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*VM) GetStatusOk

func (o *VM) GetStatusOk() (*VMStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetSuspendOnSnapshot

func (o *VM) GetSuspendOnSnapshot() bool

GetSuspendOnSnapshot returns the SuspendOnSnapshot field value if set, zero value otherwise.

func (*VM) GetSuspendOnSnapshotOk

func (o *VM) GetSuspendOnSnapshotOk() (*bool, bool)

GetSuspendOnSnapshotOk returns a tuple with the SuspendOnSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetThreads

func (o *VM) GetThreads() int32

GetThreads returns the Threads field value if set, zero value otherwise.

func (*VM) GetThreadsOk

func (o *VM) GetThreadsOk() (*int32, bool)

GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetTime

func (o *VM) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*VM) GetTimeOk

func (o *VM) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetUuid

func (o *VM) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*VM) GetUuidOk

func (o *VM) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) GetVcpus

func (o *VM) GetVcpus() int32

GetVcpus returns the Vcpus field value if set, zero value otherwise.

func (*VM) GetVcpusOk

func (o *VM) GetVcpusOk() (*int32, bool)

GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VM) HasArchType

func (o *VM) HasArchType() bool

HasArchType returns a boolean if a field has been set.

func (*VM) HasAutostart

func (o *VM) HasAutostart() bool

HasAutostart returns a boolean if a field has been set.

func (*VM) HasBootloader

func (o *VM) HasBootloader() bool

HasBootloader returns a boolean if a field has been set.

func (*VM) HasCommandLineArgs

func (o *VM) HasCommandLineArgs() bool

HasCommandLineArgs returns a boolean if a field has been set.

func (*VM) HasCores

func (o *VM) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*VM) HasCpuMode

func (o *VM) HasCpuMode() bool

HasCpuMode returns a boolean if a field has been set.

func (*VM) HasCpuModel

func (o *VM) HasCpuModel() bool

HasCpuModel returns a boolean if a field has been set.

func (*VM) HasCpuset

func (o *VM) HasCpuset() bool

HasCpuset returns a boolean if a field has been set.

func (*VM) HasDescription

func (o *VM) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VM) HasDevices

func (o *VM) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*VM) HasEnsureDisplayDevice

func (o *VM) HasEnsureDisplayDevice() bool

HasEnsureDisplayDevice returns a boolean if a field has been set.

func (*VM) HasHideFromMsr

func (o *VM) HasHideFromMsr() bool

HasHideFromMsr returns a boolean if a field has been set.

func (*VM) HasHypervEnlightenments

func (o *VM) HasHypervEnlightenments() bool

HasHypervEnlightenments returns a boolean if a field has been set.

func (*VM) HasMachineType

func (o *VM) HasMachineType() bool

HasMachineType returns a boolean if a field has been set.

func (*VM) HasMemory

func (o *VM) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*VM) HasMinMemory

func (o *VM) HasMinMemory() bool

HasMinMemory returns a boolean if a field has been set.

func (*VM) HasNodeset

func (o *VM) HasNodeset() bool

HasNodeset returns a boolean if a field has been set.

func (*VM) HasPinVcpus

func (o *VM) HasPinVcpus() bool

HasPinVcpus returns a boolean if a field has been set.

func (*VM) HasShutdownTimeout

func (o *VM) HasShutdownTimeout() bool

HasShutdownTimeout returns a boolean if a field has been set.

func (*VM) HasStatus

func (o *VM) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VM) HasSuspendOnSnapshot

func (o *VM) HasSuspendOnSnapshot() bool

HasSuspendOnSnapshot returns a boolean if a field has been set.

func (*VM) HasThreads

func (o *VM) HasThreads() bool

HasThreads returns a boolean if a field has been set.

func (*VM) HasTime

func (o *VM) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*VM) HasUuid

func (o *VM) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*VM) HasVcpus

func (o *VM) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

func (VM) MarshalJSON

func (o VM) MarshalJSON() ([]byte, error)

func (*VM) SetArchType

func (o *VM) SetArchType(v string)

SetArchType gets a reference to the given string and assigns it to the ArchType field.

func (*VM) SetAutostart

func (o *VM) SetAutostart(v bool)

SetAutostart gets a reference to the given bool and assigns it to the Autostart field.

func (*VM) SetBootloader

func (o *VM) SetBootloader(v string)

SetBootloader gets a reference to the given string and assigns it to the Bootloader field.

func (*VM) SetCommandLineArgs

func (o *VM) SetCommandLineArgs(v string)

SetCommandLineArgs gets a reference to the given string and assigns it to the CommandLineArgs field.

func (*VM) SetCores

func (o *VM) SetCores(v int32)

SetCores gets a reference to the given int32 and assigns it to the Cores field.

func (*VM) SetCpuMode

func (o *VM) SetCpuMode(v string)

SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.

func (*VM) SetCpuModel

func (o *VM) SetCpuModel(v string)

SetCpuModel gets a reference to the given string and assigns it to the CpuModel field.

func (*VM) SetCpuset

func (o *VM) SetCpuset(v string)

SetCpuset gets a reference to the given string and assigns it to the Cpuset field.

func (*VM) SetDescription

func (o *VM) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VM) SetDevices

func (o *VM) SetDevices(v []VMDevice)

SetDevices gets a reference to the given []VMDevice and assigns it to the Devices field.

func (*VM) SetEnsureDisplayDevice

func (o *VM) SetEnsureDisplayDevice(v bool)

SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.

func (*VM) SetHideFromMsr

func (o *VM) SetHideFromMsr(v bool)

SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.

func (*VM) SetHypervEnlightenments

func (o *VM) SetHypervEnlightenments(v bool)

SetHypervEnlightenments gets a reference to the given bool and assigns it to the HypervEnlightenments field.

func (*VM) SetId

func (o *VM) SetId(v int32)

SetId sets field value

func (*VM) SetMachineType

func (o *VM) SetMachineType(v string)

SetMachineType gets a reference to the given string and assigns it to the MachineType field.

func (*VM) SetMemory

func (o *VM) SetMemory(v int64)

SetMemory gets a reference to the given int64 and assigns it to the Memory field.

func (*VM) SetMinMemory

func (o *VM) SetMinMemory(v int64)

SetMinMemory gets a reference to the given int64 and assigns it to the MinMemory field.

func (*VM) SetName

func (o *VM) SetName(v string)

SetName sets field value

func (*VM) SetNodeset

func (o *VM) SetNodeset(v string)

SetNodeset gets a reference to the given string and assigns it to the Nodeset field.

func (*VM) SetPinVcpus

func (o *VM) SetPinVcpus(v bool)

SetPinVcpus gets a reference to the given bool and assigns it to the PinVcpus field.

func (*VM) SetShutdownTimeout

func (o *VM) SetShutdownTimeout(v int32)

SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.

func (*VM) SetStatus

func (o *VM) SetStatus(v VMStatus)

SetStatus gets a reference to the given VMStatus and assigns it to the Status field.

func (*VM) SetSuspendOnSnapshot

func (o *VM) SetSuspendOnSnapshot(v bool)

SetSuspendOnSnapshot gets a reference to the given bool and assigns it to the SuspendOnSnapshot field.

func (*VM) SetThreads

func (o *VM) SetThreads(v int32)

SetThreads gets a reference to the given int32 and assigns it to the Threads field.

func (*VM) SetTime

func (o *VM) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*VM) SetUuid

func (o *VM) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*VM) SetVcpus

func (o *VM) SetVcpus(v int32)

SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.

func (*VM) UnmarshalJSON

func (o *VM) UnmarshalJSON(bytes []byte) (err error)

type VMDevice

type VMDevice struct {
	Id                   *int32                 `json:"id,omitempty"`
	Dtype                string                 `json:"dtype"`
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	Order                *int32                 `json:"order,omitempty"`
	Vm                   *int32                 `json:"vm,omitempty"`
	AdditionalProperties map[string]interface{}
}

VMDevice struct for VMDevice

func NewVMDevice

func NewVMDevice(dtype string) *VMDevice

NewVMDevice instantiates a new VMDevice 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 NewVMDeviceWithDefaults

func NewVMDeviceWithDefaults() *VMDevice

NewVMDeviceWithDefaults instantiates a new VMDevice 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 (*VMDevice) GetAttributes

func (o *VMDevice) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*VMDevice) GetAttributesOk

func (o *VMDevice) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMDevice) GetDtype

func (o *VMDevice) GetDtype() string

GetDtype returns the Dtype field value

func (*VMDevice) GetDtypeOk

func (o *VMDevice) GetDtypeOk() (*string, bool)

GetDtypeOk returns a tuple with the Dtype field value and a boolean to check if the value has been set.

func (*VMDevice) GetId

func (o *VMDevice) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*VMDevice) GetIdOk

func (o *VMDevice) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMDevice) GetOrder

func (o *VMDevice) GetOrder() int32

GetOrder returns the Order field value if set, zero value otherwise.

func (*VMDevice) GetOrderOk

func (o *VMDevice) GetOrderOk() (*int32, bool)

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMDevice) GetVm

func (o *VMDevice) GetVm() int32

GetVm returns the Vm field value if set, zero value otherwise.

func (*VMDevice) GetVmOk

func (o *VMDevice) GetVmOk() (*int32, bool)

GetVmOk returns a tuple with the Vm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMDevice) HasAttributes

func (o *VMDevice) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*VMDevice) HasId

func (o *VMDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*VMDevice) HasOrder

func (o *VMDevice) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*VMDevice) HasVm

func (o *VMDevice) HasVm() bool

HasVm returns a boolean if a field has been set.

func (VMDevice) MarshalJSON

func (o VMDevice) MarshalJSON() ([]byte, error)

func (*VMDevice) SetAttributes

func (o *VMDevice) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*VMDevice) SetDtype

func (o *VMDevice) SetDtype(v string)

SetDtype sets field value

func (*VMDevice) SetId

func (o *VMDevice) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*VMDevice) SetOrder

func (o *VMDevice) SetOrder(v int32)

SetOrder gets a reference to the given int32 and assigns it to the Order field.

func (*VMDevice) SetVm

func (o *VMDevice) SetVm(v int32)

SetVm gets a reference to the given int32 and assigns it to the Vm field.

func (*VMDevice) UnmarshalJSON

func (o *VMDevice) UnmarshalJSON(bytes []byte) (err error)

type VMStatus

type VMStatus struct {
	State                *string `json:"state,omitempty"`
	Pid                  *int32  `json:"pid,omitempty"`
	DomainState          *string `json:"domain_state,omitempty"`
	AdditionalProperties map[string]interface{}
}

VMStatus struct for VMStatus

func NewVMStatus

func NewVMStatus() *VMStatus

NewVMStatus instantiates a new VMStatus 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 NewVMStatusWithDefaults

func NewVMStatusWithDefaults() *VMStatus

NewVMStatusWithDefaults instantiates a new VMStatus 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 (*VMStatus) GetDomainState

func (o *VMStatus) GetDomainState() string

GetDomainState returns the DomainState field value if set, zero value otherwise.

func (*VMStatus) GetDomainStateOk

func (o *VMStatus) GetDomainStateOk() (*string, bool)

GetDomainStateOk returns a tuple with the DomainState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMStatus) GetPid

func (o *VMStatus) GetPid() int32

GetPid returns the Pid field value if set, zero value otherwise.

func (*VMStatus) GetPidOk

func (o *VMStatus) GetPidOk() (*int32, bool)

GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMStatus) GetState

func (o *VMStatus) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*VMStatus) GetStateOk

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

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VMStatus) HasDomainState

func (o *VMStatus) HasDomainState() bool

HasDomainState returns a boolean if a field has been set.

func (*VMStatus) HasPid

func (o *VMStatus) HasPid() bool

HasPid returns a boolean if a field has been set.

func (*VMStatus) HasState

func (o *VMStatus) HasState() bool

HasState returns a boolean if a field has been set.

func (VMStatus) MarshalJSON

func (o VMStatus) MarshalJSON() ([]byte, error)

func (*VMStatus) SetDomainState

func (o *VMStatus) SetDomainState(v string)

SetDomainState gets a reference to the given string and assigns it to the DomainState field.

func (*VMStatus) SetPid

func (o *VMStatus) SetPid(v int32)

SetPid gets a reference to the given int32 and assigns it to the Pid field.

func (*VMStatus) SetState

func (o *VMStatus) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*VMStatus) UnmarshalJSON

func (o *VMStatus) UnmarshalJSON(bytes []byte) (err error)

type VmApiService

type VmApiService service

VmApiService VmApi service

func (*VmApiService) CreateVM

CreateVM Method for CreateVM

Create a Virtual Machine (VM).

`devices` is a list of virtualized hardware to add to the newly created Virtual Machine. Failure to attach a device destroys the VM and any resources allocated by the VM devices.

Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.

`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`.

`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host.

`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.

`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it.

`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough.

SCALE Angelfish: Specifying `devices` is deprecated and will be removed in next major release.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateVMRequest

func (*VmApiService) CreateVMExecute

func (a *VmApiService) CreateVMExecute(r ApiCreateVMRequest) (*VM, *http.Response, error)

Execute executes the request

@return VM

func (*VmApiService) DeleteVM

func (a *VmApiService) DeleteVM(ctx context.Context, id int32) ApiDeleteVMRequest

DeleteVM Method for DeleteVM

Delete a VM.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteVMRequest

func (*VmApiService) DeleteVMExecute

func (a *VmApiService) DeleteVMExecute(r ApiDeleteVMRequest) (*http.Response, error)

Execute executes the request

func (*VmApiService) GetVM

func (a *VmApiService) GetVM(ctx context.Context, id int32) ApiGetVMRequest

GetVM Method for GetVM

Get VM details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetVMRequest

func (*VmApiService) GetVMExecute

func (a *VmApiService) GetVMExecute(r ApiGetVMRequest) (*VM, *http.Response, error)

Execute executes the request

@return VM

func (*VmApiService) ListVMS

ListVMS Method for ListVMS

Get a list of VMs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListVMSRequest

func (*VmApiService) ListVMSExecute

func (a *VmApiService) ListVMSExecute(r ApiListVMSRequest) ([]VM, *http.Response, error)

Execute executes the request

@return []VM

func (*VmApiService) UpdateVM

func (a *VmApiService) UpdateVM(ctx context.Context, id int32) ApiUpdateVMRequest

UpdateVM Method for UpdateVM

Update all information of a specific VM.

`devices` is a list of virtualized hardware to attach to the virtual machine. If `devices` is not present, no change is made to devices. If either the device list order or data stored by the device changes when the attribute is passed, these actions are taken:

  1. If there is no device in the `devices` list which was previously attached to the VM, that device is removed from the virtual machine.

  2. Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to an existing device.

  3. Devices that do not have an `id` attribute are created and attached to `id` VM.

    @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateVMRequest

func (*VmApiService) UpdateVMExecute

func (a *VmApiService) UpdateVMExecute(r ApiUpdateVMRequest) (*VM, *http.Response, error)

Execute executes the request

@return VM

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL