Documentation
¶
Index ¶
- Variables
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type ApiPageInfo
- func (o *ApiPageInfo) GetOffset() int32
- func (o *ApiPageInfo) GetOffsetOk() (*int32, bool)
- func (o *ApiPageInfo) GetPageToken() string
- func (o *ApiPageInfo) GetPageTokenOk() (*string, bool)
- func (o *ApiPageInfo) GetSize() int32
- func (o *ApiPageInfo) GetSizeOk() (*int32, bool)
- func (o *ApiPageInfo) HasOffset() bool
- func (o *ApiPageInfo) HasPageToken() bool
- func (o *ApiPageInfo) HasSize() bool
- func (o ApiPageInfo) MarshalJSON() ([]byte, error)
- func (o *ApiPageInfo) SetOffset(v int32)
- func (o *ApiPageInfo) SetPageToken(v string)
- func (o *ApiPageInfo) SetSize(v int32)
- func (o ApiPageInfo) ToMap() (map[string]interface{}, error)
- func (o *ApiPageInfo) UnmarshalJSON(data []byte) (err error)
- type ApproveCSRRequest
- func (o *ApproveCSRRequest) GetActivationCode() string
- func (o *ApproveCSRRequest) GetActivationCodeOk() (*string, bool)
- func (o *ApproveCSRRequest) HasActivationCode() bool
- func (o ApproveCSRRequest) MarshalJSON() ([]byte, error)
- func (o *ApproveCSRRequest) SetActivationCode(v string)
- func (o ApproveCSRRequest) ToMap() (map[string]interface{}, error)
- func (o *ApproveCSRRequest) UnmarshalJSON(data []byte) (err error)
- type CSR
- func (o *CSR) GetActivationCode() string
- func (o *CSR) GetActivationCodeOk() (*string, bool)
- func (o *CSR) GetClientIp() TypesInetValue
- func (o *CSR) GetClientIpOk() (*TypesInetValue, bool)
- func (o *CSR) GetCreatedAt() time.Time
- func (o *CSR) GetCreatedAtOk() (*time.Time, bool)
- func (o *CSR) GetCsr() string
- func (o *CSR) GetCsrOk() (*string, bool)
- func (o *CSR) GetHostSerial() string
- func (o *CSR) GetHostSerialOk() (*string, bool)
- func (o *CSR) GetId() string
- func (o *CSR) GetIdOk() (*string, bool)
- func (o *CSR) GetJoinToken() JoinToken
- func (o *CSR) GetJoinTokenOk() (*JoinToken, bool)
- func (o *CSR) GetOphid() string
- func (o *CSR) GetOphidOk() (*string, bool)
- func (o *CSR) GetSignature() string
- func (o *CSR) GetSignatureOk() (*string, bool)
- func (o *CSR) GetSrcIp() TypesInetValue
- func (o *CSR) GetSrcIpOk() (*TypesInetValue, bool)
- func (o *CSR) GetState() CSRState
- func (o *CSR) GetStateOk() (*CSRState, bool)
- func (o *CSR) GetUpdatedAt() time.Time
- func (o *CSR) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CSR) HasActivationCode() bool
- func (o *CSR) HasClientIp() bool
- func (o *CSR) HasCreatedAt() bool
- func (o *CSR) HasCsr() bool
- func (o *CSR) HasHostSerial() bool
- func (o *CSR) HasId() bool
- func (o *CSR) HasJoinToken() bool
- func (o *CSR) HasOphid() bool
- func (o *CSR) HasSignature() bool
- func (o *CSR) HasSrcIp() bool
- func (o *CSR) HasState() bool
- func (o *CSR) HasUpdatedAt() bool
- func (o CSR) MarshalJSON() ([]byte, error)
- func (o *CSR) SetActivationCode(v string)
- func (o *CSR) SetClientIp(v TypesInetValue)
- func (o *CSR) SetCreatedAt(v time.Time)
- func (o *CSR) SetCsr(v string)
- func (o *CSR) SetHostSerial(v string)
- func (o *CSR) SetId(v string)
- func (o *CSR) SetJoinToken(v JoinToken)
- func (o *CSR) SetOphid(v string)
- func (o *CSR) SetSignature(v string)
- func (o *CSR) SetSrcIp(v TypesInetValue)
- func (o *CSR) SetState(v CSRState)
- func (o *CSR) SetUpdatedAt(v time.Time)
- func (o CSR) ToMap() (map[string]interface{}, error)
- func (o *CSR) UnmarshalJSON(data []byte) (err error)
- type CSRState
- type CreateJoinTokenResponse
- func (o *CreateJoinTokenResponse) GetJoinToken() string
- func (o *CreateJoinTokenResponse) GetJoinTokenOk() (*string, bool)
- func (o *CreateJoinTokenResponse) GetResult() JoinToken
- func (o *CreateJoinTokenResponse) GetResultOk() (*JoinToken, bool)
- func (o *CreateJoinTokenResponse) HasJoinToken() bool
- func (o *CreateJoinTokenResponse) HasResult() bool
- func (o CreateJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (o *CreateJoinTokenResponse) SetJoinToken(v string)
- func (o *CreateJoinTokenResponse) SetResult(v JoinToken)
- func (o CreateJoinTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
- type DeleteJoinTokensRequest
- func (o *DeleteJoinTokensRequest) GetIds() []string
- func (o *DeleteJoinTokensRequest) GetIdsOk() ([]string, bool)
- func (o *DeleteJoinTokensRequest) HasIds() bool
- func (o DeleteJoinTokensRequest) MarshalJSON() ([]byte, error)
- func (o *DeleteJoinTokensRequest) SetIds(v []string)
- func (o DeleteJoinTokensRequest) ToMap() (map[string]interface{}, error)
- func (o *DeleteJoinTokensRequest) UnmarshalJSON(data []byte) (err error)
- type DenyCSRRequest
- func (o *DenyCSRRequest) GetActivationCode() string
- func (o *DenyCSRRequest) GetActivationCodeOk() (*string, bool)
- func (o *DenyCSRRequest) HasActivationCode() bool
- func (o DenyCSRRequest) MarshalJSON() ([]byte, error)
- func (o *DenyCSRRequest) SetActivationCode(v string)
- func (o DenyCSRRequest) ToMap() (map[string]interface{}, error)
- func (o *DenyCSRRequest) UnmarshalJSON(data []byte) (err error)
- type JoinToken
- func (o *JoinToken) GetDeletedAt() time.Time
- func (o *JoinToken) GetDeletedAtOk() (*time.Time, bool)
- func (o *JoinToken) GetDescription() string
- func (o *JoinToken) GetDescriptionOk() (*string, bool)
- func (o *JoinToken) GetExpiresAt() time.Time
- func (o *JoinToken) GetExpiresAtOk() (*time.Time, bool)
- func (o *JoinToken) GetId() string
- func (o *JoinToken) GetIdOk() (*string, bool)
- func (o *JoinToken) GetLastUsedAt() time.Time
- func (o *JoinToken) GetLastUsedAtOk() (*time.Time, bool)
- func (o *JoinToken) GetName() string
- func (o *JoinToken) GetNameOk() (*string, bool)
- func (o *JoinToken) GetStatus() JoinTokenJoinTokenStatus
- func (o *JoinToken) GetStatusOk() (*JoinTokenJoinTokenStatus, bool)
- func (o *JoinToken) GetTags() map[string]interface{}
- func (o *JoinToken) GetTagsOk() (map[string]interface{}, bool)
- func (o *JoinToken) GetTokenId() string
- func (o *JoinToken) GetTokenIdOk() (*string, bool)
- func (o *JoinToken) GetUseCounter() int64
- func (o *JoinToken) GetUseCounterOk() (*int64, bool)
- func (o *JoinToken) HasDeletedAt() bool
- func (o *JoinToken) HasDescription() bool
- func (o *JoinToken) HasExpiresAt() bool
- func (o *JoinToken) HasId() bool
- func (o *JoinToken) HasLastUsedAt() bool
- func (o *JoinToken) HasName() bool
- func (o *JoinToken) HasStatus() bool
- func (o *JoinToken) HasTags() bool
- func (o *JoinToken) HasTokenId() bool
- func (o *JoinToken) HasUseCounter() bool
- func (o JoinToken) MarshalJSON() ([]byte, error)
- func (o *JoinToken) SetDeletedAt(v time.Time)
- func (o *JoinToken) SetDescription(v string)
- func (o *JoinToken) SetExpiresAt(v time.Time)
- func (o *JoinToken) SetId(v string)
- func (o *JoinToken) SetLastUsedAt(v time.Time)
- func (o *JoinToken) SetName(v string)
- func (o *JoinToken) SetStatus(v JoinTokenJoinTokenStatus)
- func (o *JoinToken) SetTags(v map[string]interface{})
- func (o *JoinToken) SetTokenId(v string)
- func (o *JoinToken) SetUseCounter(v int64)
- func (o JoinToken) ToMap() (map[string]interface{}, error)
- func (o *JoinToken) UnmarshalJSON(data []byte) (err error)
- type JoinTokenJoinTokenStatus
- type ListCSRsResponse
- func (o *ListCSRsResponse) GetPage() ApiPageInfo
- func (o *ListCSRsResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListCSRsResponse) GetResults() []CSR
- func (o *ListCSRsResponse) GetResultsOk() ([]CSR, bool)
- func (o *ListCSRsResponse) HasPage() bool
- func (o *ListCSRsResponse) HasResults() bool
- func (o ListCSRsResponse) MarshalJSON() ([]byte, error)
- func (o *ListCSRsResponse) SetPage(v ApiPageInfo)
- func (o *ListCSRsResponse) SetResults(v []CSR)
- func (o ListCSRsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCSRsResponse) UnmarshalJSON(data []byte) (err error)
- type ListJoinTokenResponse
- func (o *ListJoinTokenResponse) GetPage() ApiPageInfo
- func (o *ListJoinTokenResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListJoinTokenResponse) GetResults() []JoinToken
- func (o *ListJoinTokenResponse) GetResultsOk() ([]JoinToken, bool)
- func (o *ListJoinTokenResponse) HasPage() bool
- func (o *ListJoinTokenResponse) HasResults() bool
- func (o ListJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (o *ListJoinTokenResponse) SetPage(v ApiPageInfo)
- func (o *ListJoinTokenResponse) SetResults(v []JoinToken)
- func (o ListJoinTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *ListJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableApiPageInfo
- func (v NullableApiPageInfo) Get() *ApiPageInfo
- func (v NullableApiPageInfo) IsSet() bool
- func (v NullableApiPageInfo) MarshalJSON() ([]byte, error)
- func (v *NullableApiPageInfo) Set(val *ApiPageInfo)
- func (v *NullableApiPageInfo) UnmarshalJSON(src []byte) error
- func (v *NullableApiPageInfo) Unset()
- type NullableApproveCSRRequest
- func (v NullableApproveCSRRequest) Get() *ApproveCSRRequest
- func (v NullableApproveCSRRequest) IsSet() bool
- func (v NullableApproveCSRRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApproveCSRRequest) Set(val *ApproveCSRRequest)
- func (v *NullableApproveCSRRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApproveCSRRequest) Unset()
- type NullableBool
- type NullableCSR
- type NullableCSRState
- type NullableCreateJoinTokenResponse
- func (v NullableCreateJoinTokenResponse) Get() *CreateJoinTokenResponse
- func (v NullableCreateJoinTokenResponse) IsSet() bool
- func (v NullableCreateJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateJoinTokenResponse) Set(val *CreateJoinTokenResponse)
- func (v *NullableCreateJoinTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateJoinTokenResponse) Unset()
- type NullableDeleteJoinTokensRequest
- func (v NullableDeleteJoinTokensRequest) Get() *DeleteJoinTokensRequest
- func (v NullableDeleteJoinTokensRequest) IsSet() bool
- func (v NullableDeleteJoinTokensRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteJoinTokensRequest) Set(val *DeleteJoinTokensRequest)
- func (v *NullableDeleteJoinTokensRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteJoinTokensRequest) Unset()
- type NullableDenyCSRRequest
- func (v NullableDenyCSRRequest) Get() *DenyCSRRequest
- func (v NullableDenyCSRRequest) IsSet() bool
- func (v NullableDenyCSRRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDenyCSRRequest) Set(val *DenyCSRRequest)
- func (v *NullableDenyCSRRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDenyCSRRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJoinToken
- type NullableJoinTokenJoinTokenStatus
- func (v NullableJoinTokenJoinTokenStatus) Get() *JoinTokenJoinTokenStatus
- func (v NullableJoinTokenJoinTokenStatus) IsSet() bool
- func (v NullableJoinTokenJoinTokenStatus) MarshalJSON() ([]byte, error)
- func (v *NullableJoinTokenJoinTokenStatus) Set(val *JoinTokenJoinTokenStatus)
- func (v *NullableJoinTokenJoinTokenStatus) UnmarshalJSON(src []byte) error
- func (v *NullableJoinTokenJoinTokenStatus) Unset()
- type NullableListCSRsResponse
- func (v NullableListCSRsResponse) Get() *ListCSRsResponse
- func (v NullableListCSRsResponse) IsSet() bool
- func (v NullableListCSRsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCSRsResponse) Set(val *ListCSRsResponse)
- func (v *NullableListCSRsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCSRsResponse) Unset()
- type NullableListJoinTokenResponse
- func (v NullableListJoinTokenResponse) Get() *ListJoinTokenResponse
- func (v NullableListJoinTokenResponse) IsSet() bool
- func (v NullableListJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListJoinTokenResponse) Set(val *ListJoinTokenResponse)
- func (v *NullableListJoinTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListJoinTokenResponse) Unset()
- type NullableReadJoinTokenResponse
- func (v NullableReadJoinTokenResponse) Get() *ReadJoinTokenResponse
- func (v NullableReadJoinTokenResponse) IsSet() bool
- func (v NullableReadJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadJoinTokenResponse) Set(val *ReadJoinTokenResponse)
- func (v *NullableReadJoinTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadJoinTokenResponse) Unset()
- type NullableRevokeCertRequest
- func (v NullableRevokeCertRequest) Get() *RevokeCertRequest
- func (v NullableRevokeCertRequest) IsSet() bool
- func (v NullableRevokeCertRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRevokeCertRequest) Set(val *RevokeCertRequest)
- func (v *NullableRevokeCertRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRevokeCertRequest) Unset()
- type NullableString
- type NullableTime
- type NullableTypesInetValue
- func (v NullableTypesInetValue) Get() *TypesInetValue
- func (v NullableTypesInetValue) IsSet() bool
- func (v NullableTypesInetValue) MarshalJSON() ([]byte, error)
- func (v *NullableTypesInetValue) Set(val *TypesInetValue)
- func (v *NullableTypesInetValue) UnmarshalJSON(src []byte) error
- func (v *NullableTypesInetValue) Unset()
- type NullableTypesJSONValue
- func (v NullableTypesJSONValue) Get() *TypesJSONValue
- func (v NullableTypesJSONValue) IsSet() bool
- func (v NullableTypesJSONValue) MarshalJSON() ([]byte, error)
- func (v *NullableTypesJSONValue) Set(val *TypesJSONValue)
- func (v *NullableTypesJSONValue) UnmarshalJSON(src []byte) error
- func (v *NullableTypesJSONValue) Unset()
- type NullableUpdateJoinTokenResponse
- func (v NullableUpdateJoinTokenResponse) Get() *UpdateJoinTokenResponse
- func (v NullableUpdateJoinTokenResponse) IsSet() bool
- func (v NullableUpdateJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateJoinTokenResponse) Set(val *UpdateJoinTokenResponse)
- func (v *NullableUpdateJoinTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateJoinTokenResponse) Unset()
- type ReadJoinTokenResponse
- func (o *ReadJoinTokenResponse) GetResult() JoinToken
- func (o *ReadJoinTokenResponse) GetResultOk() (*JoinToken, bool)
- func (o *ReadJoinTokenResponse) HasResult() bool
- func (o ReadJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (o *ReadJoinTokenResponse) SetResult(v JoinToken)
- func (o ReadJoinTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *ReadJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
- type RevokeCertRequest
- func (o *RevokeCertRequest) GetCertSerial() string
- func (o *RevokeCertRequest) GetCertSerialOk() (*string, bool)
- func (o *RevokeCertRequest) GetOphid() string
- func (o *RevokeCertRequest) GetOphidOk() (*string, bool)
- func (o *RevokeCertRequest) GetRevokeReason() string
- func (o *RevokeCertRequest) GetRevokeReasonOk() (*string, bool)
- func (o *RevokeCertRequest) HasCertSerial() bool
- func (o *RevokeCertRequest) HasOphid() bool
- func (o *RevokeCertRequest) HasRevokeReason() bool
- func (o RevokeCertRequest) MarshalJSON() ([]byte, error)
- func (o *RevokeCertRequest) SetCertSerial(v string)
- func (o *RevokeCertRequest) SetOphid(v string)
- func (o *RevokeCertRequest) SetRevokeReason(v string)
- func (o RevokeCertRequest) ToMap() (map[string]interface{}, error)
- func (o *RevokeCertRequest) UnmarshalJSON(data []byte) (err error)
- type TypesInetValue
- func (o *TypesInetValue) GetValue() string
- func (o *TypesInetValue) GetValueOk() (*string, bool)
- func (o *TypesInetValue) HasValue() bool
- func (o TypesInetValue) MarshalJSON() ([]byte, error)
- func (o *TypesInetValue) SetValue(v string)
- func (o TypesInetValue) ToMap() (map[string]interface{}, error)
- func (o *TypesInetValue) UnmarshalJSON(data []byte) (err error)
- type TypesJSONValue
- func (o *TypesJSONValue) GetValue() string
- func (o *TypesJSONValue) GetValueOk() (*string, bool)
- func (o *TypesJSONValue) HasValue() bool
- func (o TypesJSONValue) MarshalJSON() ([]byte, error)
- func (o *TypesJSONValue) SetValue(v string)
- func (o TypesJSONValue) ToMap() (map[string]interface{}, error)
- func (o *TypesJSONValue) UnmarshalJSON(data []byte) (err error)
- type UICSRAPI
- type UICSRAPIApproveRequest
- type UICSRAPIDenyRequest
- type UICSRAPIListRequest
- func (r UICSRAPIListRequest) Execute() (*ListCSRsResponse, *http.Response, error)
- func (r UICSRAPIListRequest) Filter(filter string) UICSRAPIListRequest
- func (r UICSRAPIListRequest) Limit(limit int32) UICSRAPIListRequest
- func (r UICSRAPIListRequest) Offset(offset int32) UICSRAPIListRequest
- func (r UICSRAPIListRequest) OrderBy(orderBy string) UICSRAPIListRequest
- func (r UICSRAPIListRequest) PageToken(pageToken string) UICSRAPIListRequest
- func (r UICSRAPIListRequest) Tfilter(tfilter string) UICSRAPIListRequest
- func (r UICSRAPIListRequest) TorderBy(torderBy string) UICSRAPIListRequest
- type UICSRAPIRevoke2Request
- type UICSRAPIRevokeRequest
- type UICSRAPIService
- func (a *UICSRAPIService) Approve(ctx context.Context, activationCode string) UICSRAPIApproveRequest
- func (a *UICSRAPIService) ApproveExecute(r UICSRAPIApproveRequest) (map[string]interface{}, *http.Response, error)
- func (a *UICSRAPIService) Deny(ctx context.Context, activationCode string) UICSRAPIDenyRequest
- func (a *UICSRAPIService) DenyExecute(r UICSRAPIDenyRequest) (map[string]interface{}, *http.Response, error)
- func (a *UICSRAPIService) List(ctx context.Context) UICSRAPIListRequest
- func (a *UICSRAPIService) ListExecute(r UICSRAPIListRequest) (*ListCSRsResponse, *http.Response, error)
- func (a *UICSRAPIService) Revoke(ctx context.Context, certSerial string) UICSRAPIRevokeRequest
- func (a *UICSRAPIService) Revoke2(ctx context.Context, ophid string) UICSRAPIRevoke2Request
- func (a *UICSRAPIService) Revoke2Execute(r UICSRAPIRevoke2Request) (map[string]interface{}, *http.Response, error)
- func (a *UICSRAPIService) RevokeExecute(r UICSRAPIRevokeRequest) (map[string]interface{}, *http.Response, error)
- type UIJoinTokenAPI
- type UIJoinTokenAPICreateRequest
- type UIJoinTokenAPIDeleteRequest
- type UIJoinTokenAPIDeleteSetRequest
- type UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) Execute() (*ListJoinTokenResponse, *http.Response, error)
- func (r UIJoinTokenAPIListRequest) Filter(filter string) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) Limit(limit int32) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) Offset(offset int32) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) OrderBy(orderBy string) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) PageToken(pageToken string) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) Tfilter(tfilter string) UIJoinTokenAPIListRequest
- func (r UIJoinTokenAPIListRequest) TorderBy(torderBy string) UIJoinTokenAPIListRequest
- type UIJoinTokenAPIReadRequest
- type UIJoinTokenAPIService
- func (a *UIJoinTokenAPIService) Create(ctx context.Context) UIJoinTokenAPICreateRequest
- func (a *UIJoinTokenAPIService) CreateExecute(r UIJoinTokenAPICreateRequest) (*CreateJoinTokenResponse, *http.Response, error)
- func (a *UIJoinTokenAPIService) Delete(ctx context.Context, id string) UIJoinTokenAPIDeleteRequest
- func (a *UIJoinTokenAPIService) DeleteExecute(r UIJoinTokenAPIDeleteRequest) (*http.Response, error)
- func (a *UIJoinTokenAPIService) DeleteSet(ctx context.Context) UIJoinTokenAPIDeleteSetRequest
- func (a *UIJoinTokenAPIService) DeleteSetExecute(r UIJoinTokenAPIDeleteSetRequest) (*http.Response, error)
- func (a *UIJoinTokenAPIService) List(ctx context.Context) UIJoinTokenAPIListRequest
- func (a *UIJoinTokenAPIService) ListExecute(r UIJoinTokenAPIListRequest) (*ListJoinTokenResponse, *http.Response, error)
- func (a *UIJoinTokenAPIService) Read(ctx context.Context, id string) UIJoinTokenAPIReadRequest
- func (a *UIJoinTokenAPIService) ReadExecute(r UIJoinTokenAPIReadRequest) (*ReadJoinTokenResponse, *http.Response, error)
- func (a *UIJoinTokenAPIService) Update(ctx context.Context, id string) UIJoinTokenAPIUpdateRequest
- func (a *UIJoinTokenAPIService) UpdateExecute(r UIJoinTokenAPIUpdateRequest) (*UpdateJoinTokenResponse, *http.Response, error)
- type UIJoinTokenAPIUpdateRequest
- type UpdateJoinTokenResponse
- func (o *UpdateJoinTokenResponse) GetResult() JoinToken
- func (o *UpdateJoinTokenResponse) GetResultOk() (*JoinToken, bool)
- func (o *UpdateJoinTokenResponse) HasResult() bool
- func (o UpdateJoinTokenResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateJoinTokenResponse) SetResult(v JoinToken)
- func (o UpdateJoinTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var AllowedCSRStateEnumValues = []CSRState{
"UNKNOWN",
"NEW",
"VERIFIED",
"DENIED",
"TIMEOUT",
"RENEWED",
}
All allowed values of CSRState enum
var AllowedJoinTokenJoinTokenStatusEnumValues = []JoinTokenJoinTokenStatus{
"UNKNOWN",
"ACTIVE",
"EXPIRED",
"REVOKED",
}
All allowed values of JoinTokenJoinTokenStatus enum
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { *internal.APIClient // API Services UICSRAPI UICSRAPI UIJoinTokenAPI UIJoinTokenAPI }
APIClient manages communication with the Host Activation Service v1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(options ...option.ClientOption) *APIClient
NewAPIClient creates a new API client. The client can be configured with a variadic option. The following options are available: - WithClientName(string) sets the name of the client using the SDK. - WithCSPUrl(string) sets the URL for BloxOne Cloud Services Portal. - WithAPIKey(string) sets the APIKey for accessing the BloxOne API. - WithHTTPClient(*http.Client) sets the HTTPClient to use for the SDK. - WithDefaultTags(map[string]string) sets the tags the client can set by default for objects that has tags support. - WithDebug() sets the debug mode.
type ApiPageInfo ¶
type ApiPageInfo struct { // The service may optionally include the offset of the next page of resources. A null value indicates no more pages. Offset *int32 `json:"offset,omitempty"` // The service response should contain a string to indicate the next page of resources. A null value indicates no more pages. PageToken *string `json:"page_token,omitempty"` // The service may optionally include the total number of resources being paged. Size *int32 `json:"size,omitempty"` AdditionalProperties map[string]interface{} }
ApiPageInfo PageInfo represents both server-driven and client-driven pagination response. Server-driven pagination is a model in which the server returns some amount of data along with an token indicating there is more data and where subsequent queries can get the next page of data. Client-driven pagination is a model in which rows are addressable by offset and page size (limit).
func NewApiPageInfo ¶
func NewApiPageInfo() *ApiPageInfo
NewApiPageInfo instantiates a new ApiPageInfo 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 NewApiPageInfoWithDefaults ¶
func NewApiPageInfoWithDefaults() *ApiPageInfo
NewApiPageInfoWithDefaults instantiates a new ApiPageInfo 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 (*ApiPageInfo) GetOffset ¶
func (o *ApiPageInfo) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*ApiPageInfo) GetOffsetOk ¶
func (o *ApiPageInfo) GetOffsetOk() (*int32, 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 (*ApiPageInfo) GetPageToken ¶
func (o *ApiPageInfo) GetPageToken() string
GetPageToken returns the PageToken field value if set, zero value otherwise.
func (*ApiPageInfo) GetPageTokenOk ¶
func (o *ApiPageInfo) GetPageTokenOk() (*string, bool)
GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiPageInfo) GetSize ¶
func (o *ApiPageInfo) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*ApiPageInfo) GetSizeOk ¶
func (o *ApiPageInfo) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiPageInfo) HasOffset ¶
func (o *ApiPageInfo) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ApiPageInfo) HasPageToken ¶
func (o *ApiPageInfo) HasPageToken() bool
HasPageToken returns a boolean if a field has been set.
func (*ApiPageInfo) HasSize ¶
func (o *ApiPageInfo) HasSize() bool
HasSize returns a boolean if a field has been set.
func (ApiPageInfo) MarshalJSON ¶
func (o ApiPageInfo) MarshalJSON() ([]byte, error)
func (*ApiPageInfo) SetOffset ¶
func (o *ApiPageInfo) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*ApiPageInfo) SetPageToken ¶
func (o *ApiPageInfo) SetPageToken(v string)
SetPageToken gets a reference to the given string and assigns it to the PageToken field.
func (*ApiPageInfo) SetSize ¶
func (o *ApiPageInfo) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (ApiPageInfo) ToMap ¶
func (o ApiPageInfo) ToMap() (map[string]interface{}, error)
func (*ApiPageInfo) UnmarshalJSON ¶
func (o *ApiPageInfo) UnmarshalJSON(data []byte) (err error)
type ApproveCSRRequest ¶
type ApproveCSRRequest struct { ActivationCode *string `json:"activation_code,omitempty"` AdditionalProperties map[string]interface{} }
ApproveCSRRequest struct for ApproveCSRRequest
func NewApproveCSRRequest ¶
func NewApproveCSRRequest() *ApproveCSRRequest
NewApproveCSRRequest instantiates a new ApproveCSRRequest 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 NewApproveCSRRequestWithDefaults ¶
func NewApproveCSRRequestWithDefaults() *ApproveCSRRequest
NewApproveCSRRequestWithDefaults instantiates a new ApproveCSRRequest 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 (*ApproveCSRRequest) GetActivationCode ¶
func (o *ApproveCSRRequest) GetActivationCode() string
GetActivationCode returns the ActivationCode field value if set, zero value otherwise.
func (*ApproveCSRRequest) GetActivationCodeOk ¶
func (o *ApproveCSRRequest) GetActivationCodeOk() (*string, bool)
GetActivationCodeOk returns a tuple with the ActivationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApproveCSRRequest) HasActivationCode ¶
func (o *ApproveCSRRequest) HasActivationCode() bool
HasActivationCode returns a boolean if a field has been set.
func (ApproveCSRRequest) MarshalJSON ¶
func (o ApproveCSRRequest) MarshalJSON() ([]byte, error)
func (*ApproveCSRRequest) SetActivationCode ¶
func (o *ApproveCSRRequest) SetActivationCode(v string)
SetActivationCode gets a reference to the given string and assigns it to the ActivationCode field.
func (ApproveCSRRequest) ToMap ¶
func (o ApproveCSRRequest) ToMap() (map[string]interface{}, error)
func (*ApproveCSRRequest) UnmarshalJSON ¶
func (o *ApproveCSRRequest) UnmarshalJSON(data []byte) (err error)
type CSR ¶
type CSR struct { ActivationCode *string `json:"activation_code,omitempty"` ClientIp *TypesInetValue `json:"client_ip,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Csr *string `json:"csr,omitempty"` HostSerial *string `json:"host_serial,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` JoinToken *JoinToken `json:"join_token,omitempty"` Ophid *string `json:"ophid,omitempty"` Signature *string `json:"signature,omitempty"` SrcIp *TypesInetValue `json:"src_ip,omitempty"` State *CSRState `json:"state,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
CSR Represents a certificate signing request from an on-prem host.
func NewCSR ¶
func NewCSR() *CSR
NewCSR instantiates a new CSR 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 NewCSRWithDefaults ¶
func NewCSRWithDefaults() *CSR
NewCSRWithDefaults instantiates a new CSR 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 (*CSR) GetActivationCode ¶
GetActivationCode returns the ActivationCode field value if set, zero value otherwise.
func (*CSR) GetActivationCodeOk ¶
GetActivationCodeOk returns a tuple with the ActivationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetClientIp ¶
func (o *CSR) GetClientIp() TypesInetValue
GetClientIp returns the ClientIp field value if set, zero value otherwise.
func (*CSR) GetClientIpOk ¶
func (o *CSR) GetClientIpOk() (*TypesInetValue, bool)
GetClientIpOk returns a tuple with the ClientIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CSR) GetCreatedAtOk ¶
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 (*CSR) GetCsrOk ¶
GetCsrOk returns a tuple with the Csr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetHostSerial ¶
GetHostSerial returns the HostSerial field value if set, zero value otherwise.
func (*CSR) GetHostSerialOk ¶
GetHostSerialOk returns a tuple with the HostSerial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetJoinToken ¶
GetJoinToken returns the JoinToken field value if set, zero value otherwise.
func (*CSR) GetJoinTokenOk ¶
GetJoinTokenOk returns a tuple with the JoinToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetOphidOk ¶
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetSignature ¶
GetSignature returns the Signature field value if set, zero value otherwise.
func (*CSR) GetSignatureOk ¶
GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetSrcIp ¶
func (o *CSR) GetSrcIp() TypesInetValue
GetSrcIp returns the SrcIp field value if set, zero value otherwise.
func (*CSR) GetSrcIpOk ¶
func (o *CSR) GetSrcIpOk() (*TypesInetValue, bool)
GetSrcIpOk returns a tuple with the SrcIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CSR) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSR) HasActivationCode ¶
HasActivationCode returns a boolean if a field has been set.
func (*CSR) HasClientIp ¶
HasClientIp returns a boolean if a field has been set.
func (*CSR) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*CSR) HasHostSerial ¶
HasHostSerial returns a boolean if a field has been set.
func (*CSR) HasJoinToken ¶
HasJoinToken returns a boolean if a field has been set.
func (*CSR) HasSignature ¶
HasSignature returns a boolean if a field has been set.
func (*CSR) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (CSR) MarshalJSON ¶
func (*CSR) SetActivationCode ¶
SetActivationCode gets a reference to the given string and assigns it to the ActivationCode field.
func (*CSR) SetClientIp ¶
func (o *CSR) SetClientIp(v TypesInetValue)
SetClientIp gets a reference to the given TypesInetValue and assigns it to the ClientIp field.
func (*CSR) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CSR) SetHostSerial ¶
SetHostSerial gets a reference to the given string and assigns it to the HostSerial field.
func (*CSR) SetJoinToken ¶
SetJoinToken gets a reference to the given JoinToken and assigns it to the JoinToken field.
func (*CSR) SetOphid ¶
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*CSR) SetSignature ¶
SetSignature gets a reference to the given string and assigns it to the Signature field.
func (*CSR) SetSrcIp ¶
func (o *CSR) SetSrcIp(v TypesInetValue)
SetSrcIp gets a reference to the given TypesInetValue and assigns it to the SrcIp field.
func (*CSR) SetState ¶
SetState gets a reference to the given CSRState and assigns it to the State field.
func (*CSR) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CSR) UnmarshalJSON ¶
type CSRState ¶
type CSRState string
CSRState the model 'CSRState'
const ( CSRSTATE_UNKNOWN CSRState = "UNKNOWN" CSRSTATE_NEW CSRState = "NEW" CSRSTATE_VERIFIED CSRState = "VERIFIED" CSRSTATE_DENIED CSRState = "DENIED" CSRSTATE_TIMEOUT CSRState = "TIMEOUT" CSRSTATE_RENEWED CSRState = "RENEWED" )
List of hostactivationCSRState
func NewCSRStateFromValue ¶
NewCSRStateFromValue returns a pointer to a valid CSRState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*CSRState) UnmarshalJSON ¶
type CreateJoinTokenResponse ¶
type CreateJoinTokenResponse struct { JoinToken *string `json:"join_token,omitempty"` Result *JoinToken `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
CreateJoinTokenResponse struct for CreateJoinTokenResponse
func NewCreateJoinTokenResponse ¶
func NewCreateJoinTokenResponse() *CreateJoinTokenResponse
NewCreateJoinTokenResponse instantiates a new CreateJoinTokenResponse 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 NewCreateJoinTokenResponseWithDefaults ¶
func NewCreateJoinTokenResponseWithDefaults() *CreateJoinTokenResponse
NewCreateJoinTokenResponseWithDefaults instantiates a new CreateJoinTokenResponse 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 (*CreateJoinTokenResponse) GetJoinToken ¶
func (o *CreateJoinTokenResponse) GetJoinToken() string
GetJoinToken returns the JoinToken field value if set, zero value otherwise.
func (*CreateJoinTokenResponse) GetJoinTokenOk ¶
func (o *CreateJoinTokenResponse) GetJoinTokenOk() (*string, bool)
GetJoinTokenOk returns a tuple with the JoinToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateJoinTokenResponse) GetResult ¶
func (o *CreateJoinTokenResponse) GetResult() JoinToken
GetResult returns the Result field value if set, zero value otherwise.
func (*CreateJoinTokenResponse) GetResultOk ¶
func (o *CreateJoinTokenResponse) GetResultOk() (*JoinToken, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateJoinTokenResponse) HasJoinToken ¶
func (o *CreateJoinTokenResponse) HasJoinToken() bool
HasJoinToken returns a boolean if a field has been set.
func (*CreateJoinTokenResponse) HasResult ¶
func (o *CreateJoinTokenResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (CreateJoinTokenResponse) MarshalJSON ¶
func (o CreateJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*CreateJoinTokenResponse) SetJoinToken ¶
func (o *CreateJoinTokenResponse) SetJoinToken(v string)
SetJoinToken gets a reference to the given string and assigns it to the JoinToken field.
func (*CreateJoinTokenResponse) SetResult ¶
func (o *CreateJoinTokenResponse) SetResult(v JoinToken)
SetResult gets a reference to the given JoinToken and assigns it to the Result field.
func (CreateJoinTokenResponse) ToMap ¶
func (o CreateJoinTokenResponse) ToMap() (map[string]interface{}, error)
func (*CreateJoinTokenResponse) UnmarshalJSON ¶
func (o *CreateJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
type DeleteJoinTokensRequest ¶
type DeleteJoinTokensRequest struct { // The resource identifier. Ids []string `json:"ids,omitempty"` AdditionalProperties map[string]interface{} }
DeleteJoinTokensRequest struct for DeleteJoinTokensRequest
func NewDeleteJoinTokensRequest ¶
func NewDeleteJoinTokensRequest() *DeleteJoinTokensRequest
NewDeleteJoinTokensRequest instantiates a new DeleteJoinTokensRequest 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 NewDeleteJoinTokensRequestWithDefaults ¶
func NewDeleteJoinTokensRequestWithDefaults() *DeleteJoinTokensRequest
NewDeleteJoinTokensRequestWithDefaults instantiates a new DeleteJoinTokensRequest 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 (*DeleteJoinTokensRequest) GetIds ¶
func (o *DeleteJoinTokensRequest) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*DeleteJoinTokensRequest) GetIdsOk ¶
func (o *DeleteJoinTokensRequest) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteJoinTokensRequest) HasIds ¶
func (o *DeleteJoinTokensRequest) HasIds() bool
HasIds returns a boolean if a field has been set.
func (DeleteJoinTokensRequest) MarshalJSON ¶
func (o DeleteJoinTokensRequest) MarshalJSON() ([]byte, error)
func (*DeleteJoinTokensRequest) SetIds ¶
func (o *DeleteJoinTokensRequest) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (DeleteJoinTokensRequest) ToMap ¶
func (o DeleteJoinTokensRequest) ToMap() (map[string]interface{}, error)
func (*DeleteJoinTokensRequest) UnmarshalJSON ¶
func (o *DeleteJoinTokensRequest) UnmarshalJSON(data []byte) (err error)
type DenyCSRRequest ¶
type DenyCSRRequest struct { ActivationCode *string `json:"activation_code,omitempty"` AdditionalProperties map[string]interface{} }
DenyCSRRequest struct for DenyCSRRequest
func NewDenyCSRRequest ¶
func NewDenyCSRRequest() *DenyCSRRequest
NewDenyCSRRequest instantiates a new DenyCSRRequest 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 NewDenyCSRRequestWithDefaults ¶
func NewDenyCSRRequestWithDefaults() *DenyCSRRequest
NewDenyCSRRequestWithDefaults instantiates a new DenyCSRRequest 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 (*DenyCSRRequest) GetActivationCode ¶
func (o *DenyCSRRequest) GetActivationCode() string
GetActivationCode returns the ActivationCode field value if set, zero value otherwise.
func (*DenyCSRRequest) GetActivationCodeOk ¶
func (o *DenyCSRRequest) GetActivationCodeOk() (*string, bool)
GetActivationCodeOk returns a tuple with the ActivationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DenyCSRRequest) HasActivationCode ¶
func (o *DenyCSRRequest) HasActivationCode() bool
HasActivationCode returns a boolean if a field has been set.
func (DenyCSRRequest) MarshalJSON ¶
func (o DenyCSRRequest) MarshalJSON() ([]byte, error)
func (*DenyCSRRequest) SetActivationCode ¶
func (o *DenyCSRRequest) SetActivationCode(v string)
SetActivationCode gets a reference to the given string and assigns it to the ActivationCode field.
func (DenyCSRRequest) ToMap ¶
func (o DenyCSRRequest) ToMap() (map[string]interface{}, error)
func (*DenyCSRRequest) UnmarshalJSON ¶
func (o *DenyCSRRequest) UnmarshalJSON(data []byte) (err error)
type JoinToken ¶
type JoinToken struct { DeletedAt *time.Time `json:"deleted_at,omitempty"` Description *string `json:"description,omitempty"` ExpiresAt *time.Time `json:"expires_at,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` LastUsedAt *time.Time `json:"last_used_at,omitempty"` Name *string `json:"name,omitempty"` // derived field, \"active\" when expires_at and deleted_at are null. Status *JoinTokenJoinTokenStatus `json:"status,omitempty"` Tags map[string]interface{} `json:"tags,omitempty"` // first half of the token. TokenId *string `json:"token_id,omitempty"` UseCounter *int64 `json:"use_counter,omitempty"` AdditionalProperties map[string]interface{} }
JoinToken struct for JoinToken
func NewJoinToken ¶
func NewJoinToken() *JoinToken
NewJoinToken instantiates a new JoinToken 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 NewJoinTokenWithDefaults ¶
func NewJoinTokenWithDefaults() *JoinToken
NewJoinTokenWithDefaults instantiates a new JoinToken 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 (*JoinToken) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*JoinToken) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*JoinToken) GetDescriptionOk ¶
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 (*JoinToken) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*JoinToken) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetLastUsedAt ¶
GetLastUsedAt returns the LastUsedAt field value if set, zero value otherwise.
func (*JoinToken) GetLastUsedAtOk ¶
GetLastUsedAtOk returns a tuple with the LastUsedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetNameOk ¶
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 (*JoinToken) GetStatus ¶
func (o *JoinToken) GetStatus() JoinTokenJoinTokenStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*JoinToken) GetStatusOk ¶
func (o *JoinToken) GetStatusOk() (*JoinTokenJoinTokenStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetTokenId ¶
GetTokenId returns the TokenId field value if set, zero value otherwise.
func (*JoinToken) GetTokenIdOk ¶
GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) GetUseCounter ¶
GetUseCounter returns the UseCounter field value if set, zero value otherwise.
func (*JoinToken) GetUseCounterOk ¶
GetUseCounterOk returns a tuple with the UseCounter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JoinToken) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*JoinToken) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*JoinToken) HasExpiresAt ¶
HasExpiresAt returns a boolean if a field has been set.
func (*JoinToken) HasLastUsedAt ¶
HasLastUsedAt returns a boolean if a field has been set.
func (*JoinToken) HasTokenId ¶
HasTokenId returns a boolean if a field has been set.
func (*JoinToken) HasUseCounter ¶
HasUseCounter returns a boolean if a field has been set.
func (JoinToken) MarshalJSON ¶
func (*JoinToken) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*JoinToken) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*JoinToken) SetExpiresAt ¶
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (*JoinToken) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*JoinToken) SetLastUsedAt ¶
SetLastUsedAt gets a reference to the given time.Time and assigns it to the LastUsedAt field.
func (*JoinToken) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*JoinToken) SetStatus ¶
func (o *JoinToken) SetStatus(v JoinTokenJoinTokenStatus)
SetStatus gets a reference to the given JoinTokenJoinTokenStatus and assigns it to the Status field.
func (*JoinToken) SetTags ¶
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*JoinToken) SetTokenId ¶
SetTokenId gets a reference to the given string and assigns it to the TokenId field.
func (*JoinToken) SetUseCounter ¶
SetUseCounter gets a reference to the given int64 and assigns it to the UseCounter field.
func (*JoinToken) UnmarshalJSON ¶
type JoinTokenJoinTokenStatus ¶
type JoinTokenJoinTokenStatus string
JoinTokenJoinTokenStatus the model 'JoinTokenJoinTokenStatus'
const ( JOINTOKENJOINTOKENSTATUS_UNKNOWN JoinTokenJoinTokenStatus = "UNKNOWN" JOINTOKENJOINTOKENSTATUS_ACTIVE JoinTokenJoinTokenStatus = "ACTIVE" JOINTOKENJOINTOKENSTATUS_EXPIRED JoinTokenJoinTokenStatus = "EXPIRED" JOINTOKENJOINTOKENSTATUS_REVOKED JoinTokenJoinTokenStatus = "REVOKED" )
List of JoinTokenJoinTokenStatus
func NewJoinTokenJoinTokenStatusFromValue ¶
func NewJoinTokenJoinTokenStatusFromValue(v string) (*JoinTokenJoinTokenStatus, error)
NewJoinTokenJoinTokenStatusFromValue returns a pointer to a valid JoinTokenJoinTokenStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (JoinTokenJoinTokenStatus) IsValid ¶
func (v JoinTokenJoinTokenStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (JoinTokenJoinTokenStatus) Ptr ¶
func (v JoinTokenJoinTokenStatus) Ptr() *JoinTokenJoinTokenStatus
Ptr returns reference to JoinTokenJoinTokenStatus value
func (*JoinTokenJoinTokenStatus) UnmarshalJSON ¶
func (v *JoinTokenJoinTokenStatus) UnmarshalJSON(src []byte) error
type ListCSRsResponse ¶
type ListCSRsResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []CSR `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListCSRsResponse struct for ListCSRsResponse
func NewListCSRsResponse ¶
func NewListCSRsResponse() *ListCSRsResponse
NewListCSRsResponse instantiates a new ListCSRsResponse 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 NewListCSRsResponseWithDefaults ¶
func NewListCSRsResponseWithDefaults() *ListCSRsResponse
NewListCSRsResponseWithDefaults instantiates a new ListCSRsResponse 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 (*ListCSRsResponse) GetPage ¶
func (o *ListCSRsResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListCSRsResponse) GetPageOk ¶
func (o *ListCSRsResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCSRsResponse) GetResults ¶
func (o *ListCSRsResponse) GetResults() []CSR
GetResults returns the Results field value if set, zero value otherwise.
func (*ListCSRsResponse) GetResultsOk ¶
func (o *ListCSRsResponse) GetResultsOk() ([]CSR, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCSRsResponse) HasPage ¶
func (o *ListCSRsResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListCSRsResponse) HasResults ¶
func (o *ListCSRsResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListCSRsResponse) MarshalJSON ¶
func (o ListCSRsResponse) MarshalJSON() ([]byte, error)
func (*ListCSRsResponse) SetPage ¶
func (o *ListCSRsResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListCSRsResponse) SetResults ¶
func (o *ListCSRsResponse) SetResults(v []CSR)
SetResults gets a reference to the given []CSR and assigns it to the Results field.
func (ListCSRsResponse) ToMap ¶
func (o ListCSRsResponse) ToMap() (map[string]interface{}, error)
func (*ListCSRsResponse) UnmarshalJSON ¶
func (o *ListCSRsResponse) UnmarshalJSON(data []byte) (err error)
type ListJoinTokenResponse ¶
type ListJoinTokenResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []JoinToken `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListJoinTokenResponse struct for ListJoinTokenResponse
func NewListJoinTokenResponse ¶
func NewListJoinTokenResponse() *ListJoinTokenResponse
NewListJoinTokenResponse instantiates a new ListJoinTokenResponse 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 NewListJoinTokenResponseWithDefaults ¶
func NewListJoinTokenResponseWithDefaults() *ListJoinTokenResponse
NewListJoinTokenResponseWithDefaults instantiates a new ListJoinTokenResponse 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 (*ListJoinTokenResponse) GetPage ¶
func (o *ListJoinTokenResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListJoinTokenResponse) GetPageOk ¶
func (o *ListJoinTokenResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListJoinTokenResponse) GetResults ¶
func (o *ListJoinTokenResponse) GetResults() []JoinToken
GetResults returns the Results field value if set, zero value otherwise.
func (*ListJoinTokenResponse) GetResultsOk ¶
func (o *ListJoinTokenResponse) GetResultsOk() ([]JoinToken, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListJoinTokenResponse) HasPage ¶
func (o *ListJoinTokenResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListJoinTokenResponse) HasResults ¶
func (o *ListJoinTokenResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListJoinTokenResponse) MarshalJSON ¶
func (o ListJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*ListJoinTokenResponse) SetPage ¶
func (o *ListJoinTokenResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListJoinTokenResponse) SetResults ¶
func (o *ListJoinTokenResponse) SetResults(v []JoinToken)
SetResults gets a reference to the given []JoinToken and assigns it to the Results field.
func (ListJoinTokenResponse) ToMap ¶
func (o ListJoinTokenResponse) ToMap() (map[string]interface{}, error)
func (*ListJoinTokenResponse) UnmarshalJSON ¶
func (o *ListJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableApiPageInfo ¶
type NullableApiPageInfo struct {
// contains filtered or unexported fields
}
func NewNullableApiPageInfo ¶
func NewNullableApiPageInfo(val *ApiPageInfo) *NullableApiPageInfo
func (NullableApiPageInfo) Get ¶
func (v NullableApiPageInfo) Get() *ApiPageInfo
func (NullableApiPageInfo) IsSet ¶
func (v NullableApiPageInfo) IsSet() bool
func (NullableApiPageInfo) MarshalJSON ¶
func (v NullableApiPageInfo) MarshalJSON() ([]byte, error)
func (*NullableApiPageInfo) Set ¶
func (v *NullableApiPageInfo) Set(val *ApiPageInfo)
func (*NullableApiPageInfo) UnmarshalJSON ¶
func (v *NullableApiPageInfo) UnmarshalJSON(src []byte) error
func (*NullableApiPageInfo) Unset ¶
func (v *NullableApiPageInfo) Unset()
type NullableApproveCSRRequest ¶
type NullableApproveCSRRequest struct {
// contains filtered or unexported fields
}
func NewNullableApproveCSRRequest ¶
func NewNullableApproveCSRRequest(val *ApproveCSRRequest) *NullableApproveCSRRequest
func (NullableApproveCSRRequest) Get ¶
func (v NullableApproveCSRRequest) Get() *ApproveCSRRequest
func (NullableApproveCSRRequest) IsSet ¶
func (v NullableApproveCSRRequest) IsSet() bool
func (NullableApproveCSRRequest) MarshalJSON ¶
func (v NullableApproveCSRRequest) MarshalJSON() ([]byte, error)
func (*NullableApproveCSRRequest) Set ¶
func (v *NullableApproveCSRRequest) Set(val *ApproveCSRRequest)
func (*NullableApproveCSRRequest) UnmarshalJSON ¶
func (v *NullableApproveCSRRequest) UnmarshalJSON(src []byte) error
func (*NullableApproveCSRRequest) Unset ¶
func (v *NullableApproveCSRRequest) 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 NullableCSR ¶
type NullableCSR struct {
// contains filtered or unexported fields
}
func NewNullableCSR ¶
func NewNullableCSR(val *CSR) *NullableCSR
func (NullableCSR) Get ¶
func (v NullableCSR) Get() *CSR
func (NullableCSR) IsSet ¶
func (v NullableCSR) IsSet() bool
func (NullableCSR) MarshalJSON ¶
func (v NullableCSR) MarshalJSON() ([]byte, error)
func (*NullableCSR) Set ¶
func (v *NullableCSR) Set(val *CSR)
func (*NullableCSR) UnmarshalJSON ¶
func (v *NullableCSR) UnmarshalJSON(src []byte) error
func (*NullableCSR) Unset ¶
func (v *NullableCSR) Unset()
type NullableCSRState ¶
type NullableCSRState struct {
// contains filtered or unexported fields
}
func NewNullableCSRState ¶
func NewNullableCSRState(val *CSRState) *NullableCSRState
func (NullableCSRState) Get ¶
func (v NullableCSRState) Get() *CSRState
func (NullableCSRState) IsSet ¶
func (v NullableCSRState) IsSet() bool
func (NullableCSRState) MarshalJSON ¶
func (v NullableCSRState) MarshalJSON() ([]byte, error)
func (*NullableCSRState) Set ¶
func (v *NullableCSRState) Set(val *CSRState)
func (*NullableCSRState) UnmarshalJSON ¶
func (v *NullableCSRState) UnmarshalJSON(src []byte) error
func (*NullableCSRState) Unset ¶
func (v *NullableCSRState) Unset()
type NullableCreateJoinTokenResponse ¶
type NullableCreateJoinTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateJoinTokenResponse ¶
func NewNullableCreateJoinTokenResponse(val *CreateJoinTokenResponse) *NullableCreateJoinTokenResponse
func (NullableCreateJoinTokenResponse) Get ¶
func (v NullableCreateJoinTokenResponse) Get() *CreateJoinTokenResponse
func (NullableCreateJoinTokenResponse) IsSet ¶
func (v NullableCreateJoinTokenResponse) IsSet() bool
func (NullableCreateJoinTokenResponse) MarshalJSON ¶
func (v NullableCreateJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateJoinTokenResponse) Set ¶
func (v *NullableCreateJoinTokenResponse) Set(val *CreateJoinTokenResponse)
func (*NullableCreateJoinTokenResponse) UnmarshalJSON ¶
func (v *NullableCreateJoinTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateJoinTokenResponse) Unset ¶
func (v *NullableCreateJoinTokenResponse) Unset()
type NullableDeleteJoinTokensRequest ¶
type NullableDeleteJoinTokensRequest struct {
// contains filtered or unexported fields
}
func NewNullableDeleteJoinTokensRequest ¶
func NewNullableDeleteJoinTokensRequest(val *DeleteJoinTokensRequest) *NullableDeleteJoinTokensRequest
func (NullableDeleteJoinTokensRequest) Get ¶
func (v NullableDeleteJoinTokensRequest) Get() *DeleteJoinTokensRequest
func (NullableDeleteJoinTokensRequest) IsSet ¶
func (v NullableDeleteJoinTokensRequest) IsSet() bool
func (NullableDeleteJoinTokensRequest) MarshalJSON ¶
func (v NullableDeleteJoinTokensRequest) MarshalJSON() ([]byte, error)
func (*NullableDeleteJoinTokensRequest) Set ¶
func (v *NullableDeleteJoinTokensRequest) Set(val *DeleteJoinTokensRequest)
func (*NullableDeleteJoinTokensRequest) UnmarshalJSON ¶
func (v *NullableDeleteJoinTokensRequest) UnmarshalJSON(src []byte) error
func (*NullableDeleteJoinTokensRequest) Unset ¶
func (v *NullableDeleteJoinTokensRequest) Unset()
type NullableDenyCSRRequest ¶
type NullableDenyCSRRequest struct {
// contains filtered or unexported fields
}
func NewNullableDenyCSRRequest ¶
func NewNullableDenyCSRRequest(val *DenyCSRRequest) *NullableDenyCSRRequest
func (NullableDenyCSRRequest) Get ¶
func (v NullableDenyCSRRequest) Get() *DenyCSRRequest
func (NullableDenyCSRRequest) IsSet ¶
func (v NullableDenyCSRRequest) IsSet() bool
func (NullableDenyCSRRequest) MarshalJSON ¶
func (v NullableDenyCSRRequest) MarshalJSON() ([]byte, error)
func (*NullableDenyCSRRequest) Set ¶
func (v *NullableDenyCSRRequest) Set(val *DenyCSRRequest)
func (*NullableDenyCSRRequest) UnmarshalJSON ¶
func (v *NullableDenyCSRRequest) UnmarshalJSON(src []byte) error
func (*NullableDenyCSRRequest) Unset ¶
func (v *NullableDenyCSRRequest) 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 NullableJoinToken ¶
type NullableJoinToken struct {
// contains filtered or unexported fields
}
func NewNullableJoinToken ¶
func NewNullableJoinToken(val *JoinToken) *NullableJoinToken
func (NullableJoinToken) Get ¶
func (v NullableJoinToken) Get() *JoinToken
func (NullableJoinToken) IsSet ¶
func (v NullableJoinToken) IsSet() bool
func (NullableJoinToken) MarshalJSON ¶
func (v NullableJoinToken) MarshalJSON() ([]byte, error)
func (*NullableJoinToken) Set ¶
func (v *NullableJoinToken) Set(val *JoinToken)
func (*NullableJoinToken) UnmarshalJSON ¶
func (v *NullableJoinToken) UnmarshalJSON(src []byte) error
func (*NullableJoinToken) Unset ¶
func (v *NullableJoinToken) Unset()
type NullableJoinTokenJoinTokenStatus ¶
type NullableJoinTokenJoinTokenStatus struct {
// contains filtered or unexported fields
}
func NewNullableJoinTokenJoinTokenStatus ¶
func NewNullableJoinTokenJoinTokenStatus(val *JoinTokenJoinTokenStatus) *NullableJoinTokenJoinTokenStatus
func (NullableJoinTokenJoinTokenStatus) Get ¶
func (v NullableJoinTokenJoinTokenStatus) Get() *JoinTokenJoinTokenStatus
func (NullableJoinTokenJoinTokenStatus) IsSet ¶
func (v NullableJoinTokenJoinTokenStatus) IsSet() bool
func (NullableJoinTokenJoinTokenStatus) MarshalJSON ¶
func (v NullableJoinTokenJoinTokenStatus) MarshalJSON() ([]byte, error)
func (*NullableJoinTokenJoinTokenStatus) Set ¶
func (v *NullableJoinTokenJoinTokenStatus) Set(val *JoinTokenJoinTokenStatus)
func (*NullableJoinTokenJoinTokenStatus) UnmarshalJSON ¶
func (v *NullableJoinTokenJoinTokenStatus) UnmarshalJSON(src []byte) error
func (*NullableJoinTokenJoinTokenStatus) Unset ¶
func (v *NullableJoinTokenJoinTokenStatus) Unset()
type NullableListCSRsResponse ¶
type NullableListCSRsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCSRsResponse ¶
func NewNullableListCSRsResponse(val *ListCSRsResponse) *NullableListCSRsResponse
func (NullableListCSRsResponse) Get ¶
func (v NullableListCSRsResponse) Get() *ListCSRsResponse
func (NullableListCSRsResponse) IsSet ¶
func (v NullableListCSRsResponse) IsSet() bool
func (NullableListCSRsResponse) MarshalJSON ¶
func (v NullableListCSRsResponse) MarshalJSON() ([]byte, error)
func (*NullableListCSRsResponse) Set ¶
func (v *NullableListCSRsResponse) Set(val *ListCSRsResponse)
func (*NullableListCSRsResponse) UnmarshalJSON ¶
func (v *NullableListCSRsResponse) UnmarshalJSON(src []byte) error
func (*NullableListCSRsResponse) Unset ¶
func (v *NullableListCSRsResponse) Unset()
type NullableListJoinTokenResponse ¶
type NullableListJoinTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableListJoinTokenResponse ¶
func NewNullableListJoinTokenResponse(val *ListJoinTokenResponse) *NullableListJoinTokenResponse
func (NullableListJoinTokenResponse) Get ¶
func (v NullableListJoinTokenResponse) Get() *ListJoinTokenResponse
func (NullableListJoinTokenResponse) IsSet ¶
func (v NullableListJoinTokenResponse) IsSet() bool
func (NullableListJoinTokenResponse) MarshalJSON ¶
func (v NullableListJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableListJoinTokenResponse) Set ¶
func (v *NullableListJoinTokenResponse) Set(val *ListJoinTokenResponse)
func (*NullableListJoinTokenResponse) UnmarshalJSON ¶
func (v *NullableListJoinTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableListJoinTokenResponse) Unset ¶
func (v *NullableListJoinTokenResponse) Unset()
type NullableReadJoinTokenResponse ¶
type NullableReadJoinTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadJoinTokenResponse ¶
func NewNullableReadJoinTokenResponse(val *ReadJoinTokenResponse) *NullableReadJoinTokenResponse
func (NullableReadJoinTokenResponse) Get ¶
func (v NullableReadJoinTokenResponse) Get() *ReadJoinTokenResponse
func (NullableReadJoinTokenResponse) IsSet ¶
func (v NullableReadJoinTokenResponse) IsSet() bool
func (NullableReadJoinTokenResponse) MarshalJSON ¶
func (v NullableReadJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableReadJoinTokenResponse) Set ¶
func (v *NullableReadJoinTokenResponse) Set(val *ReadJoinTokenResponse)
func (*NullableReadJoinTokenResponse) UnmarshalJSON ¶
func (v *NullableReadJoinTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableReadJoinTokenResponse) Unset ¶
func (v *NullableReadJoinTokenResponse) Unset()
type NullableRevokeCertRequest ¶
type NullableRevokeCertRequest struct {
// contains filtered or unexported fields
}
func NewNullableRevokeCertRequest ¶
func NewNullableRevokeCertRequest(val *RevokeCertRequest) *NullableRevokeCertRequest
func (NullableRevokeCertRequest) Get ¶
func (v NullableRevokeCertRequest) Get() *RevokeCertRequest
func (NullableRevokeCertRequest) IsSet ¶
func (v NullableRevokeCertRequest) IsSet() bool
func (NullableRevokeCertRequest) MarshalJSON ¶
func (v NullableRevokeCertRequest) MarshalJSON() ([]byte, error)
func (*NullableRevokeCertRequest) Set ¶
func (v *NullableRevokeCertRequest) Set(val *RevokeCertRequest)
func (*NullableRevokeCertRequest) UnmarshalJSON ¶
func (v *NullableRevokeCertRequest) UnmarshalJSON(src []byte) error
func (*NullableRevokeCertRequest) Unset ¶
func (v *NullableRevokeCertRequest) 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 NullableTypesInetValue ¶
type NullableTypesInetValue struct {
// contains filtered or unexported fields
}
func NewNullableTypesInetValue ¶
func NewNullableTypesInetValue(val *TypesInetValue) *NullableTypesInetValue
func (NullableTypesInetValue) Get ¶
func (v NullableTypesInetValue) Get() *TypesInetValue
func (NullableTypesInetValue) IsSet ¶
func (v NullableTypesInetValue) IsSet() bool
func (NullableTypesInetValue) MarshalJSON ¶
func (v NullableTypesInetValue) MarshalJSON() ([]byte, error)
func (*NullableTypesInetValue) Set ¶
func (v *NullableTypesInetValue) Set(val *TypesInetValue)
func (*NullableTypesInetValue) UnmarshalJSON ¶
func (v *NullableTypesInetValue) UnmarshalJSON(src []byte) error
func (*NullableTypesInetValue) Unset ¶
func (v *NullableTypesInetValue) Unset()
type NullableTypesJSONValue ¶
type NullableTypesJSONValue struct {
// contains filtered or unexported fields
}
func NewNullableTypesJSONValue ¶
func NewNullableTypesJSONValue(val *TypesJSONValue) *NullableTypesJSONValue
func (NullableTypesJSONValue) Get ¶
func (v NullableTypesJSONValue) Get() *TypesJSONValue
func (NullableTypesJSONValue) IsSet ¶
func (v NullableTypesJSONValue) IsSet() bool
func (NullableTypesJSONValue) MarshalJSON ¶
func (v NullableTypesJSONValue) MarshalJSON() ([]byte, error)
func (*NullableTypesJSONValue) Set ¶
func (v *NullableTypesJSONValue) Set(val *TypesJSONValue)
func (*NullableTypesJSONValue) UnmarshalJSON ¶
func (v *NullableTypesJSONValue) UnmarshalJSON(src []byte) error
func (*NullableTypesJSONValue) Unset ¶
func (v *NullableTypesJSONValue) Unset()
type NullableUpdateJoinTokenResponse ¶
type NullableUpdateJoinTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateJoinTokenResponse ¶
func NewNullableUpdateJoinTokenResponse(val *UpdateJoinTokenResponse) *NullableUpdateJoinTokenResponse
func (NullableUpdateJoinTokenResponse) Get ¶
func (v NullableUpdateJoinTokenResponse) Get() *UpdateJoinTokenResponse
func (NullableUpdateJoinTokenResponse) IsSet ¶
func (v NullableUpdateJoinTokenResponse) IsSet() bool
func (NullableUpdateJoinTokenResponse) MarshalJSON ¶
func (v NullableUpdateJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateJoinTokenResponse) Set ¶
func (v *NullableUpdateJoinTokenResponse) Set(val *UpdateJoinTokenResponse)
func (*NullableUpdateJoinTokenResponse) UnmarshalJSON ¶
func (v *NullableUpdateJoinTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateJoinTokenResponse) Unset ¶
func (v *NullableUpdateJoinTokenResponse) Unset()
type ReadJoinTokenResponse ¶
type ReadJoinTokenResponse struct { Result *JoinToken `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
ReadJoinTokenResponse struct for ReadJoinTokenResponse
func NewReadJoinTokenResponse ¶
func NewReadJoinTokenResponse() *ReadJoinTokenResponse
NewReadJoinTokenResponse instantiates a new ReadJoinTokenResponse 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 NewReadJoinTokenResponseWithDefaults ¶
func NewReadJoinTokenResponseWithDefaults() *ReadJoinTokenResponse
NewReadJoinTokenResponseWithDefaults instantiates a new ReadJoinTokenResponse 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 (*ReadJoinTokenResponse) GetResult ¶
func (o *ReadJoinTokenResponse) GetResult() JoinToken
GetResult returns the Result field value if set, zero value otherwise.
func (*ReadJoinTokenResponse) GetResultOk ¶
func (o *ReadJoinTokenResponse) GetResultOk() (*JoinToken, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadJoinTokenResponse) HasResult ¶
func (o *ReadJoinTokenResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (ReadJoinTokenResponse) MarshalJSON ¶
func (o ReadJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*ReadJoinTokenResponse) SetResult ¶
func (o *ReadJoinTokenResponse) SetResult(v JoinToken)
SetResult gets a reference to the given JoinToken and assigns it to the Result field.
func (ReadJoinTokenResponse) ToMap ¶
func (o ReadJoinTokenResponse) ToMap() (map[string]interface{}, error)
func (*ReadJoinTokenResponse) UnmarshalJSON ¶
func (o *ReadJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
type RevokeCertRequest ¶
type RevokeCertRequest struct { CertSerial *string `json:"cert_serial,omitempty"` // On-prem host ID which can be obtained either from on-prem or BloxOne UI portal(Manage > Infrastructure > Hosts > Select the onprem > click on 3 dots on top right side > General Information > Ophid) . Ophid *string `json:"ophid,omitempty"` RevokeReason *string `json:"revoke_reason,omitempty"` AdditionalProperties map[string]interface{} }
RevokeCertRequest struct for RevokeCertRequest
func NewRevokeCertRequest ¶
func NewRevokeCertRequest() *RevokeCertRequest
NewRevokeCertRequest instantiates a new RevokeCertRequest 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 NewRevokeCertRequestWithDefaults ¶
func NewRevokeCertRequestWithDefaults() *RevokeCertRequest
NewRevokeCertRequestWithDefaults instantiates a new RevokeCertRequest 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 (*RevokeCertRequest) GetCertSerial ¶
func (o *RevokeCertRequest) GetCertSerial() string
GetCertSerial returns the CertSerial field value if set, zero value otherwise.
func (*RevokeCertRequest) GetCertSerialOk ¶
func (o *RevokeCertRequest) GetCertSerialOk() (*string, bool)
GetCertSerialOk returns a tuple with the CertSerial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RevokeCertRequest) GetOphid ¶
func (o *RevokeCertRequest) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*RevokeCertRequest) GetOphidOk ¶
func (o *RevokeCertRequest) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RevokeCertRequest) GetRevokeReason ¶
func (o *RevokeCertRequest) GetRevokeReason() string
GetRevokeReason returns the RevokeReason field value if set, zero value otherwise.
func (*RevokeCertRequest) GetRevokeReasonOk ¶
func (o *RevokeCertRequest) GetRevokeReasonOk() (*string, bool)
GetRevokeReasonOk returns a tuple with the RevokeReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RevokeCertRequest) HasCertSerial ¶
func (o *RevokeCertRequest) HasCertSerial() bool
HasCertSerial returns a boolean if a field has been set.
func (*RevokeCertRequest) HasOphid ¶
func (o *RevokeCertRequest) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (*RevokeCertRequest) HasRevokeReason ¶
func (o *RevokeCertRequest) HasRevokeReason() bool
HasRevokeReason returns a boolean if a field has been set.
func (RevokeCertRequest) MarshalJSON ¶
func (o RevokeCertRequest) MarshalJSON() ([]byte, error)
func (*RevokeCertRequest) SetCertSerial ¶
func (o *RevokeCertRequest) SetCertSerial(v string)
SetCertSerial gets a reference to the given string and assigns it to the CertSerial field.
func (*RevokeCertRequest) SetOphid ¶
func (o *RevokeCertRequest) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*RevokeCertRequest) SetRevokeReason ¶
func (o *RevokeCertRequest) SetRevokeReason(v string)
SetRevokeReason gets a reference to the given string and assigns it to the RevokeReason field.
func (RevokeCertRequest) ToMap ¶
func (o RevokeCertRequest) ToMap() (map[string]interface{}, error)
func (*RevokeCertRequest) UnmarshalJSON ¶
func (o *RevokeCertRequest) UnmarshalJSON(data []byte) (err error)
type TypesInetValue ¶
type TypesInetValue struct { Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} }
TypesInetValue struct for TypesInetValue
func NewTypesInetValue ¶
func NewTypesInetValue() *TypesInetValue
NewTypesInetValue instantiates a new TypesInetValue 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 NewTypesInetValueWithDefaults ¶
func NewTypesInetValueWithDefaults() *TypesInetValue
NewTypesInetValueWithDefaults instantiates a new TypesInetValue 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 (*TypesInetValue) GetValue ¶
func (o *TypesInetValue) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TypesInetValue) GetValueOk ¶
func (o *TypesInetValue) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TypesInetValue) HasValue ¶
func (o *TypesInetValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TypesInetValue) MarshalJSON ¶
func (o TypesInetValue) MarshalJSON() ([]byte, error)
func (*TypesInetValue) SetValue ¶
func (o *TypesInetValue) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TypesInetValue) ToMap ¶
func (o TypesInetValue) ToMap() (map[string]interface{}, error)
func (*TypesInetValue) UnmarshalJSON ¶
func (o *TypesInetValue) UnmarshalJSON(data []byte) (err error)
type TypesJSONValue ¶
type TypesJSONValue struct { Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} }
TypesJSONValue struct for TypesJSONValue
func NewTypesJSONValue ¶
func NewTypesJSONValue() *TypesJSONValue
NewTypesJSONValue instantiates a new TypesJSONValue 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 NewTypesJSONValueWithDefaults ¶
func NewTypesJSONValueWithDefaults() *TypesJSONValue
NewTypesJSONValueWithDefaults instantiates a new TypesJSONValue 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 (*TypesJSONValue) GetValue ¶
func (o *TypesJSONValue) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TypesJSONValue) GetValueOk ¶
func (o *TypesJSONValue) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TypesJSONValue) HasValue ¶
func (o *TypesJSONValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TypesJSONValue) MarshalJSON ¶
func (o TypesJSONValue) MarshalJSON() ([]byte, error)
func (*TypesJSONValue) SetValue ¶
func (o *TypesJSONValue) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TypesJSONValue) ToMap ¶
func (o TypesJSONValue) ToMap() (map[string]interface{}, error)
func (*TypesJSONValue) UnmarshalJSON ¶
func (o *TypesJSONValue) UnmarshalJSON(data []byte) (err error)
type UICSRAPI ¶
type UICSRAPI interface { /* Approve Marks the certificate signing request as approved. The host activation service will then continue with the signing process. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param activationCode activation code is used by the clients to track the approval of the CSR @return UICSRAPIApproveRequest */ Approve(ctx context.Context, activationCode string) UICSRAPIApproveRequest // ApproveExecute executes the request // @return map[string]interface{} ApproveExecute(r UICSRAPIApproveRequest) (map[string]interface{}, *http.Response, error) /* Deny Marks the certificate signing request as denied. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param activationCode activation code is used by the clients to track the approval of the CSR @return UICSRAPIDenyRequest */ Deny(ctx context.Context, activationCode string) UICSRAPIDenyRequest // DenyExecute executes the request // @return map[string]interface{} DenyExecute(r UICSRAPIDenyRequest) (map[string]interface{}, *http.Response, error) /* List User can list the certificate signing requests for an account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UICSRAPIListRequest */ List(ctx context.Context) UICSRAPIListRequest // ListExecute executes the request // @return ListCSRsResponse ListExecute(r UICSRAPIListRequest) (*ListCSRsResponse, *http.Response, error) /* Revoke Invalidates a certificate by adding it to a certificate revocation list. The user can revoke the cert from the cloud (for example, if in case a host is compromised). Validation: - one of "cert_serial" or "ophid" should be provided - "revoke_reason" is optional @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certSerial x509 serial number of the certificate. This can be obtained by parsing the client certificate file on the onprem. Either cert_serial or ophid is required @return UICSRAPIRevokeRequest */ Revoke(ctx context.Context, certSerial string) UICSRAPIRevokeRequest // RevokeExecute executes the request // @return map[string]interface{} RevokeExecute(r UICSRAPIRevokeRequest) (map[string]interface{}, *http.Response, error) /* Revoke2 Invalidates a certificate by adding it to a certificate revocation list. The user can revoke the cert from the cloud (for example, if in case a host is compromised). Validation: - one of "cert_serial" or "ophid" should be provided - "revoke_reason" is optional @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid On-prem host ID which can be obtained either from on-prem or BloxOne UI portal(Manage > Infrastructure > Hosts > Select the onprem > click on 3 dots on top right side > General Information > Ophid) . @return UICSRAPIRevoke2Request */ Revoke2(ctx context.Context, ophid string) UICSRAPIRevoke2Request // Revoke2Execute executes the request // @return map[string]interface{} Revoke2Execute(r UICSRAPIRevoke2Request) (map[string]interface{}, *http.Response, error) }
type UICSRAPIApproveRequest ¶
type UICSRAPIApproveRequest struct { ApiService UICSRAPI // contains filtered or unexported fields }
func (UICSRAPIApproveRequest) Body ¶
func (r UICSRAPIApproveRequest) Body(body ApproveCSRRequest) UICSRAPIApproveRequest
type UICSRAPIDenyRequest ¶
type UICSRAPIDenyRequest struct { ApiService UICSRAPI // contains filtered or unexported fields }
func (UICSRAPIDenyRequest) Body ¶
func (r UICSRAPIDenyRequest) Body(body DenyCSRRequest) UICSRAPIDenyRequest
type UICSRAPIListRequest ¶
type UICSRAPIListRequest struct { ApiService UICSRAPI // contains filtered or unexported fields }
func (UICSRAPIListRequest) Execute ¶
func (r UICSRAPIListRequest) Execute() (*ListCSRsResponse, *http.Response, error)
func (UICSRAPIListRequest) Filter ¶
func (r UICSRAPIListRequest) Filter(filter string) UICSRAPIListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (UICSRAPIListRequest) Limit ¶
func (r UICSRAPIListRequest) Limit(limit int32) UICSRAPIListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (UICSRAPIListRequest) Offset ¶
func (r UICSRAPIListRequest) Offset(offset int32) UICSRAPIListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (UICSRAPIListRequest) OrderBy ¶
func (r UICSRAPIListRequest) OrderBy(orderBy string) UICSRAPIListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (UICSRAPIListRequest) PageToken ¶
func (r UICSRAPIListRequest) PageToken(pageToken string) UICSRAPIListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (UICSRAPIListRequest) Tfilter ¶
func (r UICSRAPIListRequest) Tfilter(tfilter string) UICSRAPIListRequest
This parameter is used for filtering by tags.
func (UICSRAPIListRequest) TorderBy ¶
func (r UICSRAPIListRequest) TorderBy(torderBy string) UICSRAPIListRequest
This parameter is used for sorting by tags.
type UICSRAPIRevoke2Request ¶
type UICSRAPIRevoke2Request struct { ApiService UICSRAPI // contains filtered or unexported fields }
func (UICSRAPIRevoke2Request) Body ¶
func (r UICSRAPIRevoke2Request) Body(body RevokeCertRequest) UICSRAPIRevoke2Request
type UICSRAPIRevokeRequest ¶
type UICSRAPIRevokeRequest struct { ApiService UICSRAPI // contains filtered or unexported fields }
func (UICSRAPIRevokeRequest) Body ¶
func (r UICSRAPIRevokeRequest) Body(body RevokeCertRequest) UICSRAPIRevokeRequest
type UICSRAPIService ¶
UICSRAPIService UICSRAPI service
func (*UICSRAPIService) Approve ¶
func (a *UICSRAPIService) Approve(ctx context.Context, activationCode string) UICSRAPIApproveRequest
Approve Marks the certificate signing request as approved. The host activation service will then continue with the signing process.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param activationCode activation code is used by the clients to track the approval of the CSR @return UICSRAPIApproveRequest
func (*UICSRAPIService) ApproveExecute ¶
func (a *UICSRAPIService) ApproveExecute(r UICSRAPIApproveRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*UICSRAPIService) Deny ¶
func (a *UICSRAPIService) Deny(ctx context.Context, activationCode string) UICSRAPIDenyRequest
Deny Marks the certificate signing request as denied.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param activationCode activation code is used by the clients to track the approval of the CSR @return UICSRAPIDenyRequest
func (*UICSRAPIService) DenyExecute ¶
func (a *UICSRAPIService) DenyExecute(r UICSRAPIDenyRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*UICSRAPIService) List ¶
func (a *UICSRAPIService) List(ctx context.Context) UICSRAPIListRequest
List User can list the certificate signing requests for an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UICSRAPIListRequest
func (*UICSRAPIService) ListExecute ¶
func (a *UICSRAPIService) ListExecute(r UICSRAPIListRequest) (*ListCSRsResponse, *http.Response, error)
Execute executes the request
@return ListCSRsResponse
func (*UICSRAPIService) Revoke ¶
func (a *UICSRAPIService) Revoke(ctx context.Context, certSerial string) UICSRAPIRevokeRequest
Revoke Invalidates a certificate by adding it to a certificate revocation list.
The user can revoke the cert from the cloud (for example, if in case a host is compromised). Validation: - one of "cert_serial" or "ophid" should be provided - "revoke_reason" is optional
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certSerial x509 serial number of the certificate. This can be obtained by parsing the client certificate file on the onprem. Either cert_serial or ophid is required @return UICSRAPIRevokeRequest
func (*UICSRAPIService) Revoke2 ¶
func (a *UICSRAPIService) Revoke2(ctx context.Context, ophid string) UICSRAPIRevoke2Request
Revoke2 Invalidates a certificate by adding it to a certificate revocation list.
The user can revoke the cert from the cloud (for example, if in case a host is compromised). Validation: - one of "cert_serial" or "ophid" should be provided - "revoke_reason" is optional
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid On-prem host ID which can be obtained either from on-prem or BloxOne UI portal(Manage > Infrastructure > Hosts > Select the onprem > click on 3 dots on top right side > General Information > Ophid) . @return UICSRAPIRevoke2Request
func (*UICSRAPIService) Revoke2Execute ¶
func (a *UICSRAPIService) Revoke2Execute(r UICSRAPIRevoke2Request) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*UICSRAPIService) RevokeExecute ¶
func (a *UICSRAPIService) RevokeExecute(r UICSRAPIRevokeRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type UIJoinTokenAPI ¶
type UIJoinTokenAPI interface { /* Create User can create a join token. Join token is random character string which is used for instant validation of new hosts. Validation: - "name" is required and should be unique. - "description" is optioanl. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPICreateRequest */ Create(ctx context.Context) UIJoinTokenAPICreateRequest // CreateExecute executes the request // @return CreateJoinTokenResponse CreateExecute(r UIJoinTokenAPICreateRequest) (*CreateJoinTokenResponse, *http.Response, error) /* Delete User can revoke the join token. Once revoked, it can not be used further. The join token record is preserved forever. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIDeleteRequest */ Delete(ctx context.Context, id string) UIJoinTokenAPIDeleteRequest // DeleteExecute executes the request DeleteExecute(r UIJoinTokenAPIDeleteRequest) (*http.Response, error) /* DeleteSet User can revoke a list of join tokens. Once revoked, join tokens can not be used further. The records are preserved forever. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPIDeleteSetRequest */ DeleteSet(ctx context.Context) UIJoinTokenAPIDeleteSetRequest // DeleteSetExecute executes the request DeleteSetExecute(r UIJoinTokenAPIDeleteSetRequest) (*http.Response, error) /* List User can list the join tokens for an account. Both active and revoked join tokens are listed by default. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPIListRequest */ List(ctx context.Context) UIJoinTokenAPIListRequest // ListExecute executes the request // @return ListJoinTokenResponse ListExecute(r UIJoinTokenAPIListRequest) (*ListJoinTokenResponse, *http.Response, error) /* Read User can get the join token providing its resource id in the parameter. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIReadRequest */ Read(ctx context.Context, id string) UIJoinTokenAPIReadRequest // ReadExecute executes the request // @return ReadJoinTokenResponse ReadExecute(r UIJoinTokenAPIReadRequest) (*ReadJoinTokenResponse, *http.Response, error) /* Update User can modify the tags or expiration time of a join token. Validation: Following fields is needed. Provide what needs to be - "expires_at" - "tags" @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIUpdateRequest */ Update(ctx context.Context, id string) UIJoinTokenAPIUpdateRequest // UpdateExecute executes the request // @return UpdateJoinTokenResponse UpdateExecute(r UIJoinTokenAPIUpdateRequest) (*UpdateJoinTokenResponse, *http.Response, error) }
type UIJoinTokenAPICreateRequest ¶
type UIJoinTokenAPICreateRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
func (UIJoinTokenAPICreateRequest) Body ¶
func (r UIJoinTokenAPICreateRequest) Body(body JoinToken) UIJoinTokenAPICreateRequest
func (UIJoinTokenAPICreateRequest) Execute ¶
func (r UIJoinTokenAPICreateRequest) Execute() (*CreateJoinTokenResponse, *http.Response, error)
type UIJoinTokenAPIDeleteRequest ¶
type UIJoinTokenAPIDeleteRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
type UIJoinTokenAPIDeleteSetRequest ¶
type UIJoinTokenAPIDeleteSetRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
func (UIJoinTokenAPIDeleteSetRequest) Body ¶
func (r UIJoinTokenAPIDeleteSetRequest) Body(body DeleteJoinTokensRequest) UIJoinTokenAPIDeleteSetRequest
type UIJoinTokenAPIListRequest ¶
type UIJoinTokenAPIListRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
func (UIJoinTokenAPIListRequest) Execute ¶
func (r UIJoinTokenAPIListRequest) Execute() (*ListJoinTokenResponse, *http.Response, error)
func (UIJoinTokenAPIListRequest) Filter ¶
func (r UIJoinTokenAPIListRequest) Filter(filter string) UIJoinTokenAPIListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (UIJoinTokenAPIListRequest) Limit ¶
func (r UIJoinTokenAPIListRequest) Limit(limit int32) UIJoinTokenAPIListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (UIJoinTokenAPIListRequest) Offset ¶
func (r UIJoinTokenAPIListRequest) Offset(offset int32) UIJoinTokenAPIListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (UIJoinTokenAPIListRequest) OrderBy ¶
func (r UIJoinTokenAPIListRequest) OrderBy(orderBy string) UIJoinTokenAPIListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (UIJoinTokenAPIListRequest) PageToken ¶
func (r UIJoinTokenAPIListRequest) PageToken(pageToken string) UIJoinTokenAPIListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (UIJoinTokenAPIListRequest) Tfilter ¶
func (r UIJoinTokenAPIListRequest) Tfilter(tfilter string) UIJoinTokenAPIListRequest
This parameter is used for filtering by tags.
func (UIJoinTokenAPIListRequest) TorderBy ¶
func (r UIJoinTokenAPIListRequest) TorderBy(torderBy string) UIJoinTokenAPIListRequest
This parameter is used for sorting by tags.
type UIJoinTokenAPIReadRequest ¶
type UIJoinTokenAPIReadRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
func (UIJoinTokenAPIReadRequest) Execute ¶
func (r UIJoinTokenAPIReadRequest) Execute() (*ReadJoinTokenResponse, *http.Response, error)
func (UIJoinTokenAPIReadRequest) Fields ¶
func (r UIJoinTokenAPIReadRequest) Fields(fields string) UIJoinTokenAPIReadRequest
A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.
type UIJoinTokenAPIService ¶
UIJoinTokenAPIService UIJoinTokenAPI service
func (*UIJoinTokenAPIService) Create ¶
func (a *UIJoinTokenAPIService) Create(ctx context.Context) UIJoinTokenAPICreateRequest
Create User can create a join token. Join token is random character string which is used for instant validation of new hosts.
Validation: - "name" is required and should be unique. - "description" is optioanl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPICreateRequest
func (*UIJoinTokenAPIService) CreateExecute ¶
func (a *UIJoinTokenAPIService) CreateExecute(r UIJoinTokenAPICreateRequest) (*CreateJoinTokenResponse, *http.Response, error)
Execute executes the request
@return CreateJoinTokenResponse
func (*UIJoinTokenAPIService) Delete ¶
func (a *UIJoinTokenAPIService) Delete(ctx context.Context, id string) UIJoinTokenAPIDeleteRequest
Delete User can revoke the join token. Once revoked, it can not be used further. The join token record is preserved forever.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIDeleteRequest
func (*UIJoinTokenAPIService) DeleteExecute ¶
func (a *UIJoinTokenAPIService) DeleteExecute(r UIJoinTokenAPIDeleteRequest) (*http.Response, error)
Execute executes the request
func (*UIJoinTokenAPIService) DeleteSet ¶
func (a *UIJoinTokenAPIService) DeleteSet(ctx context.Context) UIJoinTokenAPIDeleteSetRequest
DeleteSet User can revoke a list of join tokens. Once revoked, join tokens can not be used further. The records are preserved forever.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPIDeleteSetRequest
func (*UIJoinTokenAPIService) DeleteSetExecute ¶
func (a *UIJoinTokenAPIService) DeleteSetExecute(r UIJoinTokenAPIDeleteSetRequest) (*http.Response, error)
Execute executes the request
func (*UIJoinTokenAPIService) List ¶
func (a *UIJoinTokenAPIService) List(ctx context.Context) UIJoinTokenAPIListRequest
List User can list the join tokens for an account.
Both active and revoked join tokens are listed by default.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UIJoinTokenAPIListRequest
func (*UIJoinTokenAPIService) ListExecute ¶
func (a *UIJoinTokenAPIService) ListExecute(r UIJoinTokenAPIListRequest) (*ListJoinTokenResponse, *http.Response, error)
Execute executes the request
@return ListJoinTokenResponse
func (*UIJoinTokenAPIService) Read ¶
func (a *UIJoinTokenAPIService) Read(ctx context.Context, id string) UIJoinTokenAPIReadRequest
Read User can get the join token providing its resource id in the parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIReadRequest
func (*UIJoinTokenAPIService) ReadExecute ¶
func (a *UIJoinTokenAPIService) ReadExecute(r UIJoinTokenAPIReadRequest) (*ReadJoinTokenResponse, *http.Response, error)
Execute executes the request
@return ReadJoinTokenResponse
func (*UIJoinTokenAPIService) Update ¶
func (a *UIJoinTokenAPIService) Update(ctx context.Context, id string) UIJoinTokenAPIUpdateRequest
Update User can modify the tags or expiration time of a join token.
Validation: Following fields is needed. Provide what needs to be - "expires_at" - "tags"
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return UIJoinTokenAPIUpdateRequest
func (*UIJoinTokenAPIService) UpdateExecute ¶
func (a *UIJoinTokenAPIService) UpdateExecute(r UIJoinTokenAPIUpdateRequest) (*UpdateJoinTokenResponse, *http.Response, error)
Execute executes the request
@return UpdateJoinTokenResponse
type UIJoinTokenAPIUpdateRequest ¶
type UIJoinTokenAPIUpdateRequest struct { ApiService UIJoinTokenAPI // contains filtered or unexported fields }
func (UIJoinTokenAPIUpdateRequest) Body ¶
func (r UIJoinTokenAPIUpdateRequest) Body(body JoinToken) UIJoinTokenAPIUpdateRequest
func (UIJoinTokenAPIUpdateRequest) Execute ¶
func (r UIJoinTokenAPIUpdateRequest) Execute() (*UpdateJoinTokenResponse, *http.Response, error)
type UpdateJoinTokenResponse ¶
type UpdateJoinTokenResponse struct { Result *JoinToken `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
UpdateJoinTokenResponse struct for UpdateJoinTokenResponse
func NewUpdateJoinTokenResponse ¶
func NewUpdateJoinTokenResponse() *UpdateJoinTokenResponse
NewUpdateJoinTokenResponse instantiates a new UpdateJoinTokenResponse 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 NewUpdateJoinTokenResponseWithDefaults ¶
func NewUpdateJoinTokenResponseWithDefaults() *UpdateJoinTokenResponse
NewUpdateJoinTokenResponseWithDefaults instantiates a new UpdateJoinTokenResponse 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 (*UpdateJoinTokenResponse) GetResult ¶
func (o *UpdateJoinTokenResponse) GetResult() JoinToken
GetResult returns the Result field value if set, zero value otherwise.
func (*UpdateJoinTokenResponse) GetResultOk ¶
func (o *UpdateJoinTokenResponse) GetResultOk() (*JoinToken, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateJoinTokenResponse) HasResult ¶
func (o *UpdateJoinTokenResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (UpdateJoinTokenResponse) MarshalJSON ¶
func (o UpdateJoinTokenResponse) MarshalJSON() ([]byte, error)
func (*UpdateJoinTokenResponse) SetResult ¶
func (o *UpdateJoinTokenResponse) SetResult(v JoinToken)
SetResult gets a reference to the given JoinToken and assigns it to the Result field.
func (UpdateJoinTokenResponse) ToMap ¶
func (o UpdateJoinTokenResponse) ToMap() (map[string]interface{}, error)
func (*UpdateJoinTokenResponse) UnmarshalJSON ¶
func (o *UpdateJoinTokenResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_ui_join_token.go
- api_uicsr.go
- client.go
- model_api_page_info.go
- model_approve_csr_request.go
- model_create_join_token_response.go
- model_csr.go
- model_csr_state.go
- model_delete_join_tokens_request.go
- model_deny_csr_request.go
- model_join_token.go
- model_join_token_join_token_status.go
- model_list_csrs_response.go
- model_list_join_token_response.go
- model_read_join_token_response.go
- model_revoke_cert_request.go
- model_types_inet_value.go
- model_types_json_value.go
- model_update_join_token_response.go
- utils.go