privateapps

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for privateapps

Manage the Private Resources and Resource Groups in the organization.

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: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.11.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 privateapps "github.com/CiscoDevNet/go-ciscosecureaccess/privateapps"

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 privateapps.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), privateapps.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 privateapps.ContextOperationServerIndices and privateapps.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://api.sse.cisco.com/policies/v2

Class Method HTTP request Description
PrivateResourcesAPI AddPrivateResource Post /privateResources Create Private Resource
PrivateResourcesAPI DeletePrivateResource Delete /privateResources/{id} Delete Private Resource
PrivateResourcesAPI GetPrivateResource Get /privateResources/{id} Get Private Resource
PrivateResourcesAPI ListPrivateResources Get /privateResources List Private Resources
PrivateResourcesAPI PutPrivateResource Put /privateResources/{id} Update Private Resource
ResourceGroupsAPI AddPrivateResourceGroup Post /privateResourceGroups Create Resource Group
ResourceGroupsAPI DeletePrivateResourceGroup Delete /privateResourceGroups/{id} Delete Resource Group
ResourceGroupsAPI GetPrivateResourceGroup Get /privateResourceGroups/{id} Get Resource Group
ResourceGroupsAPI ListResourceGroups Get /privateResourceGroups List Resource Groups
ResourceGroupsAPI PutPrivateResourceGroup Put /privateResourceGroups/{id} Update Resource Group

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauthFlow
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • policies.privateresourcegroups:read: Read the Private Resource Groups resources
  • policies.privateresourcegroups:write: Write the Private Resource Groups resources
  • policies.privateresources:read: Read the Private Resources resources
  • policies.privateresources:write: Write the Private Resources resources

Example

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

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, privateapps.ContextOAuth2, tokenSource)
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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// 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")
)
View Source
var AllowedProtocolClientToResourceEnumValues = []ProtocolClientToResource{
	"any",
	"tcp",
	"udp",
	"http/https",
}

All allowed values of ProtocolClientToResource enum

View Source
var AllowedProtocolProxyToResourceEnumValues = []ProtocolProxyToResource{
	"HTTPS",
	"HTTP",
}

All allowed values of ProtocolProxyToResource enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	PrivateResourcesAPI *PrivateResourcesAPIService

	ResourceGroupsAPI *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Cisco Secure Access Private Resources and Resource Groups API API v1.0.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 AccessTypesInner

type AccessTypesInner struct {
	BranchAccess               *BranchAccess
	BrowserBasedAccessResponse *BrowserBasedAccessResponse
	ClientBasedAccess          *ClientBasedAccess
	NetworkBasedAccess         *NetworkBasedAccess
}

AccessTypesInner struct for AccessTypesInner

func (AccessTypesInner) MarshalJSON

func (src AccessTypesInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (AccessTypesInner) ToMap

func (src AccessTypesInner) ToMap() (map[string]interface{}, error)

func (*AccessTypesInner) UnmarshalJSON

func (dst *AccessTypesInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type AccessTypesRequestInner

type AccessTypesRequestInner struct {
	BrowserBasedAccessRequest *BrowserBasedAccessRequest
	ClientBasedAccess         *ClientBasedAccess
	NetworkBasedAccess        *NetworkBasedAccess
}

AccessTypesRequestInner struct for AccessTypesRequestInner

func (AccessTypesRequestInner) MarshalJSON

func (src AccessTypesRequestInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AccessTypesRequestInner) UnmarshalJSON

func (dst *AccessTypesRequestInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type ApiAddPrivateResourceGroupRequest

type ApiAddPrivateResourceGroupRequest struct {
	ApiService *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiAddPrivateResourceGroupRequest) Execute

func (ApiAddPrivateResourceGroupRequest) PrivateResourceGroupRequest

func (r ApiAddPrivateResourceGroupRequest) PrivateResourceGroupRequest(privateResourceGroupRequest PrivateResourceGroupRequest) ApiAddPrivateResourceGroupRequest

Create the Resource Group.

type ApiAddPrivateResourceRequest

type ApiAddPrivateResourceRequest struct {
	ApiService *PrivateResourcesAPIService
	// contains filtered or unexported fields
}

func (ApiAddPrivateResourceRequest) Execute

func (ApiAddPrivateResourceRequest) PrivateResourceRequest

func (r ApiAddPrivateResourceRequest) PrivateResourceRequest(privateResourceRequest PrivateResourceRequest) ApiAddPrivateResourceRequest

Create the Private Resource.

type ApiDeletePrivateResourceGroupRequest

type ApiDeletePrivateResourceGroupRequest struct {
	ApiService *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePrivateResourceGroupRequest) Execute

func (ApiDeletePrivateResourceGroupRequest) Force

Specify whether to force the removal of the Private Resource Group even if the group is included in one or more private access rules.

type ApiDeletePrivateResourceRequest

type ApiDeletePrivateResourceRequest struct {
	ApiService *PrivateResourcesAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePrivateResourceRequest) Execute

func (ApiDeletePrivateResourceRequest) Force

Specify whether to force the removal of the Private Resource even if the resource is included on one or more private access rules.

type ApiGetPrivateResourceGroupRequest

type ApiGetPrivateResourceGroupRequest struct {
	ApiService *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiGetPrivateResourceGroupRequest) Execute

type ApiGetPrivateResourceRequest

type ApiGetPrivateResourceRequest struct {
	ApiService *PrivateResourcesAPIService
	// contains filtered or unexported fields
}

func (ApiGetPrivateResourceRequest) Execute

type ApiListPrivateResourcesRequest

type ApiListPrivateResourcesRequest struct {
	ApiService *PrivateResourcesAPIService
	// contains filtered or unexported fields
}

func (ApiListPrivateResourcesRequest) Execute

func (ApiListPrivateResourcesRequest) Filters

func (r ApiListPrivateResourcesRequest) Filters(filters map[string]interface{}) ApiListPrivateResourcesRequest

Filter the private resources in the organization by one or more properties: `name`, `description`, `resourceGroupId`, `accessType`, and `externalFQDN`. * **name**-The name of the resource. The value is case insensitive. * **description**-The description of the resource. The value is case insensitive. * **resourceGroupId**-The ID of the resource group that includes the resource. * **accessType**-The type of access configured for the resource. Valid values are: `browser`, `network`, or `client`, or a combination of these values. * **externalFQDN**-The value of the resource's external fully qualified domain name (FQDN). Specify the filters in the JSON format. Example: ``` { \"name\": \"West coast\", \"description\": \"West Coast\", \"resourceGroupId\": 1234, \"accessType\": \"network\", \"externalFQDN\": \"https://jira-2390150.ztna.ciscoplus.com\" } ```

func (ApiListPrivateResourcesRequest) Limit

The number of items from the collection to return on a page. The default value is `10` items on a page. The maximum number of items that is allowed on a page is 1000.

func (ApiListPrivateResourcesRequest) Offset

An integer that represents an index in the collection. If the limit is `10` and the offset is `0`, the offset for next page is `10`.

func (ApiListPrivateResourcesRequest) SortBy

Specify the field that is used to sort the Private Resources.

func (ApiListPrivateResourcesRequest) SortOrder

Specify the order that is used to sort the Private Resources. The default value is `asc`.

type ApiListResourceGroupsRequest

type ApiListResourceGroupsRequest struct {
	ApiService *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiListResourceGroupsRequest) Execute

func (ApiListResourceGroupsRequest) Filters

func (r ApiListResourceGroupsRequest) Filters(filters map[string]interface{}) ApiListResourceGroupsRequest

Filter the resource groups in the organization by one or more properties: `name`, `description`, `resourceId`, and `accessType`. * **name**—The name of the resource group. The value is case insensitive. * **description**—The description of the Resource Group. The value is case insensitive. * **resourceId**—The resource group includes the resource, which you can identify by the ID. * **accessType**—The resource group contains at least one resource. The resource has one of the types of access: `branch`, `network`, `client`, or `browser`. Specify the filters in the JSON format. Example: ``` { \"name\": \"West coast\", \"description\": \"West Coast\", \"resourceId\": 1234, \"accessType\": \"network\" } ```

func (ApiListResourceGroupsRequest) Limit

The number of items from the collection to return on a page. The default value is `10` items on a page. The maximum number of items that is allowed on a page is 1000.

func (ApiListResourceGroupsRequest) Offset

An integer that represents an index in the collection. If the limit is `10` and the offset is `0`, the offset for next page is `10`.

func (ApiListResourceGroupsRequest) SortBy

Specify the field that is used to sort the Private Resource Groups.

func (ApiListResourceGroupsRequest) SortOrder

Specify the order that is used to sort the Private Resources. The default value is `asc`.

type ApiPutPrivateResourceGroupRequest

type ApiPutPrivateResourceGroupRequest struct {
	ApiService *ResourceGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiPutPrivateResourceGroupRequest) Execute

func (ApiPutPrivateResourceGroupRequest) PrivateResourceGroupRequest

func (r ApiPutPrivateResourceGroupRequest) PrivateResourceGroupRequest(privateResourceGroupRequest PrivateResourceGroupRequest) ApiPutPrivateResourceGroupRequest

Update the properties of the Private Resource Group.

type ApiPutPrivateResourceRequest

type ApiPutPrivateResourceRequest struct {
	ApiService *PrivateResourcesAPIService
	// contains filtered or unexported fields
}

func (ApiPutPrivateResourceRequest) Execute

func (ApiPutPrivateResourceRequest) PrivateResourceRequest

func (r ApiPutPrivateResourceRequest) PrivateResourceRequest(privateResourceRequest PrivateResourceRequest) ApiPutPrivateResourceRequest

Update a Private Resource.

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 BranchAccess

type BranchAccess struct {
	// The type of the connection is branch.
	Type                 *string `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchAccess The connection type is the branch network. The branch connection type is always enabled for all private resources.

func NewBranchAccess

func NewBranchAccess() *BranchAccess

NewBranchAccess instantiates a new BranchAccess 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 NewBranchAccessWithDefaults

func NewBranchAccessWithDefaults() *BranchAccess

NewBranchAccessWithDefaults instantiates a new BranchAccess 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 (*BranchAccess) GetType

func (o *BranchAccess) GetType() string

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

func (*BranchAccess) GetTypeOk

func (o *BranchAccess) 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 (*BranchAccess) HasType

func (o *BranchAccess) HasType() bool

HasType returns a boolean if a field has been set.

func (BranchAccess) MarshalJSON

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

func (*BranchAccess) SetType

func (o *BranchAccess) SetType(v string)

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

func (BranchAccess) ToMap

func (o BranchAccess) ToMap() (map[string]interface{}, error)

func (*BranchAccess) UnmarshalJSON

func (o *BranchAccess) UnmarshalJSON(data []byte) (err error)

type BrowserBasedAccessCommon

type BrowserBasedAccessCommon struct {
	// The type of the connection is a browser.
	Type     string                  `json:"type"`
	Protocol ProtocolProxyToResource `json:"protocol"`
	// The Server Name Indication (SNI) domain name. Only applicable for browser-based Zero Trust Access and when you select the HTTPS protocol. The SNI must be a valid domain.
	Sni *string `json:"sni,omitempty"`
	// Specify whether to enable upstream SSL verification for the internally hosted URL by the customer. Applicable for browser-based Zero Trust Access only and when you select the HTTPS protocol.
	SslVerificationEnabled *bool `json:"sslVerificationEnabled,omitempty"`
	AdditionalProperties   map[string]interface{}
}

BrowserBasedAccessCommon The properties of a browser-based connection type.

func NewBrowserBasedAccessCommon

func NewBrowserBasedAccessCommon(type_ string, protocol ProtocolProxyToResource) *BrowserBasedAccessCommon

NewBrowserBasedAccessCommon instantiates a new BrowserBasedAccessCommon 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 NewBrowserBasedAccessCommonWithDefaults

func NewBrowserBasedAccessCommonWithDefaults() *BrowserBasedAccessCommon

NewBrowserBasedAccessCommonWithDefaults instantiates a new BrowserBasedAccessCommon 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 (*BrowserBasedAccessCommon) GetProtocol

GetProtocol returns the Protocol field value

func (*BrowserBasedAccessCommon) GetProtocolOk

func (o *BrowserBasedAccessCommon) GetProtocolOk() (*ProtocolProxyToResource, bool)

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

func (*BrowserBasedAccessCommon) GetSni

func (o *BrowserBasedAccessCommon) GetSni() string

GetSni returns the Sni field value if set, zero value otherwise.

func (*BrowserBasedAccessCommon) GetSniOk

func (o *BrowserBasedAccessCommon) GetSniOk() (*string, bool)

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

func (*BrowserBasedAccessCommon) GetSslVerificationEnabled

func (o *BrowserBasedAccessCommon) GetSslVerificationEnabled() bool

GetSslVerificationEnabled returns the SslVerificationEnabled field value if set, zero value otherwise.

func (*BrowserBasedAccessCommon) GetSslVerificationEnabledOk

func (o *BrowserBasedAccessCommon) GetSslVerificationEnabledOk() (*bool, bool)

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

func (*BrowserBasedAccessCommon) GetType

func (o *BrowserBasedAccessCommon) GetType() string

GetType returns the Type field value

func (*BrowserBasedAccessCommon) GetTypeOk

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

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

func (*BrowserBasedAccessCommon) HasSni

func (o *BrowserBasedAccessCommon) HasSni() bool

HasSni returns a boolean if a field has been set.

func (*BrowserBasedAccessCommon) HasSslVerificationEnabled

func (o *BrowserBasedAccessCommon) HasSslVerificationEnabled() bool

HasSslVerificationEnabled returns a boolean if a field has been set.

func (BrowserBasedAccessCommon) MarshalJSON

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

func (*BrowserBasedAccessCommon) SetProtocol

SetProtocol sets field value

func (*BrowserBasedAccessCommon) SetSni

func (o *BrowserBasedAccessCommon) SetSni(v string)

SetSni gets a reference to the given string and assigns it to the Sni field.

func (*BrowserBasedAccessCommon) SetSslVerificationEnabled

func (o *BrowserBasedAccessCommon) SetSslVerificationEnabled(v bool)

SetSslVerificationEnabled gets a reference to the given bool and assigns it to the SslVerificationEnabled field.

func (*BrowserBasedAccessCommon) SetType

func (o *BrowserBasedAccessCommon) SetType(v string)

SetType sets field value

func (BrowserBasedAccessCommon) ToMap

func (o BrowserBasedAccessCommon) ToMap() (map[string]interface{}, error)

func (*BrowserBasedAccessCommon) UnmarshalJSON

func (o *BrowserBasedAccessCommon) UnmarshalJSON(data []byte) (err error)

type BrowserBasedAccessRequest

type BrowserBasedAccessRequest struct {
	// The type of the connection is a browser.
	Type     string                  `json:"type"`
	Protocol ProtocolProxyToResource `json:"protocol"`
	// The Server Name Indication (SNI) domain name. Only applicable for browser-based Zero Trust Access and when you select the HTTPS protocol. The SNI must be a valid domain.
	Sni *string `json:"sni,omitempty"`
	// Specify whether to enable upstream SSL verification for the internally hosted URL by the customer. Applicable for browser-based Zero Trust Access only and when you select the HTTPS protocol.
	SslVerificationEnabled *bool `json:"sslVerificationEnabled,omitempty"`
	// The external fully qualified domain name (FQDN) prefix.
	ExternalFQDNPrefix   *string `json:"externalFQDNPrefix,omitempty"`
	AdditionalProperties map[string]interface{}
}

BrowserBasedAccessRequest struct for BrowserBasedAccessRequest

func NewBrowserBasedAccessRequest

func NewBrowserBasedAccessRequest(type_ string, protocol ProtocolProxyToResource) *BrowserBasedAccessRequest

NewBrowserBasedAccessRequest instantiates a new BrowserBasedAccessRequest 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 NewBrowserBasedAccessRequestWithDefaults

func NewBrowserBasedAccessRequestWithDefaults() *BrowserBasedAccessRequest

NewBrowserBasedAccessRequestWithDefaults instantiates a new BrowserBasedAccessRequest 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 (*BrowserBasedAccessRequest) GetExternalFQDNPrefix

func (o *BrowserBasedAccessRequest) GetExternalFQDNPrefix() string

GetExternalFQDNPrefix returns the ExternalFQDNPrefix field value if set, zero value otherwise.

func (*BrowserBasedAccessRequest) GetExternalFQDNPrefixOk

func (o *BrowserBasedAccessRequest) GetExternalFQDNPrefixOk() (*string, bool)

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

func (*BrowserBasedAccessRequest) GetProtocol

GetProtocol returns the Protocol field value

func (*BrowserBasedAccessRequest) GetProtocolOk

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

func (*BrowserBasedAccessRequest) GetSni

func (o *BrowserBasedAccessRequest) GetSni() string

GetSni returns the Sni field value if set, zero value otherwise.

func (*BrowserBasedAccessRequest) GetSniOk

func (o *BrowserBasedAccessRequest) GetSniOk() (*string, bool)

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

func (*BrowserBasedAccessRequest) GetSslVerificationEnabled

func (o *BrowserBasedAccessRequest) GetSslVerificationEnabled() bool

GetSslVerificationEnabled returns the SslVerificationEnabled field value if set, zero value otherwise.

func (*BrowserBasedAccessRequest) GetSslVerificationEnabledOk

func (o *BrowserBasedAccessRequest) GetSslVerificationEnabledOk() (*bool, bool)

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

func (*BrowserBasedAccessRequest) GetType

func (o *BrowserBasedAccessRequest) GetType() string

GetType returns the Type field value

func (*BrowserBasedAccessRequest) GetTypeOk

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

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

func (*BrowserBasedAccessRequest) HasExternalFQDNPrefix

func (o *BrowserBasedAccessRequest) HasExternalFQDNPrefix() bool

HasExternalFQDNPrefix returns a boolean if a field has been set.

func (*BrowserBasedAccessRequest) HasSni

func (o *BrowserBasedAccessRequest) HasSni() bool

HasSni returns a boolean if a field has been set.

func (*BrowserBasedAccessRequest) HasSslVerificationEnabled

func (o *BrowserBasedAccessRequest) HasSslVerificationEnabled() bool

HasSslVerificationEnabled returns a boolean if a field has been set.

func (BrowserBasedAccessRequest) MarshalJSON

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

func (*BrowserBasedAccessRequest) SetExternalFQDNPrefix

func (o *BrowserBasedAccessRequest) SetExternalFQDNPrefix(v string)

SetExternalFQDNPrefix gets a reference to the given string and assigns it to the ExternalFQDNPrefix field.

func (*BrowserBasedAccessRequest) SetProtocol

SetProtocol sets field value

func (*BrowserBasedAccessRequest) SetSni

func (o *BrowserBasedAccessRequest) SetSni(v string)

SetSni gets a reference to the given string and assigns it to the Sni field.

func (*BrowserBasedAccessRequest) SetSslVerificationEnabled

func (o *BrowserBasedAccessRequest) SetSslVerificationEnabled(v bool)

SetSslVerificationEnabled gets a reference to the given bool and assigns it to the SslVerificationEnabled field.

func (*BrowserBasedAccessRequest) SetType

func (o *BrowserBasedAccessRequest) SetType(v string)

SetType sets field value

func (BrowserBasedAccessRequest) ToMap

func (o BrowserBasedAccessRequest) ToMap() (map[string]interface{}, error)

func (*BrowserBasedAccessRequest) UnmarshalJSON

func (o *BrowserBasedAccessRequest) UnmarshalJSON(data []byte) (err error)

type BrowserBasedAccessResponse

type BrowserBasedAccessResponse struct {
	// The type of the connection is a browser.
	Type     string                  `json:"type"`
	Protocol ProtocolProxyToResource `json:"protocol"`
	// The Server Name Indication (SNI) domain name. Only applicable for browser-based Zero Trust Access and when you select the HTTPS protocol. The SNI must be a valid domain.
	Sni *string `json:"sni,omitempty"`
	// Specify whether to enable upstream SSL verification for the internally hosted URL by the customer. Applicable for browser-based Zero Trust Access only and when you select the HTTPS protocol.
	SslVerificationEnabled *bool `json:"sslVerificationEnabled,omitempty"`
	// The external fully qualified domain name (FQDN).
	ExternalFQDN         *string `json:"externalFQDN,omitempty"`
	AdditionalProperties map[string]interface{}
}

BrowserBasedAccessResponse struct for BrowserBasedAccessResponse

func NewBrowserBasedAccessResponse

func NewBrowserBasedAccessResponse(type_ string, protocol ProtocolProxyToResource) *BrowserBasedAccessResponse

NewBrowserBasedAccessResponse instantiates a new BrowserBasedAccessResponse 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 NewBrowserBasedAccessResponseWithDefaults

func NewBrowserBasedAccessResponseWithDefaults() *BrowserBasedAccessResponse

NewBrowserBasedAccessResponseWithDefaults instantiates a new BrowserBasedAccessResponse 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 (*BrowserBasedAccessResponse) GetExternalFQDN

func (o *BrowserBasedAccessResponse) GetExternalFQDN() string

GetExternalFQDN returns the ExternalFQDN field value if set, zero value otherwise.

func (*BrowserBasedAccessResponse) GetExternalFQDNOk

func (o *BrowserBasedAccessResponse) GetExternalFQDNOk() (*string, bool)

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

func (*BrowserBasedAccessResponse) GetProtocol

GetProtocol returns the Protocol field value

func (*BrowserBasedAccessResponse) GetProtocolOk

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

func (*BrowserBasedAccessResponse) GetSni

func (o *BrowserBasedAccessResponse) GetSni() string

GetSni returns the Sni field value if set, zero value otherwise.

func (*BrowserBasedAccessResponse) GetSniOk

func (o *BrowserBasedAccessResponse) GetSniOk() (*string, bool)

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

func (*BrowserBasedAccessResponse) GetSslVerificationEnabled

func (o *BrowserBasedAccessResponse) GetSslVerificationEnabled() bool

GetSslVerificationEnabled returns the SslVerificationEnabled field value if set, zero value otherwise.

func (*BrowserBasedAccessResponse) GetSslVerificationEnabledOk

func (o *BrowserBasedAccessResponse) GetSslVerificationEnabledOk() (*bool, bool)

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

func (*BrowserBasedAccessResponse) GetType

func (o *BrowserBasedAccessResponse) GetType() string

GetType returns the Type field value

func (*BrowserBasedAccessResponse) GetTypeOk

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

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

func (*BrowserBasedAccessResponse) HasExternalFQDN

func (o *BrowserBasedAccessResponse) HasExternalFQDN() bool

HasExternalFQDN returns a boolean if a field has been set.

func (*BrowserBasedAccessResponse) HasSni

func (o *BrowserBasedAccessResponse) HasSni() bool

HasSni returns a boolean if a field has been set.

func (*BrowserBasedAccessResponse) HasSslVerificationEnabled

func (o *BrowserBasedAccessResponse) HasSslVerificationEnabled() bool

HasSslVerificationEnabled returns a boolean if a field has been set.

func (BrowserBasedAccessResponse) MarshalJSON

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

func (*BrowserBasedAccessResponse) SetExternalFQDN

func (o *BrowserBasedAccessResponse) SetExternalFQDN(v string)

SetExternalFQDN gets a reference to the given string and assigns it to the ExternalFQDN field.

func (*BrowserBasedAccessResponse) SetProtocol

SetProtocol sets field value

func (*BrowserBasedAccessResponse) SetSni

func (o *BrowserBasedAccessResponse) SetSni(v string)

SetSni gets a reference to the given string and assigns it to the Sni field.

func (*BrowserBasedAccessResponse) SetSslVerificationEnabled

func (o *BrowserBasedAccessResponse) SetSslVerificationEnabled(v bool)

SetSslVerificationEnabled gets a reference to the given bool and assigns it to the SslVerificationEnabled field.

func (*BrowserBasedAccessResponse) SetType

func (o *BrowserBasedAccessResponse) SetType(v string)

SetType sets field value

func (BrowserBasedAccessResponse) ToMap

func (o BrowserBasedAccessResponse) ToMap() (map[string]interface{}, error)

func (*BrowserBasedAccessResponse) UnmarshalJSON

func (o *BrowserBasedAccessResponse) UnmarshalJSON(data []byte) (err error)

type ClientBasedAccess

type ClientBasedAccess struct {
	// The type of the connection is Secure Client.
	Type string `json:"type"`
	// The list of IP address, CIDRs, FQDN, or wildcard FQDN destinations. IPv6 is not supported. Only applies to resources that are configured for client-based Zero Trust Access.
	ReachableAddresses   []string `json:"reachableAddresses"`
	AdditionalProperties map[string]interface{}
}

ClientBasedAccess The connection to private resources is defined for the Secure Client.

func NewClientBasedAccess

func NewClientBasedAccess(type_ string, reachableAddresses []string) *ClientBasedAccess

NewClientBasedAccess instantiates a new ClientBasedAccess 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 NewClientBasedAccessWithDefaults

func NewClientBasedAccessWithDefaults() *ClientBasedAccess

NewClientBasedAccessWithDefaults instantiates a new ClientBasedAccess 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 (*ClientBasedAccess) GetReachableAddresses

func (o *ClientBasedAccess) GetReachableAddresses() []string

GetReachableAddresses returns the ReachableAddresses field value

func (*ClientBasedAccess) GetReachableAddressesOk

func (o *ClientBasedAccess) GetReachableAddressesOk() ([]string, bool)

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

func (*ClientBasedAccess) GetType

func (o *ClientBasedAccess) GetType() string

GetType returns the Type field value

func (*ClientBasedAccess) GetTypeOk

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

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

func (ClientBasedAccess) MarshalJSON

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

func (*ClientBasedAccess) SetReachableAddresses

func (o *ClientBasedAccess) SetReachableAddresses(v []string)

SetReachableAddresses sets field value

func (*ClientBasedAccess) SetType

func (o *ClientBasedAccess) SetType(v string)

SetType sets field value

func (ClientBasedAccess) ToMap

func (o ClientBasedAccess) ToMap() (map[string]interface{}, error)

func (*ClientBasedAccess) UnmarshalJSON

func (o *ClientBasedAccess) UnmarshalJSON(data []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 ExternalFQDN

type ExternalFQDN struct {
	// The external fully qualified domain name (FQDN).
	ExternalFQDN         *string `json:"externalFQDN,omitempty"`
	AdditionalProperties map[string]interface{}
}

ExternalFQDN The URL for the private resource. This value must be unique across all private resources in the organization, and must contain only alphanumeric characters or hyphens.

func NewExternalFQDN

func NewExternalFQDN() *ExternalFQDN

NewExternalFQDN instantiates a new ExternalFQDN 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 NewExternalFQDNWithDefaults

func NewExternalFQDNWithDefaults() *ExternalFQDN

NewExternalFQDNWithDefaults instantiates a new ExternalFQDN 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 (*ExternalFQDN) GetExternalFQDN

func (o *ExternalFQDN) GetExternalFQDN() string

GetExternalFQDN returns the ExternalFQDN field value if set, zero value otherwise.

func (*ExternalFQDN) GetExternalFQDNOk

func (o *ExternalFQDN) GetExternalFQDNOk() (*string, bool)

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

func (*ExternalFQDN) HasExternalFQDN

func (o *ExternalFQDN) HasExternalFQDN() bool

HasExternalFQDN returns a boolean if a field has been set.

func (ExternalFQDN) MarshalJSON

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

func (*ExternalFQDN) SetExternalFQDN

func (o *ExternalFQDN) SetExternalFQDN(v string)

SetExternalFQDN gets a reference to the given string and assigns it to the ExternalFQDN field.

func (ExternalFQDN) ToMap

func (o ExternalFQDN) ToMap() (map[string]interface{}, error)

func (*ExternalFQDN) UnmarshalJSON

func (o *ExternalFQDN) UnmarshalJSON(data []byte) (err error)

type ExternalFQDNPrefix

type ExternalFQDNPrefix struct {
	// The external fully qualified domain name (FQDN) prefix.
	ExternalFQDNPrefix   *string `json:"externalFQDNPrefix,omitempty"`
	AdditionalProperties map[string]interface{}
}

ExternalFQDNPrefix The subdomain of the URL for the private resource. This value must be unique across all private resources in the organization, and must contain only alphanumeric characters or hyphens.

func NewExternalFQDNPrefix

func NewExternalFQDNPrefix() *ExternalFQDNPrefix

NewExternalFQDNPrefix instantiates a new ExternalFQDNPrefix 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 NewExternalFQDNPrefixWithDefaults

func NewExternalFQDNPrefixWithDefaults() *ExternalFQDNPrefix

NewExternalFQDNPrefixWithDefaults instantiates a new ExternalFQDNPrefix 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 (*ExternalFQDNPrefix) GetExternalFQDNPrefix

func (o *ExternalFQDNPrefix) GetExternalFQDNPrefix() string

GetExternalFQDNPrefix returns the ExternalFQDNPrefix field value if set, zero value otherwise.

func (*ExternalFQDNPrefix) GetExternalFQDNPrefixOk

func (o *ExternalFQDNPrefix) GetExternalFQDNPrefixOk() (*string, bool)

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

func (*ExternalFQDNPrefix) HasExternalFQDNPrefix

func (o *ExternalFQDNPrefix) HasExternalFQDNPrefix() bool

HasExternalFQDNPrefix returns a boolean if a field has been set.

func (ExternalFQDNPrefix) MarshalJSON

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

func (*ExternalFQDNPrefix) SetExternalFQDNPrefix

func (o *ExternalFQDNPrefix) SetExternalFQDNPrefix(v string)

SetExternalFQDNPrefix gets a reference to the given string and assigns it to the ExternalFQDNPrefix field.

func (ExternalFQDNPrefix) ToMap

func (o ExternalFQDNPrefix) ToMap() (map[string]interface{}, error)

func (*ExternalFQDNPrefix) UnmarshalJSON

func (o *ExternalFQDNPrefix) UnmarshalJSON(data []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 ListResourceGroups400Response

type ListResourceGroups400Response struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListResourceGroups400Response struct for ListResourceGroups400Response

func NewListResourceGroups400Response

func NewListResourceGroups400Response() *ListResourceGroups400Response

NewListResourceGroups400Response instantiates a new ListResourceGroups400Response 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 NewListResourceGroups400ResponseWithDefaults

func NewListResourceGroups400ResponseWithDefaults() *ListResourceGroups400Response

NewListResourceGroups400ResponseWithDefaults instantiates a new ListResourceGroups400Response 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 (*ListResourceGroups400Response) GetError

func (o *ListResourceGroups400Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ListResourceGroups400Response) GetErrorOk

func (o *ListResourceGroups400Response) GetErrorOk() (*string, bool)

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

func (*ListResourceGroups400Response) GetRequestId

func (o *ListResourceGroups400Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ListResourceGroups400Response) GetRequestIdOk

func (o *ListResourceGroups400Response) GetRequestIdOk() (*string, bool)

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

func (*ListResourceGroups400Response) HasError

func (o *ListResourceGroups400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListResourceGroups400Response) HasRequestId

func (o *ListResourceGroups400Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (ListResourceGroups400Response) MarshalJSON

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

func (*ListResourceGroups400Response) SetError

func (o *ListResourceGroups400Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ListResourceGroups400Response) SetRequestId

func (o *ListResourceGroups400Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (ListResourceGroups400Response) ToMap

func (o ListResourceGroups400Response) ToMap() (map[string]interface{}, error)

func (*ListResourceGroups400Response) UnmarshalJSON

func (o *ListResourceGroups400Response) UnmarshalJSON(data []byte) (err error)

type ListResourceGroups401Response

type ListResourceGroups401Response struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListResourceGroups401Response struct for ListResourceGroups401Response

func NewListResourceGroups401Response

func NewListResourceGroups401Response() *ListResourceGroups401Response

NewListResourceGroups401Response instantiates a new ListResourceGroups401Response 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 NewListResourceGroups401ResponseWithDefaults

func NewListResourceGroups401ResponseWithDefaults() *ListResourceGroups401Response

NewListResourceGroups401ResponseWithDefaults instantiates a new ListResourceGroups401Response 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 (*ListResourceGroups401Response) GetError

func (o *ListResourceGroups401Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ListResourceGroups401Response) GetErrorOk

func (o *ListResourceGroups401Response) GetErrorOk() (*string, bool)

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

func (*ListResourceGroups401Response) GetRequestId

func (o *ListResourceGroups401Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ListResourceGroups401Response) GetRequestIdOk

func (o *ListResourceGroups401Response) GetRequestIdOk() (*string, bool)

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

func (*ListResourceGroups401Response) HasError

func (o *ListResourceGroups401Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListResourceGroups401Response) HasRequestId

func (o *ListResourceGroups401Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (ListResourceGroups401Response) MarshalJSON

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

func (*ListResourceGroups401Response) SetError

func (o *ListResourceGroups401Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ListResourceGroups401Response) SetRequestId

func (o *ListResourceGroups401Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (ListResourceGroups401Response) ToMap

func (o ListResourceGroups401Response) ToMap() (map[string]interface{}, error)

func (*ListResourceGroups401Response) UnmarshalJSON

func (o *ListResourceGroups401Response) UnmarshalJSON(data []byte) (err error)

type ListResourceGroups403Response

type ListResourceGroups403Response struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListResourceGroups403Response struct for ListResourceGroups403Response

func NewListResourceGroups403Response

func NewListResourceGroups403Response() *ListResourceGroups403Response

NewListResourceGroups403Response instantiates a new ListResourceGroups403Response 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 NewListResourceGroups403ResponseWithDefaults

func NewListResourceGroups403ResponseWithDefaults() *ListResourceGroups403Response

NewListResourceGroups403ResponseWithDefaults instantiates a new ListResourceGroups403Response 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 (*ListResourceGroups403Response) GetError

func (o *ListResourceGroups403Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ListResourceGroups403Response) GetErrorOk

func (o *ListResourceGroups403Response) GetErrorOk() (*string, bool)

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

func (*ListResourceGroups403Response) GetRequestId

func (o *ListResourceGroups403Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ListResourceGroups403Response) GetRequestIdOk

func (o *ListResourceGroups403Response) GetRequestIdOk() (*string, bool)

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

func (*ListResourceGroups403Response) HasError

func (o *ListResourceGroups403Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListResourceGroups403Response) HasRequestId

func (o *ListResourceGroups403Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (ListResourceGroups403Response) MarshalJSON

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

func (*ListResourceGroups403Response) SetError

func (o *ListResourceGroups403Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ListResourceGroups403Response) SetRequestId

func (o *ListResourceGroups403Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (ListResourceGroups403Response) ToMap

func (o ListResourceGroups403Response) ToMap() (map[string]interface{}, error)

func (*ListResourceGroups403Response) UnmarshalJSON

func (o *ListResourceGroups403Response) UnmarshalJSON(data []byte) (err error)

type ListResourceGroups404Response

type ListResourceGroups404Response struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListResourceGroups404Response struct for ListResourceGroups404Response

func NewListResourceGroups404Response

func NewListResourceGroups404Response() *ListResourceGroups404Response

NewListResourceGroups404Response instantiates a new ListResourceGroups404Response 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 NewListResourceGroups404ResponseWithDefaults

func NewListResourceGroups404ResponseWithDefaults() *ListResourceGroups404Response

NewListResourceGroups404ResponseWithDefaults instantiates a new ListResourceGroups404Response 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 (*ListResourceGroups404Response) GetError

func (o *ListResourceGroups404Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ListResourceGroups404Response) GetErrorOk

func (o *ListResourceGroups404Response) GetErrorOk() (*string, bool)

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

func (*ListResourceGroups404Response) GetRequestId

func (o *ListResourceGroups404Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ListResourceGroups404Response) GetRequestIdOk

func (o *ListResourceGroups404Response) GetRequestIdOk() (*string, bool)

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

func (*ListResourceGroups404Response) HasError

func (o *ListResourceGroups404Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListResourceGroups404Response) HasRequestId

func (o *ListResourceGroups404Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (ListResourceGroups404Response) MarshalJSON

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

func (*ListResourceGroups404Response) SetError

func (o *ListResourceGroups404Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ListResourceGroups404Response) SetRequestId

func (o *ListResourceGroups404Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (ListResourceGroups404Response) ToMap

func (o ListResourceGroups404Response) ToMap() (map[string]interface{}, error)

func (*ListResourceGroups404Response) UnmarshalJSON

func (o *ListResourceGroups404Response) UnmarshalJSON(data []byte) (err error)

type ListResourceGroups500Response

type ListResourceGroups500Response struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListResourceGroups500Response struct for ListResourceGroups500Response

func NewListResourceGroups500Response

func NewListResourceGroups500Response() *ListResourceGroups500Response

NewListResourceGroups500Response instantiates a new ListResourceGroups500Response 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 NewListResourceGroups500ResponseWithDefaults

func NewListResourceGroups500ResponseWithDefaults() *ListResourceGroups500Response

NewListResourceGroups500ResponseWithDefaults instantiates a new ListResourceGroups500Response 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 (*ListResourceGroups500Response) GetError

func (o *ListResourceGroups500Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ListResourceGroups500Response) GetErrorOk

func (o *ListResourceGroups500Response) GetErrorOk() (*string, bool)

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

func (*ListResourceGroups500Response) GetRequestId

func (o *ListResourceGroups500Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ListResourceGroups500Response) GetRequestIdOk

func (o *ListResourceGroups500Response) GetRequestIdOk() (*string, bool)

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

func (*ListResourceGroups500Response) HasError

func (o *ListResourceGroups500Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListResourceGroups500Response) HasRequestId

func (o *ListResourceGroups500Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (ListResourceGroups500Response) MarshalJSON

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

func (*ListResourceGroups500Response) SetError

func (o *ListResourceGroups500Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ListResourceGroups500Response) SetRequestId

func (o *ListResourceGroups500Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (ListResourceGroups500Response) ToMap

func (o ListResourceGroups500Response) ToMap() (map[string]interface{}, error)

func (*ListResourceGroups500Response) UnmarshalJSON

func (o *ListResourceGroups500Response) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NetworkBasedAccess

type NetworkBasedAccess struct {
	// The type of the connection is network.
	Type                 string `json:"type"`
	AdditionalProperties map[string]interface{}
}

NetworkBasedAccess The connection to private resources that is defined for a network.

func NewNetworkBasedAccess

func NewNetworkBasedAccess(type_ string) *NetworkBasedAccess

NewNetworkBasedAccess instantiates a new NetworkBasedAccess 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 NewNetworkBasedAccessWithDefaults

func NewNetworkBasedAccessWithDefaults() *NetworkBasedAccess

NewNetworkBasedAccessWithDefaults instantiates a new NetworkBasedAccess 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 (*NetworkBasedAccess) GetType

func (o *NetworkBasedAccess) GetType() string

GetType returns the Type field value

func (*NetworkBasedAccess) GetTypeOk

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

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

func (NetworkBasedAccess) MarshalJSON

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

func (*NetworkBasedAccess) SetType

func (o *NetworkBasedAccess) SetType(v string)

SetType sets field value

func (NetworkBasedAccess) ToMap

func (o NetworkBasedAccess) ToMap() (map[string]interface{}, error)

func (*NetworkBasedAccess) UnmarshalJSON

func (o *NetworkBasedAccess) UnmarshalJSON(data []byte) (err error)

type NullableAccessTypesInner

type NullableAccessTypesInner struct {
	// contains filtered or unexported fields
}

func NewNullableAccessTypesInner

func NewNullableAccessTypesInner(val *AccessTypesInner) *NullableAccessTypesInner

func (NullableAccessTypesInner) Get

func (NullableAccessTypesInner) IsSet

func (v NullableAccessTypesInner) IsSet() bool

func (NullableAccessTypesInner) MarshalJSON

func (v NullableAccessTypesInner) MarshalJSON() ([]byte, error)

func (*NullableAccessTypesInner) Set

func (*NullableAccessTypesInner) UnmarshalJSON

func (v *NullableAccessTypesInner) UnmarshalJSON(src []byte) error

func (*NullableAccessTypesInner) Unset

func (v *NullableAccessTypesInner) Unset()

type NullableAccessTypesRequestInner

type NullableAccessTypesRequestInner struct {
	// contains filtered or unexported fields
}

func (NullableAccessTypesRequestInner) Get

func (NullableAccessTypesRequestInner) IsSet

func (NullableAccessTypesRequestInner) MarshalJSON

func (v NullableAccessTypesRequestInner) MarshalJSON() ([]byte, error)

func (*NullableAccessTypesRequestInner) Set

func (*NullableAccessTypesRequestInner) UnmarshalJSON

func (v *NullableAccessTypesRequestInner) UnmarshalJSON(src []byte) error

func (*NullableAccessTypesRequestInner) Unset

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 NullableBranchAccess

type NullableBranchAccess struct {
	// contains filtered or unexported fields
}

func NewNullableBranchAccess

func NewNullableBranchAccess(val *BranchAccess) *NullableBranchAccess

func (NullableBranchAccess) Get

func (NullableBranchAccess) IsSet

func (v NullableBranchAccess) IsSet() bool

func (NullableBranchAccess) MarshalJSON

func (v NullableBranchAccess) MarshalJSON() ([]byte, error)

func (*NullableBranchAccess) Set

func (v *NullableBranchAccess) Set(val *BranchAccess)

func (*NullableBranchAccess) UnmarshalJSON

func (v *NullableBranchAccess) UnmarshalJSON(src []byte) error

func (*NullableBranchAccess) Unset

func (v *NullableBranchAccess) Unset()

type NullableBrowserBasedAccessCommon

type NullableBrowserBasedAccessCommon struct {
	// contains filtered or unexported fields
}

func (NullableBrowserBasedAccessCommon) Get

func (NullableBrowserBasedAccessCommon) IsSet

func (NullableBrowserBasedAccessCommon) MarshalJSON

func (v NullableBrowserBasedAccessCommon) MarshalJSON() ([]byte, error)

func (*NullableBrowserBasedAccessCommon) Set

func (*NullableBrowserBasedAccessCommon) UnmarshalJSON

func (v *NullableBrowserBasedAccessCommon) UnmarshalJSON(src []byte) error

func (*NullableBrowserBasedAccessCommon) Unset

type NullableBrowserBasedAccessRequest

type NullableBrowserBasedAccessRequest struct {
	// contains filtered or unexported fields
}

func (NullableBrowserBasedAccessRequest) Get

func (NullableBrowserBasedAccessRequest) IsSet

func (NullableBrowserBasedAccessRequest) MarshalJSON

func (v NullableBrowserBasedAccessRequest) MarshalJSON() ([]byte, error)

func (*NullableBrowserBasedAccessRequest) Set

func (*NullableBrowserBasedAccessRequest) UnmarshalJSON

func (v *NullableBrowserBasedAccessRequest) UnmarshalJSON(src []byte) error

func (*NullableBrowserBasedAccessRequest) Unset

type NullableBrowserBasedAccessResponse

type NullableBrowserBasedAccessResponse struct {
	// contains filtered or unexported fields
}

func (NullableBrowserBasedAccessResponse) Get

func (NullableBrowserBasedAccessResponse) IsSet

func (NullableBrowserBasedAccessResponse) MarshalJSON

func (v NullableBrowserBasedAccessResponse) MarshalJSON() ([]byte, error)

func (*NullableBrowserBasedAccessResponse) Set

func (*NullableBrowserBasedAccessResponse) UnmarshalJSON

func (v *NullableBrowserBasedAccessResponse) UnmarshalJSON(src []byte) error

func (*NullableBrowserBasedAccessResponse) Unset

type NullableClientBasedAccess

type NullableClientBasedAccess struct {
	// contains filtered or unexported fields
}

func NewNullableClientBasedAccess

func NewNullableClientBasedAccess(val *ClientBasedAccess) *NullableClientBasedAccess

func (NullableClientBasedAccess) Get

func (NullableClientBasedAccess) IsSet

func (v NullableClientBasedAccess) IsSet() bool

func (NullableClientBasedAccess) MarshalJSON

func (v NullableClientBasedAccess) MarshalJSON() ([]byte, error)

func (*NullableClientBasedAccess) Set

func (*NullableClientBasedAccess) UnmarshalJSON

func (v *NullableClientBasedAccess) UnmarshalJSON(src []byte) error

func (*NullableClientBasedAccess) Unset

func (v *NullableClientBasedAccess) Unset()

type NullableExternalFQDN

type NullableExternalFQDN struct {
	// contains filtered or unexported fields
}

func NewNullableExternalFQDN

func NewNullableExternalFQDN(val *ExternalFQDN) *NullableExternalFQDN

func (NullableExternalFQDN) Get

func (NullableExternalFQDN) IsSet

func (v NullableExternalFQDN) IsSet() bool

func (NullableExternalFQDN) MarshalJSON

func (v NullableExternalFQDN) MarshalJSON() ([]byte, error)

func (*NullableExternalFQDN) Set

func (v *NullableExternalFQDN) Set(val *ExternalFQDN)

func (*NullableExternalFQDN) UnmarshalJSON

func (v *NullableExternalFQDN) UnmarshalJSON(src []byte) error

func (*NullableExternalFQDN) Unset

func (v *NullableExternalFQDN) Unset()

type NullableExternalFQDNPrefix

type NullableExternalFQDNPrefix struct {
	// contains filtered or unexported fields
}

func NewNullableExternalFQDNPrefix

func NewNullableExternalFQDNPrefix(val *ExternalFQDNPrefix) *NullableExternalFQDNPrefix

func (NullableExternalFQDNPrefix) Get

func (NullableExternalFQDNPrefix) IsSet

func (v NullableExternalFQDNPrefix) IsSet() bool

func (NullableExternalFQDNPrefix) MarshalJSON

func (v NullableExternalFQDNPrefix) MarshalJSON() ([]byte, error)

func (*NullableExternalFQDNPrefix) Set

func (*NullableExternalFQDNPrefix) UnmarshalJSON

func (v *NullableExternalFQDNPrefix) UnmarshalJSON(src []byte) error

func (*NullableExternalFQDNPrefix) Unset

func (v *NullableExternalFQDNPrefix) 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 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 NullableListResourceGroups400Response

type NullableListResourceGroups400Response struct {
	// contains filtered or unexported fields
}

func (NullableListResourceGroups400Response) Get

func (NullableListResourceGroups400Response) IsSet

func (NullableListResourceGroups400Response) MarshalJSON

func (v NullableListResourceGroups400Response) MarshalJSON() ([]byte, error)

func (*NullableListResourceGroups400Response) Set

func (*NullableListResourceGroups400Response) UnmarshalJSON

func (v *NullableListResourceGroups400Response) UnmarshalJSON(src []byte) error

func (*NullableListResourceGroups400Response) Unset

type NullableListResourceGroups401Response

type NullableListResourceGroups401Response struct {
	// contains filtered or unexported fields
}

func (NullableListResourceGroups401Response) Get

func (NullableListResourceGroups401Response) IsSet

func (NullableListResourceGroups401Response) MarshalJSON

func (v NullableListResourceGroups401Response) MarshalJSON() ([]byte, error)

func (*NullableListResourceGroups401Response) Set

func (*NullableListResourceGroups401Response) UnmarshalJSON

func (v *NullableListResourceGroups401Response) UnmarshalJSON(src []byte) error

func (*NullableListResourceGroups401Response) Unset

type NullableListResourceGroups403Response

type NullableListResourceGroups403Response struct {
	// contains filtered or unexported fields
}

func (NullableListResourceGroups403Response) Get

func (NullableListResourceGroups403Response) IsSet

func (NullableListResourceGroups403Response) MarshalJSON

func (v NullableListResourceGroups403Response) MarshalJSON() ([]byte, error)

func (*NullableListResourceGroups403Response) Set

func (*NullableListResourceGroups403Response) UnmarshalJSON

func (v *NullableListResourceGroups403Response) UnmarshalJSON(src []byte) error

func (*NullableListResourceGroups403Response) Unset

type NullableListResourceGroups404Response

type NullableListResourceGroups404Response struct {
	// contains filtered or unexported fields
}

func (NullableListResourceGroups404Response) Get

func (NullableListResourceGroups404Response) IsSet

func (NullableListResourceGroups404Response) MarshalJSON

func (v NullableListResourceGroups404Response) MarshalJSON() ([]byte, error)

func (*NullableListResourceGroups404Response) Set

func (*NullableListResourceGroups404Response) UnmarshalJSON

func (v *NullableListResourceGroups404Response) UnmarshalJSON(src []byte) error

func (*NullableListResourceGroups404Response) Unset

type NullableListResourceGroups500Response

type NullableListResourceGroups500Response struct {
	// contains filtered or unexported fields
}

func (NullableListResourceGroups500Response) Get

func (NullableListResourceGroups500Response) IsSet

func (NullableListResourceGroups500Response) MarshalJSON

func (v NullableListResourceGroups500Response) MarshalJSON() ([]byte, error)

func (*NullableListResourceGroups500Response) Set

func (*NullableListResourceGroups500Response) UnmarshalJSON

func (v *NullableListResourceGroups500Response) UnmarshalJSON(src []byte) error

func (*NullableListResourceGroups500Response) Unset

type NullableNetworkBasedAccess

type NullableNetworkBasedAccess struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkBasedAccess

func NewNullableNetworkBasedAccess(val *NetworkBasedAccess) *NullableNetworkBasedAccess

func (NullableNetworkBasedAccess) Get

func (NullableNetworkBasedAccess) IsSet

func (v NullableNetworkBasedAccess) IsSet() bool

func (NullableNetworkBasedAccess) MarshalJSON

func (v NullableNetworkBasedAccess) MarshalJSON() ([]byte, error)

func (*NullableNetworkBasedAccess) Set

func (*NullableNetworkBasedAccess) UnmarshalJSON

func (v *NullableNetworkBasedAccess) UnmarshalJSON(src []byte) error

func (*NullableNetworkBasedAccess) Unset

func (v *NullableNetworkBasedAccess) Unset()

type NullablePrivateResourceGroupList

type NullablePrivateResourceGroupList struct {
	// contains filtered or unexported fields
}

func (NullablePrivateResourceGroupList) Get

func (NullablePrivateResourceGroupList) IsSet

func (NullablePrivateResourceGroupList) MarshalJSON

func (v NullablePrivateResourceGroupList) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceGroupList) Set

func (*NullablePrivateResourceGroupList) UnmarshalJSON

func (v *NullablePrivateResourceGroupList) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceGroupList) Unset

type NullablePrivateResourceGroupRequest

type NullablePrivateResourceGroupRequest struct {
	// contains filtered or unexported fields
}

func (NullablePrivateResourceGroupRequest) Get

func (NullablePrivateResourceGroupRequest) IsSet

func (NullablePrivateResourceGroupRequest) MarshalJSON

func (v NullablePrivateResourceGroupRequest) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceGroupRequest) Set

func (*NullablePrivateResourceGroupRequest) UnmarshalJSON

func (v *NullablePrivateResourceGroupRequest) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceGroupRequest) Unset

type NullablePrivateResourceGroupResponse

type NullablePrivateResourceGroupResponse struct {
	// contains filtered or unexported fields
}

func (NullablePrivateResourceGroupResponse) Get

func (NullablePrivateResourceGroupResponse) IsSet

func (NullablePrivateResourceGroupResponse) MarshalJSON

func (v NullablePrivateResourceGroupResponse) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceGroupResponse) Set

func (*NullablePrivateResourceGroupResponse) UnmarshalJSON

func (v *NullablePrivateResourceGroupResponse) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceGroupResponse) Unset

type NullablePrivateResourceList

type NullablePrivateResourceList struct {
	// contains filtered or unexported fields
}

func NewNullablePrivateResourceList

func NewNullablePrivateResourceList(val *PrivateResourceList) *NullablePrivateResourceList

func (NullablePrivateResourceList) Get

func (NullablePrivateResourceList) IsSet

func (NullablePrivateResourceList) MarshalJSON

func (v NullablePrivateResourceList) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceList) Set

func (*NullablePrivateResourceList) UnmarshalJSON

func (v *NullablePrivateResourceList) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceList) Unset

func (v *NullablePrivateResourceList) Unset()

type NullablePrivateResourceRequest

type NullablePrivateResourceRequest struct {
	// contains filtered or unexported fields
}

func (NullablePrivateResourceRequest) Get

func (NullablePrivateResourceRequest) IsSet

func (NullablePrivateResourceRequest) MarshalJSON

func (v NullablePrivateResourceRequest) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceRequest) Set

func (*NullablePrivateResourceRequest) UnmarshalJSON

func (v *NullablePrivateResourceRequest) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceRequest) Unset

func (v *NullablePrivateResourceRequest) Unset()

type NullablePrivateResourceResponse

type NullablePrivateResourceResponse struct {
	// contains filtered or unexported fields
}

func (NullablePrivateResourceResponse) Get

func (NullablePrivateResourceResponse) IsSet

func (NullablePrivateResourceResponse) MarshalJSON

func (v NullablePrivateResourceResponse) MarshalJSON() ([]byte, error)

func (*NullablePrivateResourceResponse) Set

func (*NullablePrivateResourceResponse) UnmarshalJSON

func (v *NullablePrivateResourceResponse) UnmarshalJSON(src []byte) error

func (*NullablePrivateResourceResponse) Unset

type NullableProtocolClientToResource

type NullableProtocolClientToResource struct {
	// contains filtered or unexported fields
}

func (NullableProtocolClientToResource) Get

func (NullableProtocolClientToResource) IsSet

func (NullableProtocolClientToResource) MarshalJSON

func (v NullableProtocolClientToResource) MarshalJSON() ([]byte, error)

func (*NullableProtocolClientToResource) Set

func (*NullableProtocolClientToResource) UnmarshalJSON

func (v *NullableProtocolClientToResource) UnmarshalJSON(src []byte) error

func (*NullableProtocolClientToResource) Unset

type NullableProtocolProxyToResource

type NullableProtocolProxyToResource struct {
	// contains filtered or unexported fields
}

func (NullableProtocolProxyToResource) Get

func (NullableProtocolProxyToResource) IsSet

func (NullableProtocolProxyToResource) MarshalJSON

func (v NullableProtocolProxyToResource) MarshalJSON() ([]byte, error)

func (*NullableProtocolProxyToResource) Set

func (*NullableProtocolProxyToResource) UnmarshalJSON

func (v *NullableProtocolProxyToResource) UnmarshalJSON(src []byte) error

func (*NullableProtocolProxyToResource) Unset

type NullableResourceAddressesInner

type NullableResourceAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableResourceAddressesInner) Get

func (NullableResourceAddressesInner) IsSet

func (NullableResourceAddressesInner) MarshalJSON

func (v NullableResourceAddressesInner) MarshalJSON() ([]byte, error)

func (*NullableResourceAddressesInner) Set

func (*NullableResourceAddressesInner) UnmarshalJSON

func (v *NullableResourceAddressesInner) UnmarshalJSON(src []byte) error

func (*NullableResourceAddressesInner) Unset

func (v *NullableResourceAddressesInner) Unset()

type NullableResourceAddressesInnerProtocolPortsInner

type NullableResourceAddressesInnerProtocolPortsInner struct {
	// contains filtered or unexported fields
}

func (NullableResourceAddressesInnerProtocolPortsInner) Get

func (NullableResourceAddressesInnerProtocolPortsInner) IsSet

func (NullableResourceAddressesInnerProtocolPortsInner) MarshalJSON

func (*NullableResourceAddressesInnerProtocolPortsInner) Set

func (*NullableResourceAddressesInnerProtocolPortsInner) UnmarshalJSON

func (*NullableResourceAddressesInnerProtocolPortsInner) 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 PrivateResourceGroupList

type PrivateResourceGroupList struct {
	Items []PrivateResourceGroupResponse `json:"items,omitempty"`
	// The index where the server starts to read the collection.
	Offset *int64 `json:"offset,omitempty"`
	// The number of items returned on a page in the response.
	Limit *int64 `json:"limit,omitempty"`
	// The total count of the Private Resource Groups read in the collection.
	Total                *int64 `json:"total,omitempty"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceGroupList List all Private Resource Groups in the organization. If you set query filters on the request, you can get a subset of the Private Resources in the collection.

func NewPrivateResourceGroupList

func NewPrivateResourceGroupList() *PrivateResourceGroupList

NewPrivateResourceGroupList instantiates a new PrivateResourceGroupList 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 NewPrivateResourceGroupListWithDefaults

func NewPrivateResourceGroupListWithDefaults() *PrivateResourceGroupList

NewPrivateResourceGroupListWithDefaults instantiates a new PrivateResourceGroupList 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 (*PrivateResourceGroupList) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*PrivateResourceGroupList) GetItemsOk

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

func (*PrivateResourceGroupList) GetLimit

func (o *PrivateResourceGroupList) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PrivateResourceGroupList) GetLimitOk

func (o *PrivateResourceGroupList) GetLimitOk() (*int64, bool)

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

func (*PrivateResourceGroupList) GetOffset

func (o *PrivateResourceGroupList) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*PrivateResourceGroupList) GetOffsetOk

func (o *PrivateResourceGroupList) GetOffsetOk() (*int64, bool)

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

func (*PrivateResourceGroupList) GetTotal

func (o *PrivateResourceGroupList) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*PrivateResourceGroupList) GetTotalOk

func (o *PrivateResourceGroupList) GetTotalOk() (*int64, bool)

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

func (*PrivateResourceGroupList) HasItems

func (o *PrivateResourceGroupList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PrivateResourceGroupList) HasLimit

func (o *PrivateResourceGroupList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PrivateResourceGroupList) HasOffset

func (o *PrivateResourceGroupList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*PrivateResourceGroupList) HasTotal

func (o *PrivateResourceGroupList) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (PrivateResourceGroupList) MarshalJSON

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

func (*PrivateResourceGroupList) SetItems

SetItems gets a reference to the given []PrivateResourceGroupResponse and assigns it to the Items field.

func (*PrivateResourceGroupList) SetLimit

func (o *PrivateResourceGroupList) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*PrivateResourceGroupList) SetOffset

func (o *PrivateResourceGroupList) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*PrivateResourceGroupList) SetTotal

func (o *PrivateResourceGroupList) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (PrivateResourceGroupList) ToMap

func (o PrivateResourceGroupList) ToMap() (map[string]interface{}, error)

func (*PrivateResourceGroupList) UnmarshalJSON

func (o *PrivateResourceGroupList) UnmarshalJSON(data []byte) (err error)

type PrivateResourceGroupRequest

type PrivateResourceGroupRequest struct {
	// The name of the Private Resource Group. The Private Resource Group name must not have any special characters other than spaces and hyphens.
	Name string `json:"name" validate:"regexp=^[a-zA-Z0-9- ]+$"`
	// The description of the Private Resource Group.
	Description *string `json:"description,omitempty"`
	// The list of IDs for the private resources that belong in the group. The list may be empty.
	ResourceIds          []int64 `json:"resourceIds"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceGroupRequest The properties of the private resource group.

func NewPrivateResourceGroupRequest

func NewPrivateResourceGroupRequest(name string, resourceIds []int64) *PrivateResourceGroupRequest

NewPrivateResourceGroupRequest instantiates a new PrivateResourceGroupRequest 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 NewPrivateResourceGroupRequestWithDefaults

func NewPrivateResourceGroupRequestWithDefaults() *PrivateResourceGroupRequest

NewPrivateResourceGroupRequestWithDefaults instantiates a new PrivateResourceGroupRequest 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 (*PrivateResourceGroupRequest) GetDescription

func (o *PrivateResourceGroupRequest) GetDescription() string

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

func (*PrivateResourceGroupRequest) GetDescriptionOk

func (o *PrivateResourceGroupRequest) 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 (*PrivateResourceGroupRequest) GetName

func (o *PrivateResourceGroupRequest) GetName() string

GetName returns the Name field value

func (*PrivateResourceGroupRequest) GetNameOk

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

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

func (*PrivateResourceGroupRequest) GetResourceIds

func (o *PrivateResourceGroupRequest) GetResourceIds() []int64

GetResourceIds returns the ResourceIds field value

func (*PrivateResourceGroupRequest) GetResourceIdsOk

func (o *PrivateResourceGroupRequest) GetResourceIdsOk() ([]int64, bool)

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

func (*PrivateResourceGroupRequest) HasDescription

func (o *PrivateResourceGroupRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (PrivateResourceGroupRequest) MarshalJSON

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

func (*PrivateResourceGroupRequest) SetDescription

func (o *PrivateResourceGroupRequest) SetDescription(v string)

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

func (*PrivateResourceGroupRequest) SetName

func (o *PrivateResourceGroupRequest) SetName(v string)

SetName sets field value

func (*PrivateResourceGroupRequest) SetResourceIds

func (o *PrivateResourceGroupRequest) SetResourceIds(v []int64)

SetResourceIds sets field value

func (PrivateResourceGroupRequest) ToMap

func (o PrivateResourceGroupRequest) ToMap() (map[string]interface{}, error)

func (*PrivateResourceGroupRequest) UnmarshalJSON

func (o *PrivateResourceGroupRequest) UnmarshalJSON(data []byte) (err error)

type PrivateResourceGroupResponse

type PrivateResourceGroupResponse struct {
	// The ID of the Private Resource Group.
	ResourceGroupId *int64 `json:"resourceGroupId,omitempty"`
	// The name of the Private Resource Group. The Private Resource Group name must not have any special characters other than spaces and hyphens.
	Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-Z0-9- ]+$"`
	// The description of the Private Resource Group.
	Description *string `json:"description,omitempty"`
	// The list of IDs for the private resources that belong in the group. The list may be empty.
	ResourceIds []int64 `json:"resourceIds,omitempty"`
	// The date and time when the Private Resource Group was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date and time when the Private Resource Group was updated.
	ModifiedAt *time.Time `json:"modifiedAt,omitempty"`
	// The ID of the user who created the Private Resource Group.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The ID of the user who last modified the Private Resource Group.
	ModifiedBy           *string `json:"modifiedBy,omitempty"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceGroupResponse Get the Resource Group.

func NewPrivateResourceGroupResponse

func NewPrivateResourceGroupResponse() *PrivateResourceGroupResponse

NewPrivateResourceGroupResponse instantiates a new PrivateResourceGroupResponse 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 NewPrivateResourceGroupResponseWithDefaults

func NewPrivateResourceGroupResponseWithDefaults() *PrivateResourceGroupResponse

NewPrivateResourceGroupResponseWithDefaults instantiates a new PrivateResourceGroupResponse 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 (*PrivateResourceGroupResponse) GetCreatedAt

func (o *PrivateResourceGroupResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetCreatedAtOk

func (o *PrivateResourceGroupResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*PrivateResourceGroupResponse) GetCreatedBy

func (o *PrivateResourceGroupResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetCreatedByOk

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

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

func (*PrivateResourceGroupResponse) GetDescription

func (o *PrivateResourceGroupResponse) GetDescription() string

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

func (*PrivateResourceGroupResponse) GetDescriptionOk

func (o *PrivateResourceGroupResponse) 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 (*PrivateResourceGroupResponse) GetModifiedAt

func (o *PrivateResourceGroupResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetModifiedAtOk

func (o *PrivateResourceGroupResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*PrivateResourceGroupResponse) GetModifiedBy

func (o *PrivateResourceGroupResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetModifiedByOk

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

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

func (*PrivateResourceGroupResponse) GetName

func (o *PrivateResourceGroupResponse) GetName() string

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

func (*PrivateResourceGroupResponse) GetNameOk

func (o *PrivateResourceGroupResponse) 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 (*PrivateResourceGroupResponse) GetResourceGroupId

func (o *PrivateResourceGroupResponse) GetResourceGroupId() int64

GetResourceGroupId returns the ResourceGroupId field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetResourceGroupIdOk

func (o *PrivateResourceGroupResponse) GetResourceGroupIdOk() (*int64, bool)

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

func (*PrivateResourceGroupResponse) GetResourceIds

func (o *PrivateResourceGroupResponse) GetResourceIds() []int64

GetResourceIds returns the ResourceIds field value if set, zero value otherwise.

func (*PrivateResourceGroupResponse) GetResourceIdsOk

func (o *PrivateResourceGroupResponse) GetResourceIdsOk() ([]int64, bool)

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

func (*PrivateResourceGroupResponse) HasCreatedAt

func (o *PrivateResourceGroupResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasCreatedBy

func (o *PrivateResourceGroupResponse) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasDescription

func (o *PrivateResourceGroupResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasModifiedAt

func (o *PrivateResourceGroupResponse) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasModifiedBy

func (o *PrivateResourceGroupResponse) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasName

func (o *PrivateResourceGroupResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasResourceGroupId

func (o *PrivateResourceGroupResponse) HasResourceGroupId() bool

HasResourceGroupId returns a boolean if a field has been set.

func (*PrivateResourceGroupResponse) HasResourceIds

func (o *PrivateResourceGroupResponse) HasResourceIds() bool

HasResourceIds returns a boolean if a field has been set.

func (PrivateResourceGroupResponse) MarshalJSON

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

func (*PrivateResourceGroupResponse) SetCreatedAt

func (o *PrivateResourceGroupResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PrivateResourceGroupResponse) SetCreatedBy

func (o *PrivateResourceGroupResponse) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*PrivateResourceGroupResponse) SetDescription

func (o *PrivateResourceGroupResponse) SetDescription(v string)

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

func (*PrivateResourceGroupResponse) SetModifiedAt

func (o *PrivateResourceGroupResponse) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*PrivateResourceGroupResponse) SetModifiedBy

func (o *PrivateResourceGroupResponse) SetModifiedBy(v string)

SetModifiedBy gets a reference to the given string and assigns it to the ModifiedBy field.

func (*PrivateResourceGroupResponse) SetName

func (o *PrivateResourceGroupResponse) SetName(v string)

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

func (*PrivateResourceGroupResponse) SetResourceGroupId

func (o *PrivateResourceGroupResponse) SetResourceGroupId(v int64)

SetResourceGroupId gets a reference to the given int64 and assigns it to the ResourceGroupId field.

func (*PrivateResourceGroupResponse) SetResourceIds

func (o *PrivateResourceGroupResponse) SetResourceIds(v []int64)

SetResourceIds gets a reference to the given []int64 and assigns it to the ResourceIds field.

func (PrivateResourceGroupResponse) ToMap

func (o PrivateResourceGroupResponse) ToMap() (map[string]interface{}, error)

func (*PrivateResourceGroupResponse) UnmarshalJSON

func (o *PrivateResourceGroupResponse) UnmarshalJSON(data []byte) (err error)

type PrivateResourceList

type PrivateResourceList struct {
	Items []PrivateResourceResponse `json:"items,omitempty"`
	// The index where the server starts to read the collection.
	Offset *int64 `json:"offset,omitempty"`
	// The number of items returned on a page in the response.
	Limit *int64 `json:"limit,omitempty"`
	// The total count of the Private Resources read in the collection.
	Total                *int64 `json:"total,omitempty"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceList List all private Resources in the organization. If you set query filters on your request, you can get a subset of the Private Resources in the collection.

func NewPrivateResourceList

func NewPrivateResourceList() *PrivateResourceList

NewPrivateResourceList instantiates a new PrivateResourceList 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 NewPrivateResourceListWithDefaults

func NewPrivateResourceListWithDefaults() *PrivateResourceList

NewPrivateResourceListWithDefaults instantiates a new PrivateResourceList 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 (*PrivateResourceList) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*PrivateResourceList) GetItemsOk

func (o *PrivateResourceList) GetItemsOk() ([]PrivateResourceResponse, bool)

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

func (*PrivateResourceList) GetLimit

func (o *PrivateResourceList) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PrivateResourceList) GetLimitOk

func (o *PrivateResourceList) GetLimitOk() (*int64, bool)

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

func (*PrivateResourceList) GetOffset

func (o *PrivateResourceList) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*PrivateResourceList) GetOffsetOk

func (o *PrivateResourceList) GetOffsetOk() (*int64, bool)

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

func (*PrivateResourceList) GetTotal

func (o *PrivateResourceList) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*PrivateResourceList) GetTotalOk

func (o *PrivateResourceList) GetTotalOk() (*int64, bool)

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

func (*PrivateResourceList) HasItems

func (o *PrivateResourceList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PrivateResourceList) HasLimit

func (o *PrivateResourceList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PrivateResourceList) HasOffset

func (o *PrivateResourceList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*PrivateResourceList) HasTotal

func (o *PrivateResourceList) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (PrivateResourceList) MarshalJSON

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

func (*PrivateResourceList) SetItems

SetItems gets a reference to the given []PrivateResourceResponse and assigns it to the Items field.

func (*PrivateResourceList) SetLimit

func (o *PrivateResourceList) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*PrivateResourceList) SetOffset

func (o *PrivateResourceList) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*PrivateResourceList) SetTotal

func (o *PrivateResourceList) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (PrivateResourceList) ToMap

func (o PrivateResourceList) ToMap() (map[string]interface{}, error)

func (*PrivateResourceList) UnmarshalJSON

func (o *PrivateResourceList) UnmarshalJSON(data []byte) (err error)

type PrivateResourceRequest

type PrivateResourceRequest struct {
	// The name of the Private Resource that is unique across all resources in the organization. The Resource name must not have any special characters other than spaces and hyphens.
	Name string `json:"name" validate:"regexp=^[a-zA-Z0-9- ]+$"`
	// The description of the Private Resource.
	Description *string `json:"description,omitempty"`
	// The unique identifier of the DNS server that is used to resolve IP addresses.
	DnsServerId *int64 `json:"dnsServerId,omitempty"`
	// The ID of the certificate that is used to decrypt traffic to the Private Resource.
	CertificateId *int64 `json:"certificateId,omitempty"`
	// The list of connection properties that describe how end users can access private resources in the organization. Browser-based access requires that all resource addresses use the HTTP or HTTPS protocols. Branch access is always enabled for a private resource.
	AccessTypes []AccessTypesRequestInner `json:"accessTypes"`
	// The list of resource addresses for the Private Resources.
	ResourceAddresses []ResourceAddressesInner `json:"resourceAddresses"`
	// The list of IDs for the Private Resource Groups that include the Private Resource.
	ResourceGroupIds     []int64 `json:"resourceGroupIds,omitempty"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceRequest Create the Private Resource.

func NewPrivateResourceRequest

func NewPrivateResourceRequest(name string, accessTypes []AccessTypesRequestInner, resourceAddresses []ResourceAddressesInner) *PrivateResourceRequest

NewPrivateResourceRequest instantiates a new PrivateResourceRequest 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 NewPrivateResourceRequestWithDefaults

func NewPrivateResourceRequestWithDefaults() *PrivateResourceRequest

NewPrivateResourceRequestWithDefaults instantiates a new PrivateResourceRequest 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 (*PrivateResourceRequest) GetAccessTypes

func (o *PrivateResourceRequest) GetAccessTypes() []AccessTypesRequestInner

GetAccessTypes returns the AccessTypes field value

func (*PrivateResourceRequest) GetAccessTypesOk

func (o *PrivateResourceRequest) GetAccessTypesOk() ([]AccessTypesRequestInner, bool)

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

func (*PrivateResourceRequest) GetCertificateId

func (o *PrivateResourceRequest) GetCertificateId() int64

GetCertificateId returns the CertificateId field value if set, zero value otherwise.

func (*PrivateResourceRequest) GetCertificateIdOk

func (o *PrivateResourceRequest) GetCertificateIdOk() (*int64, bool)

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

func (*PrivateResourceRequest) GetDescription

func (o *PrivateResourceRequest) GetDescription() string

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

func (*PrivateResourceRequest) GetDescriptionOk

func (o *PrivateResourceRequest) 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 (*PrivateResourceRequest) GetDnsServerId

func (o *PrivateResourceRequest) GetDnsServerId() int64

GetDnsServerId returns the DnsServerId field value if set, zero value otherwise.

func (*PrivateResourceRequest) GetDnsServerIdOk

func (o *PrivateResourceRequest) GetDnsServerIdOk() (*int64, bool)

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

func (*PrivateResourceRequest) GetName

func (o *PrivateResourceRequest) GetName() string

GetName returns the Name field value

func (*PrivateResourceRequest) GetNameOk

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

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

func (*PrivateResourceRequest) GetResourceAddresses

func (o *PrivateResourceRequest) GetResourceAddresses() []ResourceAddressesInner

GetResourceAddresses returns the ResourceAddresses field value

func (*PrivateResourceRequest) GetResourceAddressesOk

func (o *PrivateResourceRequest) GetResourceAddressesOk() ([]ResourceAddressesInner, bool)

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

func (*PrivateResourceRequest) GetResourceGroupIds

func (o *PrivateResourceRequest) GetResourceGroupIds() []int64

GetResourceGroupIds returns the ResourceGroupIds field value if set, zero value otherwise.

func (*PrivateResourceRequest) GetResourceGroupIdsOk

func (o *PrivateResourceRequest) GetResourceGroupIdsOk() ([]int64, bool)

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

func (*PrivateResourceRequest) HasCertificateId

func (o *PrivateResourceRequest) HasCertificateId() bool

HasCertificateId returns a boolean if a field has been set.

func (*PrivateResourceRequest) HasDescription

func (o *PrivateResourceRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PrivateResourceRequest) HasDnsServerId

func (o *PrivateResourceRequest) HasDnsServerId() bool

HasDnsServerId returns a boolean if a field has been set.

func (*PrivateResourceRequest) HasResourceGroupIds

func (o *PrivateResourceRequest) HasResourceGroupIds() bool

HasResourceGroupIds returns a boolean if a field has been set.

func (PrivateResourceRequest) MarshalJSON

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

func (*PrivateResourceRequest) SetAccessTypes

func (o *PrivateResourceRequest) SetAccessTypes(v []AccessTypesRequestInner)

SetAccessTypes sets field value

func (*PrivateResourceRequest) SetCertificateId

func (o *PrivateResourceRequest) SetCertificateId(v int64)

SetCertificateId gets a reference to the given int64 and assigns it to the CertificateId field.

func (*PrivateResourceRequest) SetDescription

func (o *PrivateResourceRequest) SetDescription(v string)

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

func (*PrivateResourceRequest) SetDnsServerId

func (o *PrivateResourceRequest) SetDnsServerId(v int64)

SetDnsServerId gets a reference to the given int64 and assigns it to the DnsServerId field.

func (*PrivateResourceRequest) SetName

func (o *PrivateResourceRequest) SetName(v string)

SetName sets field value

func (*PrivateResourceRequest) SetResourceAddresses

func (o *PrivateResourceRequest) SetResourceAddresses(v []ResourceAddressesInner)

SetResourceAddresses sets field value

func (*PrivateResourceRequest) SetResourceGroupIds

func (o *PrivateResourceRequest) SetResourceGroupIds(v []int64)

SetResourceGroupIds gets a reference to the given []int64 and assigns it to the ResourceGroupIds field.

func (PrivateResourceRequest) ToMap

func (o PrivateResourceRequest) ToMap() (map[string]interface{}, error)

func (*PrivateResourceRequest) UnmarshalJSON

func (o *PrivateResourceRequest) UnmarshalJSON(data []byte) (err error)

type PrivateResourceResponse

type PrivateResourceResponse struct {
	// The ID of the Private Resource.
	ResourceId *int64 `json:"resourceId,omitempty"`
	// The name of the Private Resource that is unique across all resources in the organization. The Resource name must not have any special characters other than spaces and hyphens.
	Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-Z0-9- ]+$"`
	// The description of the Private Resource.
	Description *string `json:"description,omitempty"`
	// The unique identifier of the DNS server that is used to resolve IP addresses.
	DnsServerId *int64 `json:"dnsServerId,omitempty"`
	// The ID of the certificate that is used to decrypt traffic to the Private Resource.
	CertificateId *int64 `json:"certificateId,omitempty"`
	// The list of connection properties that describe how end users can access private resources in the organization. Browser-based access requires that all resource addresses use the HTTP or HTTPS protocols. Branch access is always enabled for a private resource.
	AccessTypes []AccessTypesInner `json:"accessTypes,omitempty"`
	// The list of resource addresses for the Private Resources.
	ResourceAddresses []ResourceAddressesInner `json:"resourceAddresses,omitempty"`
	// The list of IDs for the Private Resource Groups that include the Private Resource.
	ResourceGroupIds []int64 `json:"resourceGroupIds,omitempty"`
	// The date and time when the private resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date and time when the private resource was updated.
	ModifiedAt *time.Time `json:"modifiedAt,omitempty"`
	// The ID of the user who created the private resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The ID of the user who last modified private resource.
	ModifiedBy           *string `json:"modifiedBy,omitempty"`
	AdditionalProperties map[string]interface{}
}

PrivateResourceResponse Get the Private Resource.

func NewPrivateResourceResponse

func NewPrivateResourceResponse() *PrivateResourceResponse

NewPrivateResourceResponse instantiates a new PrivateResourceResponse 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 NewPrivateResourceResponseWithDefaults

func NewPrivateResourceResponseWithDefaults() *PrivateResourceResponse

NewPrivateResourceResponseWithDefaults instantiates a new PrivateResourceResponse 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 (*PrivateResourceResponse) GetAccessTypes

func (o *PrivateResourceResponse) GetAccessTypes() []AccessTypesInner

GetAccessTypes returns the AccessTypes field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetAccessTypesOk

func (o *PrivateResourceResponse) GetAccessTypesOk() ([]AccessTypesInner, bool)

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

func (*PrivateResourceResponse) GetCertificateId

func (o *PrivateResourceResponse) GetCertificateId() int64

GetCertificateId returns the CertificateId field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetCertificateIdOk

func (o *PrivateResourceResponse) GetCertificateIdOk() (*int64, bool)

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

func (*PrivateResourceResponse) GetCreatedAt

func (o *PrivateResourceResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetCreatedAtOk

func (o *PrivateResourceResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*PrivateResourceResponse) GetCreatedBy

func (o *PrivateResourceResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetCreatedByOk

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

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

func (*PrivateResourceResponse) GetDescription

func (o *PrivateResourceResponse) GetDescription() string

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

func (*PrivateResourceResponse) GetDescriptionOk

func (o *PrivateResourceResponse) 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 (*PrivateResourceResponse) GetDnsServerId

func (o *PrivateResourceResponse) GetDnsServerId() int64

GetDnsServerId returns the DnsServerId field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetDnsServerIdOk

func (o *PrivateResourceResponse) GetDnsServerIdOk() (*int64, bool)

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

func (*PrivateResourceResponse) GetModifiedAt

func (o *PrivateResourceResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetModifiedAtOk

func (o *PrivateResourceResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*PrivateResourceResponse) GetModifiedBy

func (o *PrivateResourceResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetModifiedByOk

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

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

func (*PrivateResourceResponse) GetName

func (o *PrivateResourceResponse) GetName() string

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

func (*PrivateResourceResponse) GetNameOk

func (o *PrivateResourceResponse) 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 (*PrivateResourceResponse) GetResourceAddresses

func (o *PrivateResourceResponse) GetResourceAddresses() []ResourceAddressesInner

GetResourceAddresses returns the ResourceAddresses field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetResourceAddressesOk

func (o *PrivateResourceResponse) GetResourceAddressesOk() ([]ResourceAddressesInner, bool)

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

func (*PrivateResourceResponse) GetResourceGroupIds

func (o *PrivateResourceResponse) GetResourceGroupIds() []int64

GetResourceGroupIds returns the ResourceGroupIds field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetResourceGroupIdsOk

func (o *PrivateResourceResponse) GetResourceGroupIdsOk() ([]int64, bool)

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

func (*PrivateResourceResponse) GetResourceId

func (o *PrivateResourceResponse) GetResourceId() int64

GetResourceId returns the ResourceId field value if set, zero value otherwise.

func (*PrivateResourceResponse) GetResourceIdOk

func (o *PrivateResourceResponse) GetResourceIdOk() (*int64, bool)

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

func (*PrivateResourceResponse) HasAccessTypes

func (o *PrivateResourceResponse) HasAccessTypes() bool

HasAccessTypes returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasCertificateId

func (o *PrivateResourceResponse) HasCertificateId() bool

HasCertificateId returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasCreatedAt

func (o *PrivateResourceResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasCreatedBy

func (o *PrivateResourceResponse) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasDescription

func (o *PrivateResourceResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasDnsServerId

func (o *PrivateResourceResponse) HasDnsServerId() bool

HasDnsServerId returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasModifiedAt

func (o *PrivateResourceResponse) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasModifiedBy

func (o *PrivateResourceResponse) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasName

func (o *PrivateResourceResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasResourceAddresses

func (o *PrivateResourceResponse) HasResourceAddresses() bool

HasResourceAddresses returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasResourceGroupIds

func (o *PrivateResourceResponse) HasResourceGroupIds() bool

HasResourceGroupIds returns a boolean if a field has been set.

func (*PrivateResourceResponse) HasResourceId

func (o *PrivateResourceResponse) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (PrivateResourceResponse) MarshalJSON

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

func (*PrivateResourceResponse) SetAccessTypes

func (o *PrivateResourceResponse) SetAccessTypes(v []AccessTypesInner)

SetAccessTypes gets a reference to the given []AccessTypesInner and assigns it to the AccessTypes field.

func (*PrivateResourceResponse) SetCertificateId

func (o *PrivateResourceResponse) SetCertificateId(v int64)

SetCertificateId gets a reference to the given int64 and assigns it to the CertificateId field.

func (*PrivateResourceResponse) SetCreatedAt

func (o *PrivateResourceResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PrivateResourceResponse) SetCreatedBy

func (o *PrivateResourceResponse) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*PrivateResourceResponse) SetDescription

func (o *PrivateResourceResponse) SetDescription(v string)

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

func (*PrivateResourceResponse) SetDnsServerId

func (o *PrivateResourceResponse) SetDnsServerId(v int64)

SetDnsServerId gets a reference to the given int64 and assigns it to the DnsServerId field.

func (*PrivateResourceResponse) SetModifiedAt

func (o *PrivateResourceResponse) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*PrivateResourceResponse) SetModifiedBy

func (o *PrivateResourceResponse) SetModifiedBy(v string)

SetModifiedBy gets a reference to the given string and assigns it to the ModifiedBy field.

func (*PrivateResourceResponse) SetName

func (o *PrivateResourceResponse) SetName(v string)

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

func (*PrivateResourceResponse) SetResourceAddresses

func (o *PrivateResourceResponse) SetResourceAddresses(v []ResourceAddressesInner)

SetResourceAddresses gets a reference to the given []ResourceAddressesInner and assigns it to the ResourceAddresses field.

func (*PrivateResourceResponse) SetResourceGroupIds

func (o *PrivateResourceResponse) SetResourceGroupIds(v []int64)

SetResourceGroupIds gets a reference to the given []int64 and assigns it to the ResourceGroupIds field.

func (*PrivateResourceResponse) SetResourceId

func (o *PrivateResourceResponse) SetResourceId(v int64)

SetResourceId gets a reference to the given int64 and assigns it to the ResourceId field.

func (PrivateResourceResponse) ToMap

func (o PrivateResourceResponse) ToMap() (map[string]interface{}, error)

func (*PrivateResourceResponse) UnmarshalJSON

func (o *PrivateResourceResponse) UnmarshalJSON(data []byte) (err error)

type PrivateResourcesAPIService

type PrivateResourcesAPIService service

PrivateResourcesAPIService PrivateResourcesAPI service

func (*PrivateResourcesAPIService) AddPrivateResource

AddPrivateResource Create Private Resource

Create a Private Resource for the organization. You can add at most 1000 Private Resources to an organization. When you add a Private Resource that is enabled for Zero Trust Access, the private applications are automatically managed by the Zero Trust Access service.

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

func (*PrivateResourcesAPIService) AddPrivateResourceExecute

Execute executes the request

@return PrivateResourceResponse

func (*PrivateResourcesAPIService) DeletePrivateResource

DeletePrivateResource Delete Private Resource

Delete a Private Resource. Remove the Private Resource from any Private Resource Groups before deleting the resource. If the Private Resource is the only resource in your organization's Private Resource Groups, then Secure Access also removes the Private Resource Groups.

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

func (*PrivateResourcesAPIService) DeletePrivateResourceExecute

func (a *PrivateResourcesAPIService) DeletePrivateResourceExecute(r ApiDeletePrivateResourceRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*PrivateResourcesAPIService) GetPrivateResource

GetPrivateResource Get Private Resource

Get the details about a Private Resource.

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

func (*PrivateResourcesAPIService) GetPrivateResourceExecute

Execute executes the request

@return PrivateResourceResponse

func (*PrivateResourcesAPIService) ListPrivateResources

ListPrivateResources List Private Resources

List the Private Resources for the organization.

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

func (*PrivateResourcesAPIService) ListPrivateResourcesExecute

Execute executes the request

@return PrivateResourceList

func (*PrivateResourcesAPIService) PutPrivateResource

PutPrivateResource Update Private Resource

Update the properties on a Private Resource. You can set the following Private Resource properties: `name`, `description`, `resourceAddresses`, `dnsServerId`, `certificateId`, `protocol`, `sni`, and `sslVerificationEnabled`.

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

func (*PrivateResourcesAPIService) PutPrivateResourceExecute

Execute executes the request

@return PrivateResourceResponse

type ProtocolClientToResource

type ProtocolClientToResource string

ProtocolClientToResource The protocol that is used to connect the user with the Private Resource. Only the TCP protocol is allowed for browser-based Zero Trust Access.

const (
	ANY        ProtocolClientToResource = "any"
	TCP        ProtocolClientToResource = "tcp"
	UDP        ProtocolClientToResource = "udp"
	HTTP_HTTPS ProtocolClientToResource = "http/https"
)

List of protocolClientToResource

func NewProtocolClientToResourceFromValue

func NewProtocolClientToResourceFromValue(v string) (*ProtocolClientToResource, error)

NewProtocolClientToResourceFromValue returns a pointer to a valid ProtocolClientToResource for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProtocolClientToResource) IsValid

func (v ProtocolClientToResource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProtocolClientToResource) Ptr

Ptr returns reference to protocolClientToResource value

func (*ProtocolClientToResource) UnmarshalJSON

func (v *ProtocolClientToResource) UnmarshalJSON(src []byte) error

type ProtocolProxyToResource

type ProtocolProxyToResource string

ProtocolProxyToResource The protocol for the communication between the proxy and the Private Resource. Only applicable for browser-based Zero Trust Network Access.

const (
	HTTPS ProtocolProxyToResource = "HTTPS"
	HTTP  ProtocolProxyToResource = "HTTP"
)

List of protocolProxyToResource

func NewProtocolProxyToResourceFromValue

func NewProtocolProxyToResourceFromValue(v string) (*ProtocolProxyToResource, error)

NewProtocolProxyToResourceFromValue returns a pointer to a valid ProtocolProxyToResource for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProtocolProxyToResource) IsValid

func (v ProtocolProxyToResource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProtocolProxyToResource) Ptr

Ptr returns reference to protocolProxyToResource value

func (*ProtocolProxyToResource) UnmarshalJSON

func (v *ProtocolProxyToResource) UnmarshalJSON(src []byte) error

type ResourceAddressesInner

type ResourceAddressesInner struct {
	// The list of IP address, CIDRs, FQDN, or wildcard FQDN destinations. IPv6 is not supported.
	DestinationAddr []string `json:"destinationAddr"`
	// The list of protocols and ports for the IP address destinations. The protocols must be unique.
	ProtocolPorts        []ResourceAddressesInnerProtocolPortsInner `json:"protocolPorts"`
	AdditionalProperties map[string]interface{}
}

ResourceAddressesInner The destinations, protocols, and ports of the Private Resource's address.

func NewResourceAddressesInner

func NewResourceAddressesInner(destinationAddr []string, protocolPorts []ResourceAddressesInnerProtocolPortsInner) *ResourceAddressesInner

NewResourceAddressesInner instantiates a new ResourceAddressesInner 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 NewResourceAddressesInnerWithDefaults

func NewResourceAddressesInnerWithDefaults() *ResourceAddressesInner

NewResourceAddressesInnerWithDefaults instantiates a new ResourceAddressesInner 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 (*ResourceAddressesInner) GetDestinationAddr

func (o *ResourceAddressesInner) GetDestinationAddr() []string

GetDestinationAddr returns the DestinationAddr field value

func (*ResourceAddressesInner) GetDestinationAddrOk

func (o *ResourceAddressesInner) GetDestinationAddrOk() ([]string, bool)

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

func (*ResourceAddressesInner) GetProtocolPorts

GetProtocolPorts returns the ProtocolPorts field value

func (*ResourceAddressesInner) GetProtocolPortsOk

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

func (ResourceAddressesInner) MarshalJSON

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

func (*ResourceAddressesInner) SetDestinationAddr

func (o *ResourceAddressesInner) SetDestinationAddr(v []string)

SetDestinationAddr sets field value

func (*ResourceAddressesInner) SetProtocolPorts

SetProtocolPorts sets field value

func (ResourceAddressesInner) ToMap

func (o ResourceAddressesInner) ToMap() (map[string]interface{}, error)

func (*ResourceAddressesInner) UnmarshalJSON

func (o *ResourceAddressesInner) UnmarshalJSON(data []byte) (err error)

type ResourceAddressesInnerProtocolPortsInner

type ResourceAddressesInnerProtocolPortsInner struct {
	Protocol *ProtocolClientToResource `json:"protocol,omitempty"`
	// The port number or list of comma-separated port numbers that you can use to connect to the Private Resource. A port number must be within the range of `1-65535`.
	Ports                *string `json:"ports,omitempty"`
	AdditionalProperties map[string]interface{}
}

ResourceAddressesInnerProtocolPortsInner The protocol and port properties for the Private Resource's address.

func NewResourceAddressesInnerProtocolPortsInner

func NewResourceAddressesInnerProtocolPortsInner() *ResourceAddressesInnerProtocolPortsInner

NewResourceAddressesInnerProtocolPortsInner instantiates a new ResourceAddressesInnerProtocolPortsInner 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 NewResourceAddressesInnerProtocolPortsInnerWithDefaults

func NewResourceAddressesInnerProtocolPortsInnerWithDefaults() *ResourceAddressesInnerProtocolPortsInner

NewResourceAddressesInnerProtocolPortsInnerWithDefaults instantiates a new ResourceAddressesInnerProtocolPortsInner 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 (*ResourceAddressesInnerProtocolPortsInner) GetPorts

GetPorts returns the Ports field value if set, zero value otherwise.

func (*ResourceAddressesInnerProtocolPortsInner) GetPortsOk

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

func (*ResourceAddressesInnerProtocolPortsInner) GetProtocol

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*ResourceAddressesInnerProtocolPortsInner) GetProtocolOk

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

func (*ResourceAddressesInnerProtocolPortsInner) HasPorts

HasPorts returns a boolean if a field has been set.

func (*ResourceAddressesInnerProtocolPortsInner) HasProtocol

HasProtocol returns a boolean if a field has been set.

func (ResourceAddressesInnerProtocolPortsInner) MarshalJSON

func (*ResourceAddressesInnerProtocolPortsInner) SetPorts

SetPorts gets a reference to the given string and assigns it to the Ports field.

func (*ResourceAddressesInnerProtocolPortsInner) SetProtocol

SetProtocol gets a reference to the given ProtocolClientToResource and assigns it to the Protocol field.

func (ResourceAddressesInnerProtocolPortsInner) ToMap

func (o ResourceAddressesInnerProtocolPortsInner) ToMap() (map[string]interface{}, error)

func (*ResourceAddressesInnerProtocolPortsInner) UnmarshalJSON

func (o *ResourceAddressesInnerProtocolPortsInner) UnmarshalJSON(data []byte) (err error)

type ResourceGroupsAPIService

type ResourceGroupsAPIService service

ResourceGroupsAPIService ResourceGroupsAPI service

func (*ResourceGroupsAPIService) AddPrivateResourceGroup

AddPrivateResourceGroup Create Resource Group

Create a Private Resource Group for the organization. You can create a maximum of 1000 Private Resource Groups.

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

func (*ResourceGroupsAPIService) AddPrivateResourceGroupExecute

Execute executes the request

@return PrivateResourceGroupResponse

func (*ResourceGroupsAPIService) DeletePrivateResourceGroup

DeletePrivateResourceGroup Delete Resource Group

Delete the Private Resource Group from the organization. Before deleting the Private Resource Group, Secure Access removes the Private Resources from the Private Resource Group.

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

func (*ResourceGroupsAPIService) DeletePrivateResourceGroupExecute

func (a *ResourceGroupsAPIService) DeletePrivateResourceGroupExecute(r ApiDeletePrivateResourceGroupRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*ResourceGroupsAPIService) GetPrivateResourceGroup

GetPrivateResourceGroup Get Resource Group

Get the details about a Private Resource Group.

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

func (*ResourceGroupsAPIService) GetPrivateResourceGroupExecute

Execute executes the request

@return PrivateResourceGroupResponse

func (*ResourceGroupsAPIService) ListResourceGroups

ListResourceGroups List Resource Groups

List the Private Resource Groups for the organization.

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

func (*ResourceGroupsAPIService) ListResourceGroupsExecute

Execute executes the request

@return PrivateResourceGroupList

func (*ResourceGroupsAPIService) PutPrivateResourceGroup

PutPrivateResourceGroup Update Resource Group

Update the `name` and `description` properties on the Private Resource Group.

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

func (*ResourceGroupsAPIService) PutPrivateResourceGroupExecute

Execute executes the request

@return PrivateResourceGroupResponse

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL