Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated by robots at 2022-12-05 15:23:39.544967 -0500 EST m=+0.015186179
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func Document() string
- 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 APIKey
- type APIResponse
- type AccountRole
- func (o *AccountRole) GetForAccount() string
- func (o *AccountRole) GetForAccountOk() (*string, bool)
- func (o *AccountRole) GetRoles() Role
- func (o *AccountRole) GetRolesOk() (*Role, bool)
- func (o *AccountRole) HasForAccount() bool
- func (o *AccountRole) HasRoles() bool
- func (o AccountRole) MarshalJSON() ([]byte, error)
- func (o *AccountRole) SetForAccount(v string)
- func (o *AccountRole) SetRoles(v Role)
- type ApiAddIdpRequest
- type ApiAddRoleUserRequest
- type ApiDeleteIdpRequest
- type ApiDeleteRoleUserRequest
- type ApiErrorResponse
- func (o *ApiErrorResponse) GetCode() int32
- func (o *ApiErrorResponse) GetCodeOk() (*int32, bool)
- func (o *ApiErrorResponse) GetDetail() interface{}
- func (o *ApiErrorResponse) GetDetailOk() (*interface{}, bool)
- func (o *ApiErrorResponse) GetErrorType() string
- func (o *ApiErrorResponse) GetErrorTypeOk() (*string, bool)
- func (o *ApiErrorResponse) GetMessage() string
- func (o *ApiErrorResponse) GetMessageOk() (*string, bool)
- func (o *ApiErrorResponse) HasCode() bool
- func (o *ApiErrorResponse) HasDetail() bool
- func (o *ApiErrorResponse) HasErrorType() bool
- func (o *ApiErrorResponse) HasMessage() bool
- func (o ApiErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ApiErrorResponse) SetCode(v int32)
- func (o *ApiErrorResponse) SetDetail(v interface{})
- func (o *ApiErrorResponse) SetErrorType(v string)
- func (o *ApiErrorResponse) SetMessage(v string)
- type ApiGetIdpRequest
- type ApiGetRoleRequest
- type ApiGetStatusRequest
- type ApiHealthCheckRequest
- type ApiListIdpsRequest
- type ApiListRoleMembersRequest
- type ApiListRolesRequest
- type ApiListUserRolesRequest
- type ApiMyRolesRequest
- type ApiSamlLoginRequest
- type ApiSamlSsoRequest
- type ApiUpdateIdpRequest
- type ApiVersionCheckRequest
- type BasicAuth
- type Configuration
- type DefaultApi
- type DefaultApiService
- func (a *DefaultApiService) AddIdp(ctx _context.Context) ApiAddIdpRequest
- func (a *DefaultApiService) AddIdpExecute(r ApiAddIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
- func (a *DefaultApiService) AddRoleUser(ctx _context.Context, rolename string) ApiAddRoleUserRequest
- func (a *DefaultApiService) AddRoleUserExecute(r ApiAddRoleUserRequest) (RoleMember, *_nethttp.Response, error)
- func (a *DefaultApiService) DeleteIdp(ctx _context.Context, name string) ApiDeleteIdpRequest
- func (a *DefaultApiService) DeleteIdpExecute(r ApiDeleteIdpRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) DeleteRoleUser(ctx _context.Context, rolename string) ApiDeleteRoleUserRequest
- func (a *DefaultApiService) DeleteRoleUserExecute(r ApiDeleteRoleUserRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) GetIdp(ctx _context.Context, name string) ApiGetIdpRequest
- func (a *DefaultApiService) GetIdpExecute(r ApiGetIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
- func (a *DefaultApiService) GetRole(ctx _context.Context, rolename string) ApiGetRoleRequest
- func (a *DefaultApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Response, error)
- func (a *DefaultApiService) GetStatus(ctx _context.Context) ApiGetStatusRequest
- func (a *DefaultApiService) GetStatusExecute(r ApiGetStatusRequest) (StatusResponse, *_nethttp.Response, error)
- func (a *DefaultApiService) HealthCheck(ctx _context.Context) ApiHealthCheckRequest
- func (a *DefaultApiService) HealthCheckExecute(r ApiHealthCheckRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) ListIdps(ctx _context.Context) ApiListIdpsRequest
- func (a *DefaultApiService) ListIdpsExecute(r ApiListIdpsRequest) ([]string, *_nethttp.Response, error)
- func (a *DefaultApiService) ListRoleMembers(ctx _context.Context, rolename string) ApiListRoleMembersRequest
- func (a *DefaultApiService) ListRoleMembersExecute(r ApiListRoleMembersRequest) ([]RoleMember, *_nethttp.Response, error)
- func (a *DefaultApiService) ListRoles(ctx _context.Context) ApiListRolesRequest
- func (a *DefaultApiService) ListRolesExecute(r ApiListRolesRequest) ([]RoleSummary, *_nethttp.Response, error)
- func (a *DefaultApiService) ListUserRoles(ctx _context.Context, username string) ApiListUserRolesRequest
- func (a *DefaultApiService) ListUserRolesExecute(r ApiListUserRolesRequest) ([]RoleMembership, *_nethttp.Response, error)
- func (a *DefaultApiService) MyRoles(ctx _context.Context) ApiMyRolesRequest
- func (a *DefaultApiService) MyRolesExecute(r ApiMyRolesRequest) ([]AccountRole, *_nethttp.Response, error)
- func (a *DefaultApiService) SamlLogin(ctx _context.Context, idpName string) ApiSamlLoginRequest
- func (a *DefaultApiService) SamlLoginExecute(r ApiSamlLoginRequest) (TokenResponse, *_nethttp.Response, error)
- func (a *DefaultApiService) SamlSso(ctx _context.Context, idpName string) ApiSamlSsoRequest
- func (a *DefaultApiService) SamlSsoExecute(r ApiSamlSsoRequest) (TokenResponse, *_nethttp.Response, error)
- func (a *DefaultApiService) UpdateIdp(ctx _context.Context, name string) ApiUpdateIdpRequest
- func (a *DefaultApiService) UpdateIdpExecute(r ApiUpdateIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
- func (a *DefaultApiService) VersionCheck(ctx _context.Context) ApiVersionCheckRequest
- func (a *DefaultApiService) VersionCheckExecute(r ApiVersionCheckRequest) (ServiceVersion, *_nethttp.Response, error)
- type GenericOpenAPIError
- type NullableAccountRole
- func (v NullableAccountRole) Get() *AccountRole
- func (v NullableAccountRole) IsSet() bool
- func (v NullableAccountRole) MarshalJSON() ([]byte, error)
- func (v *NullableAccountRole) Set(val *AccountRole)
- func (v *NullableAccountRole) UnmarshalJSON(src []byte) error
- func (v *NullableAccountRole) Unset()
- type NullableApiErrorResponse
- func (v NullableApiErrorResponse) Get() *ApiErrorResponse
- func (v NullableApiErrorResponse) IsSet() bool
- func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
- func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorResponse) Unset()
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePermission
- type NullableRole
- type NullableRoleMember
- type NullableRoleMembership
- func (v NullableRoleMembership) Get() *RoleMembership
- func (v NullableRoleMembership) IsSet() bool
- func (v NullableRoleMembership) MarshalJSON() ([]byte, error)
- func (v *NullableRoleMembership) Set(val *RoleMembership)
- func (v *NullableRoleMembership) UnmarshalJSON(src []byte) error
- func (v *NullableRoleMembership) Unset()
- type NullableRoleSummary
- func (v NullableRoleSummary) Get() *RoleSummary
- func (v NullableRoleSummary) IsSet() bool
- func (v NullableRoleSummary) MarshalJSON() ([]byte, error)
- func (v *NullableRoleSummary) Set(val *RoleSummary)
- func (v *NullableRoleSummary) UnmarshalJSON(src []byte) error
- func (v *NullableRoleSummary) Unset()
- type NullableSamlConfiguration
- func (v NullableSamlConfiguration) Get() *SamlConfiguration
- func (v NullableSamlConfiguration) IsSet() bool
- func (v NullableSamlConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableSamlConfiguration) Set(val *SamlConfiguration)
- func (v *NullableSamlConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableSamlConfiguration) Unset()
- type NullableServiceVersion
- func (v NullableServiceVersion) Get() *ServiceVersion
- func (v NullableServiceVersion) IsSet() bool
- func (v NullableServiceVersion) MarshalJSON() ([]byte, error)
- func (v *NullableServiceVersion) Set(val *ServiceVersion)
- func (v *NullableServiceVersion) UnmarshalJSON(src []byte) error
- func (v *NullableServiceVersion) Unset()
- type NullableServiceVersionApi
- func (v NullableServiceVersionApi) Get() *ServiceVersionApi
- func (v NullableServiceVersionApi) IsSet() bool
- func (v NullableServiceVersionApi) MarshalJSON() ([]byte, error)
- func (v *NullableServiceVersionApi) Set(val *ServiceVersionApi)
- func (v *NullableServiceVersionApi) UnmarshalJSON(src []byte) error
- func (v *NullableServiceVersionApi) Unset()
- type NullableServiceVersionDb
- func (v NullableServiceVersionDb) Get() *ServiceVersionDb
- func (v NullableServiceVersionDb) IsSet() bool
- func (v NullableServiceVersionDb) MarshalJSON() ([]byte, error)
- func (v *NullableServiceVersionDb) Set(val *ServiceVersionDb)
- func (v *NullableServiceVersionDb) UnmarshalJSON(src []byte) error
- func (v *NullableServiceVersionDb) Unset()
- type NullableServiceVersionEngine
- func (v NullableServiceVersionEngine) Get() *ServiceVersionEngine
- func (v NullableServiceVersionEngine) IsSet() bool
- func (v NullableServiceVersionEngine) MarshalJSON() ([]byte, error)
- func (v *NullableServiceVersionEngine) Set(val *ServiceVersionEngine)
- func (v *NullableServiceVersionEngine) UnmarshalJSON(src []byte) error
- func (v *NullableServiceVersionEngine) Unset()
- type NullableServiceVersionService
- func (v NullableServiceVersionService) Get() *ServiceVersionService
- func (v NullableServiceVersionService) IsSet() bool
- func (v NullableServiceVersionService) MarshalJSON() ([]byte, error)
- func (v *NullableServiceVersionService) Set(val *ServiceVersionService)
- func (v *NullableServiceVersionService) UnmarshalJSON(src []byte) error
- func (v *NullableServiceVersionService) Unset()
- type NullableStatusResponse
- func (v NullableStatusResponse) Get() *StatusResponse
- func (v NullableStatusResponse) IsSet() bool
- func (v NullableStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStatusResponse) Set(val *StatusResponse)
- func (v *NullableStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStatusResponse) Unset()
- type NullableString
- type NullableTime
- type NullableTokenResponse
- func (v NullableTokenResponse) Get() *TokenResponse
- func (v NullableTokenResponse) IsSet() bool
- func (v NullableTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenResponse) Set(val *TokenResponse)
- func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenResponse) Unset()
- type Permission
- func (o *Permission) GetAction() string
- func (o *Permission) GetActionOk() (*string, bool)
- func (o *Permission) GetTarget() string
- func (o *Permission) GetTargetOk() (*string, bool)
- func (o *Permission) HasAction() bool
- func (o *Permission) HasTarget() bool
- func (o Permission) MarshalJSON() ([]byte, error)
- func (o *Permission) SetAction(v string)
- func (o *Permission) SetTarget(v string)
- type Role
- func (o *Role) GetCreatedAt() time.Time
- func (o *Role) GetCreatedAtOk() (*time.Time, bool)
- func (o *Role) GetDescription() string
- func (o *Role) GetDescriptionOk() (*string, bool)
- func (o *Role) GetImmutable() bool
- func (o *Role) GetImmutableOk() (*bool, bool)
- func (o *Role) GetLastUpdated() time.Time
- func (o *Role) GetLastUpdatedOk() (*time.Time, bool)
- func (o *Role) GetName() string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetPermissions() []Permission
- func (o *Role) GetPermissionsOk() (*[]Permission, bool)
- func (o *Role) HasCreatedAt() bool
- func (o *Role) HasDescription() bool
- func (o *Role) HasImmutable() bool
- func (o *Role) HasLastUpdated() bool
- func (o *Role) HasPermissions() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetCreatedAt(v time.Time)
- func (o *Role) SetDescription(v string)
- func (o *Role) SetImmutable(v bool)
- func (o *Role) SetLastUpdated(v time.Time)
- func (o *Role) SetName(v string)
- func (o *Role) SetPermissions(v []Permission)
- type RoleMember
- func (o *RoleMember) GetCreatedAt() time.Time
- func (o *RoleMember) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleMember) GetForAccount() string
- func (o *RoleMember) GetForAccountOk() (*string, bool)
- func (o *RoleMember) GetUsername() string
- func (o *RoleMember) GetUsernameOk() (*string, bool)
- func (o *RoleMember) HasCreatedAt() bool
- func (o RoleMember) MarshalJSON() ([]byte, error)
- func (o *RoleMember) SetCreatedAt(v time.Time)
- func (o *RoleMember) SetForAccount(v string)
- func (o *RoleMember) SetUsername(v string)
- type RoleMembership
- func (o *RoleMembership) GetCreatedAt() time.Time
- func (o *RoleMembership) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleMembership) GetForAccount() []string
- func (o *RoleMembership) GetForAccountOk() (*[]string, bool)
- func (o *RoleMembership) GetRole() string
- func (o *RoleMembership) GetRoleOk() (*string, bool)
- func (o *RoleMembership) HasCreatedAt() bool
- func (o *RoleMembership) HasForAccount() bool
- func (o *RoleMembership) HasRole() bool
- func (o RoleMembership) MarshalJSON() ([]byte, error)
- func (o *RoleMembership) SetCreatedAt(v time.Time)
- func (o *RoleMembership) SetForAccount(v []string)
- func (o *RoleMembership) SetRole(v string)
- type RoleSummary
- func (o *RoleSummary) GetCreatedAt() time.Time
- func (o *RoleSummary) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleSummary) GetDescription() string
- func (o *RoleSummary) GetDescriptionOk() (*string, bool)
- func (o *RoleSummary) GetName() string
- func (o *RoleSummary) GetNameOk() (*string, bool)
- func (o *RoleSummary) HasCreatedAt() bool
- func (o *RoleSummary) HasDescription() bool
- func (o *RoleSummary) HasName() bool
- func (o RoleSummary) MarshalJSON() ([]byte, error)
- func (o *RoleSummary) SetCreatedAt(v time.Time)
- func (o *RoleSummary) SetDescription(v string)
- func (o *RoleSummary) SetName(v string)
- type SamlConfiguration
- func (o *SamlConfiguration) GetAcsHttpsPort() int32
- func (o *SamlConfiguration) GetAcsHttpsPortOk() (*int32, bool)
- func (o *SamlConfiguration) GetAcsUrl() string
- func (o *SamlConfiguration) GetAcsUrlOk() (*string, bool)
- func (o *SamlConfiguration) GetCreatedAt() time.Time
- func (o *SamlConfiguration) GetCreatedAtOk() (*time.Time, bool)
- func (o *SamlConfiguration) GetDefaultAccount() string
- func (o *SamlConfiguration) GetDefaultAccountOk() (*string, bool)
- func (o *SamlConfiguration) GetDefaultRole() string
- func (o *SamlConfiguration) GetDefaultRoleOk() (*string, bool)
- func (o *SamlConfiguration) GetEnabled() bool
- func (o *SamlConfiguration) GetEnabledOk() (*bool, bool)
- func (o *SamlConfiguration) GetIdpAccountAttribute() string
- func (o *SamlConfiguration) GetIdpAccountAttributeOk() (*string, bool)
- func (o *SamlConfiguration) GetIdpMetadataUrl() string
- func (o *SamlConfiguration) GetIdpMetadataUrlOk() (*string, bool)
- func (o *SamlConfiguration) GetIdpMetadataXml() string
- func (o *SamlConfiguration) GetIdpMetadataXmlOk() (*string, bool)
- func (o *SamlConfiguration) GetIdpRoleAttribute() string
- func (o *SamlConfiguration) GetIdpRoleAttributeOk() (*string, bool)
- func (o *SamlConfiguration) GetIdpUsernameAttribute() string
- func (o *SamlConfiguration) GetIdpUsernameAttributeOk() (*string, bool)
- func (o *SamlConfiguration) GetLastUpdated() time.Time
- func (o *SamlConfiguration) GetLastUpdatedOk() (*time.Time, bool)
- func (o *SamlConfiguration) GetName() string
- func (o *SamlConfiguration) GetNameOk() (*string, bool)
- func (o *SamlConfiguration) GetRequireExistingUsers() bool
- func (o *SamlConfiguration) GetRequireExistingUsersOk() (*bool, bool)
- func (o *SamlConfiguration) GetRequireSignedAssertions() bool
- func (o *SamlConfiguration) GetRequireSignedAssertionsOk() (*bool, bool)
- func (o *SamlConfiguration) GetRequireSignedResponse() bool
- func (o *SamlConfiguration) GetRequireSignedResponseOk() (*bool, bool)
- func (o *SamlConfiguration) GetSpEntityId() string
- func (o *SamlConfiguration) GetSpEntityIdOk() (*string, bool)
- func (o *SamlConfiguration) HasAcsHttpsPort() bool
- func (o *SamlConfiguration) HasCreatedAt() bool
- func (o *SamlConfiguration) HasDefaultAccount() bool
- func (o *SamlConfiguration) HasDefaultRole() bool
- func (o *SamlConfiguration) HasIdpAccountAttribute() bool
- func (o *SamlConfiguration) HasIdpMetadataUrl() bool
- func (o *SamlConfiguration) HasIdpMetadataXml() bool
- func (o *SamlConfiguration) HasIdpRoleAttribute() bool
- func (o *SamlConfiguration) HasIdpUsernameAttribute() bool
- func (o *SamlConfiguration) HasLastUpdated() bool
- func (o *SamlConfiguration) HasRequireExistingUsers() bool
- func (o *SamlConfiguration) HasRequireSignedAssertions() bool
- func (o *SamlConfiguration) HasRequireSignedResponse() bool
- func (o SamlConfiguration) MarshalJSON() ([]byte, error)
- func (o *SamlConfiguration) SetAcsHttpsPort(v int32)
- func (o *SamlConfiguration) SetAcsUrl(v string)
- func (o *SamlConfiguration) SetCreatedAt(v time.Time)
- func (o *SamlConfiguration) SetDefaultAccount(v string)
- func (o *SamlConfiguration) SetDefaultRole(v string)
- func (o *SamlConfiguration) SetEnabled(v bool)
- func (o *SamlConfiguration) SetIdpAccountAttribute(v string)
- func (o *SamlConfiguration) SetIdpMetadataUrl(v string)
- func (o *SamlConfiguration) SetIdpMetadataXml(v string)
- func (o *SamlConfiguration) SetIdpRoleAttribute(v string)
- func (o *SamlConfiguration) SetIdpUsernameAttribute(v string)
- func (o *SamlConfiguration) SetLastUpdated(v time.Time)
- func (o *SamlConfiguration) SetName(v string)
- func (o *SamlConfiguration) SetRequireExistingUsers(v bool)
- func (o *SamlConfiguration) SetRequireSignedAssertions(v bool)
- func (o *SamlConfiguration) SetRequireSignedResponse(v bool)
- func (o *SamlConfiguration) SetSpEntityId(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceVersion
- func (o *ServiceVersion) GetApi() ServiceVersionApi
- func (o *ServiceVersion) GetApiOk() (*ServiceVersionApi, bool)
- func (o *ServiceVersion) GetDb() ServiceVersionDb
- func (o *ServiceVersion) GetDbOk() (*ServiceVersionDb, bool)
- func (o *ServiceVersion) GetEngine() ServiceVersionEngine
- func (o *ServiceVersion) GetEngineOk() (*ServiceVersionEngine, bool)
- func (o *ServiceVersion) GetService() ServiceVersionService
- func (o *ServiceVersion) GetServiceOk() (*ServiceVersionService, bool)
- func (o *ServiceVersion) HasApi() bool
- func (o *ServiceVersion) HasDb() bool
- func (o *ServiceVersion) HasEngine() bool
- func (o *ServiceVersion) HasService() bool
- func (o ServiceVersion) MarshalJSON() ([]byte, error)
- func (o *ServiceVersion) SetApi(v ServiceVersionApi)
- func (o *ServiceVersion) SetDb(v ServiceVersionDb)
- func (o *ServiceVersion) SetEngine(v ServiceVersionEngine)
- func (o *ServiceVersion) SetService(v ServiceVersionService)
- type ServiceVersionApi
- type ServiceVersionDb
- type ServiceVersionEngine
- func (o *ServiceVersionEngine) GetDb() string
- func (o *ServiceVersionEngine) GetDbOk() (*string, bool)
- func (o *ServiceVersionEngine) GetVersion() string
- func (o *ServiceVersionEngine) GetVersionOk() (*string, bool)
- func (o *ServiceVersionEngine) HasDb() bool
- func (o *ServiceVersionEngine) HasVersion() bool
- func (o ServiceVersionEngine) MarshalJSON() ([]byte, error)
- func (o *ServiceVersionEngine) SetDb(v string)
- func (o *ServiceVersionEngine) SetVersion(v string)
- type ServiceVersionService
- type StatusResponse
- func (o *StatusResponse) GetBusy() bool
- func (o *StatusResponse) GetBusyOk() (*bool, bool)
- func (o *StatusResponse) GetMessage() string
- func (o *StatusResponse) GetMessageOk() (*string, bool)
- func (o *StatusResponse) GetUp() bool
- func (o *StatusResponse) GetUpOk() (*bool, bool)
- func (o *StatusResponse) HasBusy() bool
- func (o *StatusResponse) HasMessage() bool
- func (o *StatusResponse) HasUp() bool
- func (o StatusResponse) MarshalJSON() ([]byte, error)
- func (o *StatusResponse) SetBusy(v bool)
- func (o *StatusResponse) SetMessage(v string)
- func (o *StatusResponse) SetUp(v bool)
- type TokenResponse
Constants ¶
const ServerBaseURL = "/"
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
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 { DefaultApi DefaultApi // contains filtered or unexported fields }
APIClient manages communication with the Anchore Enterprise RBAC API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccountRole ¶
type AccountRole struct { // The account scope that applies to the set of roles ForAccount *string `json:"for_account,omitempty"` Roles *Role `json:"roles,omitempty"` }
AccountRole An account identifier and roles a user has within that account
func NewAccountRole ¶
func NewAccountRole() *AccountRole
NewAccountRole instantiates a new AccountRole 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 NewAccountRoleWithDefaults ¶
func NewAccountRoleWithDefaults() *AccountRole
NewAccountRoleWithDefaults instantiates a new AccountRole 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 (*AccountRole) GetForAccount ¶
func (o *AccountRole) GetForAccount() string
GetForAccount returns the ForAccount field value if set, zero value otherwise.
func (*AccountRole) GetForAccountOk ¶
func (o *AccountRole) GetForAccountOk() (*string, bool)
GetForAccountOk returns a tuple with the ForAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountRole) GetRoles ¶
func (o *AccountRole) GetRoles() Role
GetRoles returns the Roles field value if set, zero value otherwise.
func (*AccountRole) GetRolesOk ¶
func (o *AccountRole) GetRolesOk() (*Role, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountRole) HasForAccount ¶
func (o *AccountRole) HasForAccount() bool
HasForAccount returns a boolean if a field has been set.
func (*AccountRole) HasRoles ¶
func (o *AccountRole) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (AccountRole) MarshalJSON ¶
func (o AccountRole) MarshalJSON() ([]byte, error)
func (*AccountRole) SetForAccount ¶
func (o *AccountRole) SetForAccount(v string)
SetForAccount gets a reference to the given string and assigns it to the ForAccount field.
func (*AccountRole) SetRoles ¶
func (o *AccountRole) SetRoles(v Role)
SetRoles gets a reference to the given Role and assigns it to the Roles field.
type ApiAddIdpRequest ¶
type ApiAddIdpRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiAddIdpRequest) Configuration ¶
func (r ApiAddIdpRequest) Configuration(configuration SamlConfiguration) ApiAddIdpRequest
func (ApiAddIdpRequest) Execute ¶
func (r ApiAddIdpRequest) Execute() (SamlConfiguration, *_nethttp.Response, error)
type ApiAddRoleUserRequest ¶
type ApiAddRoleUserRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiAddRoleUserRequest) Execute ¶
func (r ApiAddRoleUserRequest) Execute() (RoleMember, *_nethttp.Response, error)
func (ApiAddRoleUserRequest) Member ¶
func (r ApiAddRoleUserRequest) Member(member RoleMember) ApiAddRoleUserRequest
type ApiDeleteIdpRequest ¶
type ApiDeleteIdpRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
type ApiDeleteRoleUserRequest ¶
type ApiDeleteRoleUserRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiDeleteRoleUserRequest) Execute ¶
func (r ApiDeleteRoleUserRequest) Execute() (*_nethttp.Response, error)
func (ApiDeleteRoleUserRequest) ForAccount ¶
func (r ApiDeleteRoleUserRequest) ForAccount(forAccount string) ApiDeleteRoleUserRequest
The account that the user has the role to be removed
func (ApiDeleteRoleUserRequest) Username ¶
func (r ApiDeleteRoleUserRequest) Username(username string) ApiDeleteRoleUserRequest
The username to remove the role for
type ApiErrorResponse ¶
type ApiErrorResponse struct { Code *int32 `json:"code,omitempty"` ErrorType *string `json:"error_type,omitempty"` Message *string `json:"message,omitempty"` // Details structure for additional information about the error if available. Content and structure will be error specific. Detail *interface{} `json:"detail,omitempty"` }
ApiErrorResponse Generic HTTP API error response
func NewApiErrorResponse ¶
func NewApiErrorResponse() *ApiErrorResponse
NewApiErrorResponse instantiates a new ApiErrorResponse 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 NewApiErrorResponseWithDefaults ¶
func NewApiErrorResponseWithDefaults() *ApiErrorResponse
NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse 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 (*ApiErrorResponse) GetCode ¶
func (o *ApiErrorResponse) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*ApiErrorResponse) GetCodeOk ¶
func (o *ApiErrorResponse) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiErrorResponse) GetDetail ¶
func (o *ApiErrorResponse) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ApiErrorResponse) GetDetailOk ¶
func (o *ApiErrorResponse) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiErrorResponse) GetErrorType ¶
func (o *ApiErrorResponse) GetErrorType() string
GetErrorType returns the ErrorType field value if set, zero value otherwise.
func (*ApiErrorResponse) GetErrorTypeOk ¶
func (o *ApiErrorResponse) GetErrorTypeOk() (*string, bool)
GetErrorTypeOk returns a tuple with the ErrorType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiErrorResponse) GetMessage ¶
func (o *ApiErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ApiErrorResponse) GetMessageOk ¶
func (o *ApiErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiErrorResponse) HasCode ¶
func (o *ApiErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ApiErrorResponse) HasDetail ¶
func (o *ApiErrorResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ApiErrorResponse) HasErrorType ¶
func (o *ApiErrorResponse) HasErrorType() bool
HasErrorType returns a boolean if a field has been set.
func (*ApiErrorResponse) HasMessage ¶
func (o *ApiErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ApiErrorResponse) MarshalJSON ¶
func (o ApiErrorResponse) MarshalJSON() ([]byte, error)
func (*ApiErrorResponse) SetCode ¶
func (o *ApiErrorResponse) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*ApiErrorResponse) SetDetail ¶
func (o *ApiErrorResponse) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*ApiErrorResponse) SetErrorType ¶
func (o *ApiErrorResponse) SetErrorType(v string)
SetErrorType gets a reference to the given string and assigns it to the ErrorType field.
func (*ApiErrorResponse) SetMessage ¶
func (o *ApiErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type ApiGetIdpRequest ¶
type ApiGetIdpRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiGetIdpRequest) Execute ¶
func (r ApiGetIdpRequest) Execute() (SamlConfiguration, *_nethttp.Response, error)
type ApiGetRoleRequest ¶
type ApiGetRoleRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
type ApiGetStatusRequest ¶
type ApiGetStatusRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiGetStatusRequest) Execute ¶
func (r ApiGetStatusRequest) Execute() (StatusResponse, *_nethttp.Response, error)
type ApiHealthCheckRequest ¶
type ApiHealthCheckRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
type ApiListIdpsRequest ¶
type ApiListIdpsRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
type ApiListRoleMembersRequest ¶
type ApiListRoleMembersRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiListRoleMembersRequest) Execute ¶
func (r ApiListRoleMembersRequest) Execute() ([]RoleMember, *_nethttp.Response, error)
func (ApiListRoleMembersRequest) ForAccount ¶
func (r ApiListRoleMembersRequest) ForAccount(forAccount string) ApiListRoleMembersRequest
Optional filter parameter to limit the set fo returned items to only those with matching account. Will return Access Denied if caller does not have permission to listRoleMembers for that account.
type ApiListRolesRequest ¶
type ApiListRolesRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() ([]RoleSummary, *_nethttp.Response, error)
type ApiListUserRolesRequest ¶
type ApiListUserRolesRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiListUserRolesRequest) Execute ¶
func (r ApiListUserRolesRequest) Execute() ([]RoleMembership, *_nethttp.Response, error)
func (ApiListUserRolesRequest) ForAccount ¶
func (r ApiListUserRolesRequest) ForAccount(forAccount string) ApiListUserRolesRequest
func (ApiListUserRolesRequest) Role ¶
func (r ApiListUserRolesRequest) Role(role string) ApiListUserRolesRequest
type ApiMyRolesRequest ¶
type ApiMyRolesRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiMyRolesRequest) Execute ¶
func (r ApiMyRolesRequest) Execute() ([]AccountRole, *_nethttp.Response, error)
type ApiSamlLoginRequest ¶
type ApiSamlLoginRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiSamlLoginRequest) Execute ¶
func (r ApiSamlLoginRequest) Execute() (TokenResponse, *_nethttp.Response, error)
type ApiSamlSsoRequest ¶
type ApiSamlSsoRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiSamlSsoRequest) Execute ¶
func (r ApiSamlSsoRequest) Execute() (TokenResponse, *_nethttp.Response, error)
type ApiUpdateIdpRequest ¶
type ApiUpdateIdpRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiUpdateIdpRequest) Configuration ¶
func (r ApiUpdateIdpRequest) Configuration(configuration SamlConfiguration) ApiUpdateIdpRequest
func (ApiUpdateIdpRequest) Execute ¶
func (r ApiUpdateIdpRequest) Execute() (SamlConfiguration, *_nethttp.Response, error)
type ApiVersionCheckRequest ¶
type ApiVersionCheckRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiVersionCheckRequest) Execute ¶
func (r ApiVersionCheckRequest) Execute() (ServiceVersion, *_nethttp.Response, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client Logger logger.Logger }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultApi ¶
type DefaultApi interface { /* AddIdp Method for AddIdp Add a new Identity Provider to the system, with a specific name @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAddIdpRequest */ AddIdp(ctx _context.Context) ApiAddIdpRequest // AddIdpExecute executes the request // @return SamlConfiguration AddIdpExecute(r ApiAddIdpRequest) (SamlConfiguration, *_nethttp.Response, error) /* AddRoleUser Add a user to the role @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiAddRoleUserRequest */ AddRoleUser(ctx _context.Context, rolename string) ApiAddRoleUserRequest // AddRoleUserExecute executes the request // @return RoleMember AddRoleUserExecute(r ApiAddRoleUserRequest) (RoleMember, *_nethttp.Response, error) /* DeleteIdp Method for DeleteIdp Delete an idp configuration. Users will not longer be able to login from this idp. In addition, any users that have been configured explicitly or JIT Provisioned on this IDP will be deleted. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiDeleteIdpRequest */ DeleteIdp(ctx _context.Context, name string) ApiDeleteIdpRequest // DeleteIdpExecute executes the request DeleteIdpExecute(r ApiDeleteIdpRequest) (*_nethttp.Response, error) /* DeleteRoleUser Remove a user from the role @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiDeleteRoleUserRequest */ DeleteRoleUser(ctx _context.Context, rolename string) ApiDeleteRoleUserRequest // DeleteRoleUserExecute executes the request DeleteRoleUserExecute(r ApiDeleteRoleUserRequest) (*_nethttp.Response, error) /* GetIdp Method for GetIdp Return the configuration for a named Identity Provider @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiGetIdpRequest */ GetIdp(ctx _context.Context, name string) ApiGetIdpRequest // GetIdpExecute executes the request // @return SamlConfiguration GetIdpExecute(r ApiGetIdpRequest) (SamlConfiguration, *_nethttp.Response, error) /* GetRole Get detailed information about a specific role @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiGetRoleRequest */ GetRole(ctx _context.Context, rolename string) ApiGetRoleRequest // GetRoleExecute executes the request // @return Role GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Response, error) /* GetStatus Service status Get the API service status @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetStatusRequest */ GetStatus(ctx _context.Context) ApiGetStatusRequest // GetStatusExecute executes the request // @return StatusResponse GetStatusExecute(r ApiGetStatusRequest) (StatusResponse, *_nethttp.Response, error) /* HealthCheck Method for HealthCheck Health check, returns 200 and no body if service is running @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthCheckRequest */ HealthCheck(ctx _context.Context) ApiHealthCheckRequest // HealthCheckExecute executes the request HealthCheckExecute(r ApiHealthCheckRequest) (*_nethttp.Response, error) /* ListIdps Method for ListIdps List the names of configured Identity Providers for this anchore installation @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListIdpsRequest */ ListIdps(ctx _context.Context) ApiListIdpsRequest // ListIdpsExecute executes the request // @return []string ListIdpsExecute(r ApiListIdpsRequest) ([]string, *_nethttp.Response, error) /* ListRoleMembers Returns a list of objects that have members in the role. The list is filtered by 'listRoleMembers' access for the 'account' element of each entry. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiListRoleMembersRequest */ ListRoleMembers(ctx _context.Context, rolename string) ApiListRoleMembersRequest // ListRoleMembersExecute executes the request // @return []RoleMember ListRoleMembersExecute(r ApiListRoleMembersRequest) ([]RoleMember, *_nethttp.Response, error) /* ListRoles List roles available in the system @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRolesRequest */ ListRoles(ctx _context.Context) ApiListRolesRequest // ListRolesExecute executes the request // @return []RoleSummary ListRolesExecute(r ApiListRolesRequest) ([]RoleSummary, *_nethttp.Response, error) /* ListUserRoles List the roles for which the requested user is a member @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiListUserRolesRequest */ ListUserRoles(ctx _context.Context, username string) ApiListUserRolesRequest // ListUserRolesExecute executes the request // @return []RoleMembership ListUserRolesExecute(r ApiListUserRolesRequest) ([]RoleMembership, *_nethttp.Response, error) /* MyRoles List the roles for which the authenticated user is a member @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiMyRolesRequest */ MyRoles(ctx _context.Context) ApiMyRolesRequest // MyRolesExecute executes the request // @return []AccountRole MyRolesExecute(r ApiMyRolesRequest) ([]AccountRole, *_nethttp.Response, error) /* SamlLogin Method for SamlLogin Initiate an SP-initiated login sequence for the Idp. The SP will respond with the SAML AuthN Request the client must send to the Idp URL @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param idpName @return ApiSamlLoginRequest */ SamlLogin(ctx _context.Context, idpName string) ApiSamlLoginRequest // SamlLoginExecute executes the request // @return TokenResponse SamlLoginExecute(r ApiSamlLoginRequest) (TokenResponse, *_nethttp.Response, error) /* SamlSso Method for SamlSso Perform a login using a SAML assertion, no HTTP auth is required as the SAML assertion is considered the authenticating token @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param idpName @return ApiSamlSsoRequest */ SamlSso(ctx _context.Context, idpName string) ApiSamlSsoRequest // SamlSsoExecute executes the request // @return TokenResponse SamlSsoExecute(r ApiSamlSsoRequest) (TokenResponse, *_nethttp.Response, error) /* UpdateIdp Method for UpdateIdp Update an existing Identity Provider configuration @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiUpdateIdpRequest */ UpdateIdp(ctx _context.Context, name string) ApiUpdateIdpRequest // UpdateIdpExecute executes the request // @return SamlConfiguration UpdateIdpExecute(r ApiUpdateIdpRequest) (SamlConfiguration, *_nethttp.Response, error) /* VersionCheck Method for VersionCheck Returns the version object for the service, including db schema version info @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionCheckRequest */ VersionCheck(ctx _context.Context) ApiVersionCheckRequest // VersionCheckExecute executes the request // @return ServiceVersion VersionCheckExecute(r ApiVersionCheckRequest) (ServiceVersion, *_nethttp.Response, error) }
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) AddIdp ¶
func (a *DefaultApiService) AddIdp(ctx _context.Context) ApiAddIdpRequest
AddIdp Method for AddIdp
Add a new Identity Provider to the system, with a specific name
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAddIdpRequest
func (*DefaultApiService) AddIdpExecute ¶
func (a *DefaultApiService) AddIdpExecute(r ApiAddIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
Execute executes the request
@return SamlConfiguration
func (*DefaultApiService) AddRoleUser ¶
func (a *DefaultApiService) AddRoleUser(ctx _context.Context, rolename string) ApiAddRoleUserRequest
AddRoleUser Add a user to the role
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiAddRoleUserRequest
func (*DefaultApiService) AddRoleUserExecute ¶
func (a *DefaultApiService) AddRoleUserExecute(r ApiAddRoleUserRequest) (RoleMember, *_nethttp.Response, error)
Execute executes the request
@return RoleMember
func (*DefaultApiService) DeleteIdp ¶
func (a *DefaultApiService) DeleteIdp(ctx _context.Context, name string) ApiDeleteIdpRequest
DeleteIdp Method for DeleteIdp
Delete an idp configuration. Users will not longer be able to login from this idp. In addition, any users that have been configured explicitly or JIT Provisioned on this IDP will be deleted.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiDeleteIdpRequest
func (*DefaultApiService) DeleteIdpExecute ¶
func (a *DefaultApiService) DeleteIdpExecute(r ApiDeleteIdpRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) DeleteRoleUser ¶
func (a *DefaultApiService) DeleteRoleUser(ctx _context.Context, rolename string) ApiDeleteRoleUserRequest
DeleteRoleUser Remove a user from the role
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiDeleteRoleUserRequest
func (*DefaultApiService) DeleteRoleUserExecute ¶
func (a *DefaultApiService) DeleteRoleUserExecute(r ApiDeleteRoleUserRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) GetIdp ¶
func (a *DefaultApiService) GetIdp(ctx _context.Context, name string) ApiGetIdpRequest
GetIdp Method for GetIdp
Return the configuration for a named Identity Provider
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiGetIdpRequest
func (*DefaultApiService) GetIdpExecute ¶
func (a *DefaultApiService) GetIdpExecute(r ApiGetIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
Execute executes the request
@return SamlConfiguration
func (*DefaultApiService) GetRole ¶
func (a *DefaultApiService) GetRole(ctx _context.Context, rolename string) ApiGetRoleRequest
GetRole Get detailed information about a specific role
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiGetRoleRequest
func (*DefaultApiService) GetRoleExecute ¶
func (a *DefaultApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Response, error)
Execute executes the request
@return Role
func (*DefaultApiService) GetStatus ¶
func (a *DefaultApiService) GetStatus(ctx _context.Context) ApiGetStatusRequest
GetStatus Service status
Get the API service status
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetStatusRequest
func (*DefaultApiService) GetStatusExecute ¶
func (a *DefaultApiService) GetStatusExecute(r ApiGetStatusRequest) (StatusResponse, *_nethttp.Response, error)
Execute executes the request
@return StatusResponse
func (*DefaultApiService) HealthCheck ¶
func (a *DefaultApiService) HealthCheck(ctx _context.Context) ApiHealthCheckRequest
HealthCheck Method for HealthCheck
Health check, returns 200 and no body if service is running
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthCheckRequest
func (*DefaultApiService) HealthCheckExecute ¶
func (a *DefaultApiService) HealthCheckExecute(r ApiHealthCheckRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) ListIdps ¶
func (a *DefaultApiService) ListIdps(ctx _context.Context) ApiListIdpsRequest
ListIdps Method for ListIdps
List the names of configured Identity Providers for this anchore installation
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListIdpsRequest
func (*DefaultApiService) ListIdpsExecute ¶
func (a *DefaultApiService) ListIdpsExecute(r ApiListIdpsRequest) ([]string, *_nethttp.Response, error)
Execute executes the request
@return []string
func (*DefaultApiService) ListRoleMembers ¶
func (a *DefaultApiService) ListRoleMembers(ctx _context.Context, rolename string) ApiListRoleMembersRequest
ListRoleMembers Returns a list of objects that have members in the role. The list is filtered by 'listRoleMembers' access for the 'account' element of each entry.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param rolename @return ApiListRoleMembersRequest
func (*DefaultApiService) ListRoleMembersExecute ¶
func (a *DefaultApiService) ListRoleMembersExecute(r ApiListRoleMembersRequest) ([]RoleMember, *_nethttp.Response, error)
Execute executes the request
@return []RoleMember
func (*DefaultApiService) ListRoles ¶
func (a *DefaultApiService) ListRoles(ctx _context.Context) ApiListRolesRequest
ListRoles List roles available in the system
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRolesRequest
func (*DefaultApiService) ListRolesExecute ¶
func (a *DefaultApiService) ListRolesExecute(r ApiListRolesRequest) ([]RoleSummary, *_nethttp.Response, error)
Execute executes the request
@return []RoleSummary
func (*DefaultApiService) ListUserRoles ¶
func (a *DefaultApiService) ListUserRoles(ctx _context.Context, username string) ApiListUserRolesRequest
ListUserRoles List the roles for which the requested user is a member
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param username @return ApiListUserRolesRequest
func (*DefaultApiService) ListUserRolesExecute ¶
func (a *DefaultApiService) ListUserRolesExecute(r ApiListUserRolesRequest) ([]RoleMembership, *_nethttp.Response, error)
Execute executes the request
@return []RoleMembership
func (*DefaultApiService) MyRoles ¶
func (a *DefaultApiService) MyRoles(ctx _context.Context) ApiMyRolesRequest
MyRoles List the roles for which the authenticated user is a member
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiMyRolesRequest
func (*DefaultApiService) MyRolesExecute ¶
func (a *DefaultApiService) MyRolesExecute(r ApiMyRolesRequest) ([]AccountRole, *_nethttp.Response, error)
Execute executes the request
@return []AccountRole
func (*DefaultApiService) SamlLogin ¶
func (a *DefaultApiService) SamlLogin(ctx _context.Context, idpName string) ApiSamlLoginRequest
SamlLogin Method for SamlLogin
Initiate an SP-initiated login sequence for the Idp. The SP will respond with the SAML AuthN Request the client must send to the Idp URL
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param idpName @return ApiSamlLoginRequest
func (*DefaultApiService) SamlLoginExecute ¶
func (a *DefaultApiService) SamlLoginExecute(r ApiSamlLoginRequest) (TokenResponse, *_nethttp.Response, error)
Execute executes the request
@return TokenResponse
func (*DefaultApiService) SamlSso ¶
func (a *DefaultApiService) SamlSso(ctx _context.Context, idpName string) ApiSamlSsoRequest
SamlSso Method for SamlSso
Perform a login using a SAML assertion, no HTTP auth is required as the SAML assertion is considered the authenticating token
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param idpName @return ApiSamlSsoRequest
func (*DefaultApiService) SamlSsoExecute ¶
func (a *DefaultApiService) SamlSsoExecute(r ApiSamlSsoRequest) (TokenResponse, *_nethttp.Response, error)
Execute executes the request
@return TokenResponse
func (*DefaultApiService) UpdateIdp ¶
func (a *DefaultApiService) UpdateIdp(ctx _context.Context, name string) ApiUpdateIdpRequest
UpdateIdp Method for UpdateIdp
Update an existing Identity Provider configuration
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiUpdateIdpRequest
func (*DefaultApiService) UpdateIdpExecute ¶
func (a *DefaultApiService) UpdateIdpExecute(r ApiUpdateIdpRequest) (SamlConfiguration, *_nethttp.Response, error)
Execute executes the request
@return SamlConfiguration
func (*DefaultApiService) VersionCheck ¶
func (a *DefaultApiService) VersionCheck(ctx _context.Context) ApiVersionCheckRequest
VersionCheck Method for VersionCheck
Returns the version object for the service, including db schema version info
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionCheckRequest
func (*DefaultApiService) VersionCheckExecute ¶
func (a *DefaultApiService) VersionCheckExecute(r ApiVersionCheckRequest) (ServiceVersion, *_nethttp.Response, error)
Execute executes the request
@return ServiceVersion
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type NullableAccountRole ¶
type NullableAccountRole struct {
// contains filtered or unexported fields
}
func NewNullableAccountRole ¶
func NewNullableAccountRole(val *AccountRole) *NullableAccountRole
func (NullableAccountRole) Get ¶
func (v NullableAccountRole) Get() *AccountRole
func (NullableAccountRole) IsSet ¶
func (v NullableAccountRole) IsSet() bool
func (NullableAccountRole) MarshalJSON ¶
func (v NullableAccountRole) MarshalJSON() ([]byte, error)
func (*NullableAccountRole) Set ¶
func (v *NullableAccountRole) Set(val *AccountRole)
func (*NullableAccountRole) UnmarshalJSON ¶
func (v *NullableAccountRole) UnmarshalJSON(src []byte) error
func (*NullableAccountRole) Unset ¶
func (v *NullableAccountRole) Unset()
type NullableApiErrorResponse ¶
type NullableApiErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorResponse ¶
func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse
func (NullableApiErrorResponse) Get ¶
func (v NullableApiErrorResponse) Get() *ApiErrorResponse
func (NullableApiErrorResponse) IsSet ¶
func (v NullableApiErrorResponse) IsSet() bool
func (NullableApiErrorResponse) MarshalJSON ¶
func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableApiErrorResponse) Set ¶
func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
func (*NullableApiErrorResponse) UnmarshalJSON ¶
func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableApiErrorResponse) Unset ¶
func (v *NullableApiErrorResponse) 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 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 NullablePermission ¶
type NullablePermission struct {
// contains filtered or unexported fields
}
func NewNullablePermission ¶
func NewNullablePermission(val *Permission) *NullablePermission
func (NullablePermission) Get ¶
func (v NullablePermission) Get() *Permission
func (NullablePermission) IsSet ¶
func (v NullablePermission) IsSet() bool
func (NullablePermission) MarshalJSON ¶
func (v NullablePermission) MarshalJSON() ([]byte, error)
func (*NullablePermission) Set ¶
func (v *NullablePermission) Set(val *Permission)
func (*NullablePermission) UnmarshalJSON ¶
func (v *NullablePermission) UnmarshalJSON(src []byte) error
func (*NullablePermission) Unset ¶
func (v *NullablePermission) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableRoleMember ¶
type NullableRoleMember struct {
// contains filtered or unexported fields
}
func NewNullableRoleMember ¶
func NewNullableRoleMember(val *RoleMember) *NullableRoleMember
func (NullableRoleMember) Get ¶
func (v NullableRoleMember) Get() *RoleMember
func (NullableRoleMember) IsSet ¶
func (v NullableRoleMember) IsSet() bool
func (NullableRoleMember) MarshalJSON ¶
func (v NullableRoleMember) MarshalJSON() ([]byte, error)
func (*NullableRoleMember) Set ¶
func (v *NullableRoleMember) Set(val *RoleMember)
func (*NullableRoleMember) UnmarshalJSON ¶
func (v *NullableRoleMember) UnmarshalJSON(src []byte) error
func (*NullableRoleMember) Unset ¶
func (v *NullableRoleMember) Unset()
type NullableRoleMembership ¶
type NullableRoleMembership struct {
// contains filtered or unexported fields
}
func NewNullableRoleMembership ¶
func NewNullableRoleMembership(val *RoleMembership) *NullableRoleMembership
func (NullableRoleMembership) Get ¶
func (v NullableRoleMembership) Get() *RoleMembership
func (NullableRoleMembership) IsSet ¶
func (v NullableRoleMembership) IsSet() bool
func (NullableRoleMembership) MarshalJSON ¶
func (v NullableRoleMembership) MarshalJSON() ([]byte, error)
func (*NullableRoleMembership) Set ¶
func (v *NullableRoleMembership) Set(val *RoleMembership)
func (*NullableRoleMembership) UnmarshalJSON ¶
func (v *NullableRoleMembership) UnmarshalJSON(src []byte) error
func (*NullableRoleMembership) Unset ¶
func (v *NullableRoleMembership) Unset()
type NullableRoleSummary ¶
type NullableRoleSummary struct {
// contains filtered or unexported fields
}
func NewNullableRoleSummary ¶
func NewNullableRoleSummary(val *RoleSummary) *NullableRoleSummary
func (NullableRoleSummary) Get ¶
func (v NullableRoleSummary) Get() *RoleSummary
func (NullableRoleSummary) IsSet ¶
func (v NullableRoleSummary) IsSet() bool
func (NullableRoleSummary) MarshalJSON ¶
func (v NullableRoleSummary) MarshalJSON() ([]byte, error)
func (*NullableRoleSummary) Set ¶
func (v *NullableRoleSummary) Set(val *RoleSummary)
func (*NullableRoleSummary) UnmarshalJSON ¶
func (v *NullableRoleSummary) UnmarshalJSON(src []byte) error
func (*NullableRoleSummary) Unset ¶
func (v *NullableRoleSummary) Unset()
type NullableSamlConfiguration ¶
type NullableSamlConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableSamlConfiguration ¶
func NewNullableSamlConfiguration(val *SamlConfiguration) *NullableSamlConfiguration
func (NullableSamlConfiguration) Get ¶
func (v NullableSamlConfiguration) Get() *SamlConfiguration
func (NullableSamlConfiguration) IsSet ¶
func (v NullableSamlConfiguration) IsSet() bool
func (NullableSamlConfiguration) MarshalJSON ¶
func (v NullableSamlConfiguration) MarshalJSON() ([]byte, error)
func (*NullableSamlConfiguration) Set ¶
func (v *NullableSamlConfiguration) Set(val *SamlConfiguration)
func (*NullableSamlConfiguration) UnmarshalJSON ¶
func (v *NullableSamlConfiguration) UnmarshalJSON(src []byte) error
func (*NullableSamlConfiguration) Unset ¶
func (v *NullableSamlConfiguration) Unset()
type NullableServiceVersion ¶
type NullableServiceVersion struct {
// contains filtered or unexported fields
}
func NewNullableServiceVersion ¶
func NewNullableServiceVersion(val *ServiceVersion) *NullableServiceVersion
func (NullableServiceVersion) Get ¶
func (v NullableServiceVersion) Get() *ServiceVersion
func (NullableServiceVersion) IsSet ¶
func (v NullableServiceVersion) IsSet() bool
func (NullableServiceVersion) MarshalJSON ¶
func (v NullableServiceVersion) MarshalJSON() ([]byte, error)
func (*NullableServiceVersion) Set ¶
func (v *NullableServiceVersion) Set(val *ServiceVersion)
func (*NullableServiceVersion) UnmarshalJSON ¶
func (v *NullableServiceVersion) UnmarshalJSON(src []byte) error
func (*NullableServiceVersion) Unset ¶
func (v *NullableServiceVersion) Unset()
type NullableServiceVersionApi ¶
type NullableServiceVersionApi struct {
// contains filtered or unexported fields
}
func NewNullableServiceVersionApi ¶
func NewNullableServiceVersionApi(val *ServiceVersionApi) *NullableServiceVersionApi
func (NullableServiceVersionApi) Get ¶
func (v NullableServiceVersionApi) Get() *ServiceVersionApi
func (NullableServiceVersionApi) IsSet ¶
func (v NullableServiceVersionApi) IsSet() bool
func (NullableServiceVersionApi) MarshalJSON ¶
func (v NullableServiceVersionApi) MarshalJSON() ([]byte, error)
func (*NullableServiceVersionApi) Set ¶
func (v *NullableServiceVersionApi) Set(val *ServiceVersionApi)
func (*NullableServiceVersionApi) UnmarshalJSON ¶
func (v *NullableServiceVersionApi) UnmarshalJSON(src []byte) error
func (*NullableServiceVersionApi) Unset ¶
func (v *NullableServiceVersionApi) Unset()
type NullableServiceVersionDb ¶
type NullableServiceVersionDb struct {
// contains filtered or unexported fields
}
func NewNullableServiceVersionDb ¶
func NewNullableServiceVersionDb(val *ServiceVersionDb) *NullableServiceVersionDb
func (NullableServiceVersionDb) Get ¶
func (v NullableServiceVersionDb) Get() *ServiceVersionDb
func (NullableServiceVersionDb) IsSet ¶
func (v NullableServiceVersionDb) IsSet() bool
func (NullableServiceVersionDb) MarshalJSON ¶
func (v NullableServiceVersionDb) MarshalJSON() ([]byte, error)
func (*NullableServiceVersionDb) Set ¶
func (v *NullableServiceVersionDb) Set(val *ServiceVersionDb)
func (*NullableServiceVersionDb) UnmarshalJSON ¶
func (v *NullableServiceVersionDb) UnmarshalJSON(src []byte) error
func (*NullableServiceVersionDb) Unset ¶
func (v *NullableServiceVersionDb) Unset()
type NullableServiceVersionEngine ¶
type NullableServiceVersionEngine struct {
// contains filtered or unexported fields
}
func NewNullableServiceVersionEngine ¶
func NewNullableServiceVersionEngine(val *ServiceVersionEngine) *NullableServiceVersionEngine
func (NullableServiceVersionEngine) Get ¶
func (v NullableServiceVersionEngine) Get() *ServiceVersionEngine
func (NullableServiceVersionEngine) IsSet ¶
func (v NullableServiceVersionEngine) IsSet() bool
func (NullableServiceVersionEngine) MarshalJSON ¶
func (v NullableServiceVersionEngine) MarshalJSON() ([]byte, error)
func (*NullableServiceVersionEngine) Set ¶
func (v *NullableServiceVersionEngine) Set(val *ServiceVersionEngine)
func (*NullableServiceVersionEngine) UnmarshalJSON ¶
func (v *NullableServiceVersionEngine) UnmarshalJSON(src []byte) error
func (*NullableServiceVersionEngine) Unset ¶
func (v *NullableServiceVersionEngine) Unset()
type NullableServiceVersionService ¶
type NullableServiceVersionService struct {
// contains filtered or unexported fields
}
func NewNullableServiceVersionService ¶
func NewNullableServiceVersionService(val *ServiceVersionService) *NullableServiceVersionService
func (NullableServiceVersionService) Get ¶
func (v NullableServiceVersionService) Get() *ServiceVersionService
func (NullableServiceVersionService) IsSet ¶
func (v NullableServiceVersionService) IsSet() bool
func (NullableServiceVersionService) MarshalJSON ¶
func (v NullableServiceVersionService) MarshalJSON() ([]byte, error)
func (*NullableServiceVersionService) Set ¶
func (v *NullableServiceVersionService) Set(val *ServiceVersionService)
func (*NullableServiceVersionService) UnmarshalJSON ¶
func (v *NullableServiceVersionService) UnmarshalJSON(src []byte) error
func (*NullableServiceVersionService) Unset ¶
func (v *NullableServiceVersionService) Unset()
type NullableStatusResponse ¶
type NullableStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableStatusResponse ¶
func NewNullableStatusResponse(val *StatusResponse) *NullableStatusResponse
func (NullableStatusResponse) Get ¶
func (v NullableStatusResponse) Get() *StatusResponse
func (NullableStatusResponse) IsSet ¶
func (v NullableStatusResponse) IsSet() bool
func (NullableStatusResponse) MarshalJSON ¶
func (v NullableStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableStatusResponse) Set ¶
func (v *NullableStatusResponse) Set(val *StatusResponse)
func (*NullableStatusResponse) UnmarshalJSON ¶
func (v *NullableStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableStatusResponse) Unset ¶
func (v *NullableStatusResponse) 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 NullableTokenResponse ¶
type NullableTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableTokenResponse ¶
func NewNullableTokenResponse(val *TokenResponse) *NullableTokenResponse
func (NullableTokenResponse) Get ¶
func (v NullableTokenResponse) Get() *TokenResponse
func (NullableTokenResponse) IsSet ¶
func (v NullableTokenResponse) IsSet() bool
func (NullableTokenResponse) MarshalJSON ¶
func (v NullableTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenResponse) Set ¶
func (v *NullableTokenResponse) Set(val *TokenResponse)
func (*NullableTokenResponse) UnmarshalJSON ¶
func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableTokenResponse) Unset ¶
func (v *NullableTokenResponse) Unset()
type Permission ¶
type Permission struct { // The allowed action. e.g. getImage Action *string `json:"action,omitempty"` // The target to which the action may be applied. Either a '*' for all or a specific target id Target *string `json:"target,omitempty"` }
Permission A grant of specific action against a specific scope and target
func NewPermission ¶
func NewPermission() *Permission
NewPermission instantiates a new Permission 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 NewPermissionWithDefaults ¶
func NewPermissionWithDefaults() *Permission
NewPermissionWithDefaults instantiates a new Permission 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 (*Permission) GetAction ¶
func (o *Permission) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*Permission) GetActionOk ¶
func (o *Permission) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) GetTarget ¶
func (o *Permission) GetTarget() string
GetTarget returns the Target field value if set, zero value otherwise.
func (*Permission) GetTargetOk ¶
func (o *Permission) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) HasAction ¶
func (o *Permission) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*Permission) HasTarget ¶
func (o *Permission) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (Permission) MarshalJSON ¶
func (o Permission) MarshalJSON() ([]byte, error)
func (*Permission) SetAction ¶
func (o *Permission) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*Permission) SetTarget ¶
func (o *Permission) SetTarget(v string)
SetTarget gets a reference to the given string and assigns it to the Target field.
type Role ¶
type Role struct { // The name of the role Name string `json:"name"` // A role description for humans Description *string `json:"description,omitempty"` Permissions *[]Permission `json:"permissions,omitempty"` // Are the permissions of this role modifiable by users (including admin users) Immutable *bool `json:"immutable,omitempty"` // The timestamp when the role was created CreatedAt *time.Time `json:"created_at,omitempty"` // The timestamp of the last update to the role metadata itself LastUpdated *time.Time `json:"last_updated,omitempty"` }
Role Role definition
func NewRole ¶
NewRole instantiates a new Role 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 NewRoleWithDefaults ¶
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role 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 (*Role) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Role) 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 (*Role) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Role) 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 (*Role) GetImmutable ¶
GetImmutable returns the Immutable field value if set, zero value otherwise.
func (*Role) GetImmutableOk ¶
GetImmutableOk returns a tuple with the Immutable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetLastUpdated ¶
GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.
func (*Role) GetLastUpdatedOk ¶
GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Role) GetPermissions ¶
func (o *Role) GetPermissions() []Permission
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*Role) GetPermissionsOk ¶
func (o *Role) GetPermissionsOk() (*[]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Role) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Role) HasImmutable ¶
HasImmutable returns a boolean if a field has been set.
func (*Role) HasLastUpdated ¶
HasLastUpdated returns a boolean if a field has been set.
func (*Role) HasPermissions ¶
HasPermissions returns a boolean if a field has been set.
func (Role) MarshalJSON ¶
func (*Role) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Role) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Role) SetImmutable ¶
SetImmutable gets a reference to the given bool and assigns it to the Immutable field.
func (*Role) SetLastUpdated ¶
SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.
func (*Role) SetPermissions ¶
func (o *Role) SetPermissions(v []Permission)
SetPermissions gets a reference to the given []Permission and assigns it to the Permissions field.
type RoleMember ¶
type RoleMember struct { Username string `json:"username"` ForAccount string `json:"for_account"` CreatedAt *time.Time `json:"created_at,omitempty"` }
RoleMember A mapping between a username and a role with an account context
func NewRoleMember ¶
func NewRoleMember(username string, forAccount string) *RoleMember
NewRoleMember instantiates a new RoleMember 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 NewRoleMemberWithDefaults ¶
func NewRoleMemberWithDefaults() *RoleMember
NewRoleMemberWithDefaults instantiates a new RoleMember 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 (*RoleMember) GetCreatedAt ¶
func (o *RoleMember) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleMember) GetCreatedAtOk ¶
func (o *RoleMember) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleMember) GetForAccount ¶
func (o *RoleMember) GetForAccount() string
GetForAccount returns the ForAccount field value
func (*RoleMember) GetForAccountOk ¶
func (o *RoleMember) GetForAccountOk() (*string, bool)
GetForAccountOk returns a tuple with the ForAccount field value and a boolean to check if the value has been set.
func (*RoleMember) GetUsername ¶
func (o *RoleMember) GetUsername() string
GetUsername returns the Username field value
func (*RoleMember) GetUsernameOk ¶
func (o *RoleMember) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*RoleMember) HasCreatedAt ¶
func (o *RoleMember) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (RoleMember) MarshalJSON ¶
func (o RoleMember) MarshalJSON() ([]byte, error)
func (*RoleMember) SetCreatedAt ¶
func (o *RoleMember) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleMember) SetForAccount ¶
func (o *RoleMember) SetForAccount(v string)
SetForAccount sets field value
func (*RoleMember) SetUsername ¶
func (o *RoleMember) SetUsername(v string)
SetUsername sets field value
type RoleMembership ¶
type RoleMembership struct { // The name of the role the user has permissions for Role *string `json:"role,omitempty"` ForAccount *[]string `json:"for_account,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` }
RoleMembership Membership for a role in an account
func NewRoleMembership ¶
func NewRoleMembership() *RoleMembership
NewRoleMembership instantiates a new RoleMembership 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 NewRoleMembershipWithDefaults ¶
func NewRoleMembershipWithDefaults() *RoleMembership
NewRoleMembershipWithDefaults instantiates a new RoleMembership 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 (*RoleMembership) GetCreatedAt ¶
func (o *RoleMembership) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleMembership) GetCreatedAtOk ¶
func (o *RoleMembership) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleMembership) GetForAccount ¶
func (o *RoleMembership) GetForAccount() []string
GetForAccount returns the ForAccount field value if set, zero value otherwise.
func (*RoleMembership) GetForAccountOk ¶
func (o *RoleMembership) GetForAccountOk() (*[]string, bool)
GetForAccountOk returns a tuple with the ForAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleMembership) GetRole ¶
func (o *RoleMembership) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*RoleMembership) GetRoleOk ¶
func (o *RoleMembership) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleMembership) HasCreatedAt ¶
func (o *RoleMembership) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoleMembership) HasForAccount ¶
func (o *RoleMembership) HasForAccount() bool
HasForAccount returns a boolean if a field has been set.
func (*RoleMembership) HasRole ¶
func (o *RoleMembership) HasRole() bool
HasRole returns a boolean if a field has been set.
func (RoleMembership) MarshalJSON ¶
func (o RoleMembership) MarshalJSON() ([]byte, error)
func (*RoleMembership) SetCreatedAt ¶
func (o *RoleMembership) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleMembership) SetForAccount ¶
func (o *RoleMembership) SetForAccount(v []string)
SetForAccount gets a reference to the given []string and assigns it to the ForAccount field.
func (*RoleMembership) SetRole ¶
func (o *RoleMembership) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
type RoleSummary ¶
type RoleSummary struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` }
RoleSummary struct for RoleSummary
func NewRoleSummary ¶
func NewRoleSummary() *RoleSummary
NewRoleSummary instantiates a new RoleSummary 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 NewRoleSummaryWithDefaults ¶
func NewRoleSummaryWithDefaults() *RoleSummary
NewRoleSummaryWithDefaults instantiates a new RoleSummary 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 (*RoleSummary) GetCreatedAt ¶
func (o *RoleSummary) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleSummary) GetCreatedAtOk ¶
func (o *RoleSummary) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleSummary) GetDescription ¶
func (o *RoleSummary) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoleSummary) GetDescriptionOk ¶
func (o *RoleSummary) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleSummary) GetName ¶
func (o *RoleSummary) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RoleSummary) GetNameOk ¶
func (o *RoleSummary) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleSummary) HasCreatedAt ¶
func (o *RoleSummary) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoleSummary) HasDescription ¶
func (o *RoleSummary) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RoleSummary) HasName ¶
func (o *RoleSummary) HasName() bool
HasName returns a boolean if a field has been set.
func (RoleSummary) MarshalJSON ¶
func (o RoleSummary) MarshalJSON() ([]byte, error)
func (*RoleSummary) SetCreatedAt ¶
func (o *RoleSummary) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleSummary) SetDescription ¶
func (o *RoleSummary) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoleSummary) SetName ¶
func (o *RoleSummary) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type SamlConfiguration ¶
type SamlConfiguration struct { // The name to use for referencing this IDP configuration. This will configured as part of the url string the Idp must have the client POST the saml assertion to. Name string `json:"name"` // If this IDP configuration should be enabled for user logins Enabled bool `json:"enabled"` // The entity ID for this SP. Can be the same for all IDP configurations in this installation or unique to each. This is typically a URL, but you can use any value as long as you also configure the IDP to expect this value. SpEntityId string `json:"sp_entity_id"` // The URL the IDP can use to access the Assertion Consumer Service to provide the token for sso. This is the way to reach the rbac manager services /v1/saml/sso/{IDP_name} route externally AcsUrl string `json:"acs_url"` // The port number to use for https if not 443. If omitted or -1, 443 is assumed and used as a default AcsHttpsPort *int32 `json:"acs_https_port,omitempty"` // The url where the SP (anchore) can retrieve the metadata about the Identity Provider. Only one of this or metadata_xml should be set. This is typically provided by the IDP. IdpMetadataUrl *string `json:"idp_metadata_url,omitempty"` // The direct metadata xml payload, if a url is not available. Only one of this or metadata_url should be set. IdpMetadataXml *string `json:"idp_metadata_xml,omitempty"` // The SAML attribute to use from the response assertions to determine the anchore username. If unset, the subject is used. IdpUsernameAttribute *string `json:"idp_username_attribute,omitempty"` // The SAML attribute to use from the response assertions to determine the anchore account to use. If unset, the default is used. IdpAccountAttribute *string `json:"idp_account_attribute,omitempty"` // The SAML attribute to use from the response assertions to determine the anchore role(s) to assign a new user in the specified account. If unset, the default is used. IdpRoleAttribute *string `json:"idp_role_attribute,omitempty"` // The anchore account to assign all users to from this IDP if no account attribute is mapped or present. DefaultAccount *string `json:"default_account,omitempty"` // The default role to apply to new users from this IDP if no attribute is mapped or found in the SAML assertions. DefaultRole *string `json:"default_role,omitempty"` // Require assertions in to be signed from the IDP RequireSignedAssertions *bool `json:"require_signed_assertions,omitempty"` // Require the authn response to be signed by the IDP RequireSignedResponse *bool `json:"require_signed_response,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` LastUpdated *time.Time `json:"last_updated,omitempty"` // Indicates if Anchore will require an authenticating SSO user to already exist. This field is ignored on POST/PUT Operations. RequireExistingUsers *bool `json:"require_existing_users,omitempty"` }
SamlConfiguration A named configuration for interaction with an Identity Provider that supports SAML 2.0
func NewSamlConfiguration ¶
func NewSamlConfiguration(name string, enabled bool, spEntityId string, acsUrl string) *SamlConfiguration
NewSamlConfiguration instantiates a new SamlConfiguration 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 NewSamlConfigurationWithDefaults ¶
func NewSamlConfigurationWithDefaults() *SamlConfiguration
NewSamlConfigurationWithDefaults instantiates a new SamlConfiguration 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 (*SamlConfiguration) GetAcsHttpsPort ¶
func (o *SamlConfiguration) GetAcsHttpsPort() int32
GetAcsHttpsPort returns the AcsHttpsPort field value if set, zero value otherwise.
func (*SamlConfiguration) GetAcsHttpsPortOk ¶
func (o *SamlConfiguration) GetAcsHttpsPortOk() (*int32, bool)
GetAcsHttpsPortOk returns a tuple with the AcsHttpsPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetAcsUrl ¶
func (o *SamlConfiguration) GetAcsUrl() string
GetAcsUrl returns the AcsUrl field value
func (*SamlConfiguration) GetAcsUrlOk ¶
func (o *SamlConfiguration) GetAcsUrlOk() (*string, bool)
GetAcsUrlOk returns a tuple with the AcsUrl field value and a boolean to check if the value has been set.
func (*SamlConfiguration) GetCreatedAt ¶
func (o *SamlConfiguration) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SamlConfiguration) GetCreatedAtOk ¶
func (o *SamlConfiguration) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetDefaultAccount ¶
func (o *SamlConfiguration) GetDefaultAccount() string
GetDefaultAccount returns the DefaultAccount field value if set, zero value otherwise.
func (*SamlConfiguration) GetDefaultAccountOk ¶
func (o *SamlConfiguration) GetDefaultAccountOk() (*string, bool)
GetDefaultAccountOk returns a tuple with the DefaultAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetDefaultRole ¶
func (o *SamlConfiguration) GetDefaultRole() string
GetDefaultRole returns the DefaultRole field value if set, zero value otherwise.
func (*SamlConfiguration) GetDefaultRoleOk ¶
func (o *SamlConfiguration) GetDefaultRoleOk() (*string, bool)
GetDefaultRoleOk returns a tuple with the DefaultRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetEnabled ¶
func (o *SamlConfiguration) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*SamlConfiguration) GetEnabledOk ¶
func (o *SamlConfiguration) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*SamlConfiguration) GetIdpAccountAttribute ¶
func (o *SamlConfiguration) GetIdpAccountAttribute() string
GetIdpAccountAttribute returns the IdpAccountAttribute field value if set, zero value otherwise.
func (*SamlConfiguration) GetIdpAccountAttributeOk ¶
func (o *SamlConfiguration) GetIdpAccountAttributeOk() (*string, bool)
GetIdpAccountAttributeOk returns a tuple with the IdpAccountAttribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetIdpMetadataUrl ¶
func (o *SamlConfiguration) GetIdpMetadataUrl() string
GetIdpMetadataUrl returns the IdpMetadataUrl field value if set, zero value otherwise.
func (*SamlConfiguration) GetIdpMetadataUrlOk ¶
func (o *SamlConfiguration) GetIdpMetadataUrlOk() (*string, bool)
GetIdpMetadataUrlOk returns a tuple with the IdpMetadataUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetIdpMetadataXml ¶
func (o *SamlConfiguration) GetIdpMetadataXml() string
GetIdpMetadataXml returns the IdpMetadataXml field value if set, zero value otherwise.
func (*SamlConfiguration) GetIdpMetadataXmlOk ¶
func (o *SamlConfiguration) GetIdpMetadataXmlOk() (*string, bool)
GetIdpMetadataXmlOk returns a tuple with the IdpMetadataXml field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetIdpRoleAttribute ¶
func (o *SamlConfiguration) GetIdpRoleAttribute() string
GetIdpRoleAttribute returns the IdpRoleAttribute field value if set, zero value otherwise.
func (*SamlConfiguration) GetIdpRoleAttributeOk ¶
func (o *SamlConfiguration) GetIdpRoleAttributeOk() (*string, bool)
GetIdpRoleAttributeOk returns a tuple with the IdpRoleAttribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetIdpUsernameAttribute ¶
func (o *SamlConfiguration) GetIdpUsernameAttribute() string
GetIdpUsernameAttribute returns the IdpUsernameAttribute field value if set, zero value otherwise.
func (*SamlConfiguration) GetIdpUsernameAttributeOk ¶
func (o *SamlConfiguration) GetIdpUsernameAttributeOk() (*string, bool)
GetIdpUsernameAttributeOk returns a tuple with the IdpUsernameAttribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetLastUpdated ¶
func (o *SamlConfiguration) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.
func (*SamlConfiguration) GetLastUpdatedOk ¶
func (o *SamlConfiguration) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetName ¶
func (o *SamlConfiguration) GetName() string
GetName returns the Name field value
func (*SamlConfiguration) GetNameOk ¶
func (o *SamlConfiguration) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SamlConfiguration) GetRequireExistingUsers ¶
func (o *SamlConfiguration) GetRequireExistingUsers() bool
GetRequireExistingUsers returns the RequireExistingUsers field value if set, zero value otherwise.
func (*SamlConfiguration) GetRequireExistingUsersOk ¶
func (o *SamlConfiguration) GetRequireExistingUsersOk() (*bool, bool)
GetRequireExistingUsersOk returns a tuple with the RequireExistingUsers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetRequireSignedAssertions ¶
func (o *SamlConfiguration) GetRequireSignedAssertions() bool
GetRequireSignedAssertions returns the RequireSignedAssertions field value if set, zero value otherwise.
func (*SamlConfiguration) GetRequireSignedAssertionsOk ¶
func (o *SamlConfiguration) GetRequireSignedAssertionsOk() (*bool, bool)
GetRequireSignedAssertionsOk returns a tuple with the RequireSignedAssertions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetRequireSignedResponse ¶
func (o *SamlConfiguration) GetRequireSignedResponse() bool
GetRequireSignedResponse returns the RequireSignedResponse field value if set, zero value otherwise.
func (*SamlConfiguration) GetRequireSignedResponseOk ¶
func (o *SamlConfiguration) GetRequireSignedResponseOk() (*bool, bool)
GetRequireSignedResponseOk returns a tuple with the RequireSignedResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlConfiguration) GetSpEntityId ¶
func (o *SamlConfiguration) GetSpEntityId() string
GetSpEntityId returns the SpEntityId field value
func (*SamlConfiguration) GetSpEntityIdOk ¶
func (o *SamlConfiguration) GetSpEntityIdOk() (*string, bool)
GetSpEntityIdOk returns a tuple with the SpEntityId field value and a boolean to check if the value has been set.
func (*SamlConfiguration) HasAcsHttpsPort ¶
func (o *SamlConfiguration) HasAcsHttpsPort() bool
HasAcsHttpsPort returns a boolean if a field has been set.
func (*SamlConfiguration) HasCreatedAt ¶
func (o *SamlConfiguration) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SamlConfiguration) HasDefaultAccount ¶
func (o *SamlConfiguration) HasDefaultAccount() bool
HasDefaultAccount returns a boolean if a field has been set.
func (*SamlConfiguration) HasDefaultRole ¶
func (o *SamlConfiguration) HasDefaultRole() bool
HasDefaultRole returns a boolean if a field has been set.
func (*SamlConfiguration) HasIdpAccountAttribute ¶
func (o *SamlConfiguration) HasIdpAccountAttribute() bool
HasIdpAccountAttribute returns a boolean if a field has been set.
func (*SamlConfiguration) HasIdpMetadataUrl ¶
func (o *SamlConfiguration) HasIdpMetadataUrl() bool
HasIdpMetadataUrl returns a boolean if a field has been set.
func (*SamlConfiguration) HasIdpMetadataXml ¶
func (o *SamlConfiguration) HasIdpMetadataXml() bool
HasIdpMetadataXml returns a boolean if a field has been set.
func (*SamlConfiguration) HasIdpRoleAttribute ¶
func (o *SamlConfiguration) HasIdpRoleAttribute() bool
HasIdpRoleAttribute returns a boolean if a field has been set.
func (*SamlConfiguration) HasIdpUsernameAttribute ¶
func (o *SamlConfiguration) HasIdpUsernameAttribute() bool
HasIdpUsernameAttribute returns a boolean if a field has been set.
func (*SamlConfiguration) HasLastUpdated ¶
func (o *SamlConfiguration) HasLastUpdated() bool
HasLastUpdated returns a boolean if a field has been set.
func (*SamlConfiguration) HasRequireExistingUsers ¶
func (o *SamlConfiguration) HasRequireExistingUsers() bool
HasRequireExistingUsers returns a boolean if a field has been set.
func (*SamlConfiguration) HasRequireSignedAssertions ¶
func (o *SamlConfiguration) HasRequireSignedAssertions() bool
HasRequireSignedAssertions returns a boolean if a field has been set.
func (*SamlConfiguration) HasRequireSignedResponse ¶
func (o *SamlConfiguration) HasRequireSignedResponse() bool
HasRequireSignedResponse returns a boolean if a field has been set.
func (SamlConfiguration) MarshalJSON ¶
func (o SamlConfiguration) MarshalJSON() ([]byte, error)
func (*SamlConfiguration) SetAcsHttpsPort ¶
func (o *SamlConfiguration) SetAcsHttpsPort(v int32)
SetAcsHttpsPort gets a reference to the given int32 and assigns it to the AcsHttpsPort field.
func (*SamlConfiguration) SetAcsUrl ¶
func (o *SamlConfiguration) SetAcsUrl(v string)
SetAcsUrl sets field value
func (*SamlConfiguration) SetCreatedAt ¶
func (o *SamlConfiguration) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*SamlConfiguration) SetDefaultAccount ¶
func (o *SamlConfiguration) SetDefaultAccount(v string)
SetDefaultAccount gets a reference to the given string and assigns it to the DefaultAccount field.
func (*SamlConfiguration) SetDefaultRole ¶
func (o *SamlConfiguration) SetDefaultRole(v string)
SetDefaultRole gets a reference to the given string and assigns it to the DefaultRole field.
func (*SamlConfiguration) SetEnabled ¶
func (o *SamlConfiguration) SetEnabled(v bool)
SetEnabled sets field value
func (*SamlConfiguration) SetIdpAccountAttribute ¶
func (o *SamlConfiguration) SetIdpAccountAttribute(v string)
SetIdpAccountAttribute gets a reference to the given string and assigns it to the IdpAccountAttribute field.
func (*SamlConfiguration) SetIdpMetadataUrl ¶
func (o *SamlConfiguration) SetIdpMetadataUrl(v string)
SetIdpMetadataUrl gets a reference to the given string and assigns it to the IdpMetadataUrl field.
func (*SamlConfiguration) SetIdpMetadataXml ¶
func (o *SamlConfiguration) SetIdpMetadataXml(v string)
SetIdpMetadataXml gets a reference to the given string and assigns it to the IdpMetadataXml field.
func (*SamlConfiguration) SetIdpRoleAttribute ¶
func (o *SamlConfiguration) SetIdpRoleAttribute(v string)
SetIdpRoleAttribute gets a reference to the given string and assigns it to the IdpRoleAttribute field.
func (*SamlConfiguration) SetIdpUsernameAttribute ¶
func (o *SamlConfiguration) SetIdpUsernameAttribute(v string)
SetIdpUsernameAttribute gets a reference to the given string and assigns it to the IdpUsernameAttribute field.
func (*SamlConfiguration) SetLastUpdated ¶
func (o *SamlConfiguration) SetLastUpdated(v time.Time)
SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.
func (*SamlConfiguration) SetName ¶
func (o *SamlConfiguration) SetName(v string)
SetName sets field value
func (*SamlConfiguration) SetRequireExistingUsers ¶
func (o *SamlConfiguration) SetRequireExistingUsers(v bool)
SetRequireExistingUsers gets a reference to the given bool and assigns it to the RequireExistingUsers field.
func (*SamlConfiguration) SetRequireSignedAssertions ¶
func (o *SamlConfiguration) SetRequireSignedAssertions(v bool)
SetRequireSignedAssertions gets a reference to the given bool and assigns it to the RequireSignedAssertions field.
func (*SamlConfiguration) SetRequireSignedResponse ¶
func (o *SamlConfiguration) SetRequireSignedResponse(v bool)
SetRequireSignedResponse gets a reference to the given bool and assigns it to the RequireSignedResponse field.
func (*SamlConfiguration) SetSpEntityId ¶
func (o *SamlConfiguration) SetSpEntityId(v string)
SetSpEntityId sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServiceVersion ¶
type ServiceVersion struct { Service *ServiceVersionService `json:"service,omitempty"` Api *ServiceVersionApi `json:"api,omitempty"` Db *ServiceVersionDb `json:"db,omitempty"` Engine *ServiceVersionEngine `json:"engine,omitempty"` }
ServiceVersion Version information for a service
func NewServiceVersion ¶
func NewServiceVersion() *ServiceVersion
NewServiceVersion instantiates a new ServiceVersion 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 NewServiceVersionWithDefaults ¶
func NewServiceVersionWithDefaults() *ServiceVersion
NewServiceVersionWithDefaults instantiates a new ServiceVersion 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 (*ServiceVersion) GetApi ¶
func (o *ServiceVersion) GetApi() ServiceVersionApi
GetApi returns the Api field value if set, zero value otherwise.
func (*ServiceVersion) GetApiOk ¶
func (o *ServiceVersion) GetApiOk() (*ServiceVersionApi, bool)
GetApiOk returns a tuple with the Api field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersion) GetDb ¶
func (o *ServiceVersion) GetDb() ServiceVersionDb
GetDb returns the Db field value if set, zero value otherwise.
func (*ServiceVersion) GetDbOk ¶
func (o *ServiceVersion) GetDbOk() (*ServiceVersionDb, bool)
GetDbOk returns a tuple with the Db field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersion) GetEngine ¶
func (o *ServiceVersion) GetEngine() ServiceVersionEngine
GetEngine returns the Engine field value if set, zero value otherwise.
func (*ServiceVersion) GetEngineOk ¶
func (o *ServiceVersion) GetEngineOk() (*ServiceVersionEngine, bool)
GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersion) GetService ¶
func (o *ServiceVersion) GetService() ServiceVersionService
GetService returns the Service field value if set, zero value otherwise.
func (*ServiceVersion) GetServiceOk ¶
func (o *ServiceVersion) GetServiceOk() (*ServiceVersionService, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersion) HasApi ¶
func (o *ServiceVersion) HasApi() bool
HasApi returns a boolean if a field has been set.
func (*ServiceVersion) HasDb ¶
func (o *ServiceVersion) HasDb() bool
HasDb returns a boolean if a field has been set.
func (*ServiceVersion) HasEngine ¶
func (o *ServiceVersion) HasEngine() bool
HasEngine returns a boolean if a field has been set.
func (*ServiceVersion) HasService ¶
func (o *ServiceVersion) HasService() bool
HasService returns a boolean if a field has been set.
func (ServiceVersion) MarshalJSON ¶
func (o ServiceVersion) MarshalJSON() ([]byte, error)
func (*ServiceVersion) SetApi ¶
func (o *ServiceVersion) SetApi(v ServiceVersionApi)
SetApi gets a reference to the given ServiceVersionApi and assigns it to the Api field.
func (*ServiceVersion) SetDb ¶
func (o *ServiceVersion) SetDb(v ServiceVersionDb)
SetDb gets a reference to the given ServiceVersionDb and assigns it to the Db field.
func (*ServiceVersion) SetEngine ¶
func (o *ServiceVersion) SetEngine(v ServiceVersionEngine)
SetEngine gets a reference to the given ServiceVersionEngine and assigns it to the Engine field.
func (*ServiceVersion) SetService ¶
func (o *ServiceVersion) SetService(v ServiceVersionService)
SetService gets a reference to the given ServiceVersionService and assigns it to the Service field.
type ServiceVersionApi ¶
type ServiceVersionApi struct { // Semantic version of the api Version *string `json:"version,omitempty"` }
ServiceVersionApi Api Version string
func NewServiceVersionApi ¶
func NewServiceVersionApi() *ServiceVersionApi
NewServiceVersionApi instantiates a new ServiceVersionApi 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 NewServiceVersionApiWithDefaults ¶
func NewServiceVersionApiWithDefaults() *ServiceVersionApi
NewServiceVersionApiWithDefaults instantiates a new ServiceVersionApi 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 (*ServiceVersionApi) GetVersion ¶
func (o *ServiceVersionApi) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServiceVersionApi) GetVersionOk ¶
func (o *ServiceVersionApi) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersionApi) HasVersion ¶
func (o *ServiceVersionApi) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServiceVersionApi) MarshalJSON ¶
func (o ServiceVersionApi) MarshalJSON() ([]byte, error)
func (*ServiceVersionApi) SetVersion ¶
func (o *ServiceVersionApi) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type ServiceVersionDb ¶
type ServiceVersionDb struct { // Semantic version of the db schema SchemaVersion *string `json:"schema_version,omitempty"` }
ServiceVersionDb struct for ServiceVersionDb
func NewServiceVersionDb ¶
func NewServiceVersionDb() *ServiceVersionDb
NewServiceVersionDb instantiates a new ServiceVersionDb 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 NewServiceVersionDbWithDefaults ¶
func NewServiceVersionDbWithDefaults() *ServiceVersionDb
NewServiceVersionDbWithDefaults instantiates a new ServiceVersionDb 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 (*ServiceVersionDb) GetSchemaVersion ¶
func (o *ServiceVersionDb) GetSchemaVersion() string
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*ServiceVersionDb) GetSchemaVersionOk ¶
func (o *ServiceVersionDb) GetSchemaVersionOk() (*string, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersionDb) HasSchemaVersion ¶
func (o *ServiceVersionDb) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (ServiceVersionDb) MarshalJSON ¶
func (o ServiceVersionDb) MarshalJSON() ([]byte, error)
func (*ServiceVersionDb) SetSchemaVersion ¶
func (o *ServiceVersionDb) SetSchemaVersion(v string)
SetSchemaVersion gets a reference to the given string and assigns it to the SchemaVersion field.
type ServiceVersionEngine ¶
type ServiceVersionEngine struct { // Version of the installed engine library Version *string `json:"version,omitempty"` // Version of the installed engine db schema Db *string `json:"db,omitempty"` }
ServiceVersionEngine struct for ServiceVersionEngine
func NewServiceVersionEngine ¶
func NewServiceVersionEngine() *ServiceVersionEngine
NewServiceVersionEngine instantiates a new ServiceVersionEngine 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 NewServiceVersionEngineWithDefaults ¶
func NewServiceVersionEngineWithDefaults() *ServiceVersionEngine
NewServiceVersionEngineWithDefaults instantiates a new ServiceVersionEngine 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 (*ServiceVersionEngine) GetDb ¶
func (o *ServiceVersionEngine) GetDb() string
GetDb returns the Db field value if set, zero value otherwise.
func (*ServiceVersionEngine) GetDbOk ¶
func (o *ServiceVersionEngine) GetDbOk() (*string, bool)
GetDbOk returns a tuple with the Db field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersionEngine) GetVersion ¶
func (o *ServiceVersionEngine) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServiceVersionEngine) GetVersionOk ¶
func (o *ServiceVersionEngine) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersionEngine) HasDb ¶
func (o *ServiceVersionEngine) HasDb() bool
HasDb returns a boolean if a field has been set.
func (*ServiceVersionEngine) HasVersion ¶
func (o *ServiceVersionEngine) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServiceVersionEngine) MarshalJSON ¶
func (o ServiceVersionEngine) MarshalJSON() ([]byte, error)
func (*ServiceVersionEngine) SetDb ¶
func (o *ServiceVersionEngine) SetDb(v string)
SetDb gets a reference to the given string and assigns it to the Db field.
func (*ServiceVersionEngine) SetVersion ¶
func (o *ServiceVersionEngine) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type ServiceVersionService ¶
type ServiceVersionService struct { // Semantic Version string of the service implementation Version *string `json:"version,omitempty"` }
ServiceVersionService struct for ServiceVersionService
func NewServiceVersionService ¶
func NewServiceVersionService() *ServiceVersionService
NewServiceVersionService instantiates a new ServiceVersionService 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 NewServiceVersionServiceWithDefaults ¶
func NewServiceVersionServiceWithDefaults() *ServiceVersionService
NewServiceVersionServiceWithDefaults instantiates a new ServiceVersionService 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 (*ServiceVersionService) GetVersion ¶
func (o *ServiceVersionService) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServiceVersionService) GetVersionOk ¶
func (o *ServiceVersionService) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceVersionService) HasVersion ¶
func (o *ServiceVersionService) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServiceVersionService) MarshalJSON ¶
func (o ServiceVersionService) MarshalJSON() ([]byte, error)
func (*ServiceVersionService) SetVersion ¶
func (o *ServiceVersionService) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type StatusResponse ¶
type StatusResponse struct { Busy *bool `json:"busy,omitempty"` Up *bool `json:"up,omitempty"` Message *string `json:"message,omitempty"` }
StatusResponse System status response
func NewStatusResponse ¶
func NewStatusResponse() *StatusResponse
NewStatusResponse instantiates a new StatusResponse 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 NewStatusResponseWithDefaults ¶
func NewStatusResponseWithDefaults() *StatusResponse
NewStatusResponseWithDefaults instantiates a new StatusResponse 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 (*StatusResponse) GetBusy ¶
func (o *StatusResponse) GetBusy() bool
GetBusy returns the Busy field value if set, zero value otherwise.
func (*StatusResponse) GetBusyOk ¶
func (o *StatusResponse) GetBusyOk() (*bool, bool)
GetBusyOk returns a tuple with the Busy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatusResponse) GetMessage ¶
func (o *StatusResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*StatusResponse) GetMessageOk ¶
func (o *StatusResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatusResponse) GetUp ¶
func (o *StatusResponse) GetUp() bool
GetUp returns the Up field value if set, zero value otherwise.
func (*StatusResponse) GetUpOk ¶
func (o *StatusResponse) GetUpOk() (*bool, bool)
GetUpOk returns a tuple with the Up field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatusResponse) HasBusy ¶
func (o *StatusResponse) HasBusy() bool
HasBusy returns a boolean if a field has been set.
func (*StatusResponse) HasMessage ¶
func (o *StatusResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*StatusResponse) HasUp ¶
func (o *StatusResponse) HasUp() bool
HasUp returns a boolean if a field has been set.
func (StatusResponse) MarshalJSON ¶
func (o StatusResponse) MarshalJSON() ([]byte, error)
func (*StatusResponse) SetBusy ¶
func (o *StatusResponse) SetBusy(v bool)
SetBusy gets a reference to the given bool and assigns it to the Busy field.
func (*StatusResponse) SetMessage ¶
func (o *StatusResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*StatusResponse) SetUp ¶
func (o *StatusResponse) SetUp(v bool)
SetUp gets a reference to the given bool and assigns it to the Up field.
type TokenResponse ¶
type TokenResponse struct { // The token content Token string `json:"token"` }
TokenResponse An auth token for use in future requests as an Authorization header value of type 'bearer'
func NewTokenResponse ¶
func NewTokenResponse(token string) *TokenResponse
NewTokenResponse instantiates a new TokenResponse 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 NewTokenResponseWithDefaults ¶
func NewTokenResponseWithDefaults() *TokenResponse
NewTokenResponseWithDefaults instantiates a new TokenResponse 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 (*TokenResponse) GetToken ¶
func (o *TokenResponse) GetToken() string
GetToken returns the Token field value
func (*TokenResponse) GetTokenOk ¶
func (o *TokenResponse) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (TokenResponse) MarshalJSON ¶
func (o TokenResponse) MarshalJSON() ([]byte, error)
func (*TokenResponse) SetToken ¶
func (o *TokenResponse) SetToken(v string)
SetToken sets field value
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_account_role.go
- model_api_error_response.go
- model_permission.go
- model_role.go
- model_role_member.go
- model_role_membership.go
- model_role_summary.go
- model_saml_configuration.go
- model_service_version.go
- model_service_version_api.go
- model_service_version_db.go
- model_service_version_engine.go
- model_service_version_service.go
- model_status_response.go
- model_token_response.go
- response.go
- server_base_url.go
- utils.go