Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateDelegateRequest
- type ApiDeleteDelegateRequest
- type ApiEditDelegateRequest
- type ApiFetchDelegatesListRequest
- type ApiGetDelegateUserListRequest
- type BasicAuth
- type Configuration
- type CreateDelegateRequest
- func (o *CreateDelegateRequest) GetDelegateenddate() string
- func (o *CreateDelegateRequest) GetDelegateenddateOk() (*string, bool)
- func (o *CreateDelegateRequest) GetDelegatestartdate() string
- func (o *CreateDelegateRequest) GetDelegatestartdateOk() (*string, bool)
- func (o *CreateDelegateRequest) GetDelegateusername() string
- func (o *CreateDelegateRequest) GetDelegateusernameOk() (*string, bool)
- func (o *CreateDelegateRequest) GetDescription() string
- func (o *CreateDelegateRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateDelegateRequest) GetName() string
- func (o *CreateDelegateRequest) GetNameOk() (*string, bool)
- func (o *CreateDelegateRequest) GetParentusername() string
- func (o *CreateDelegateRequest) GetParentusernameOk() (*string, bool)
- func (o *CreateDelegateRequest) GetUserName() string
- func (o *CreateDelegateRequest) GetUserNameOk() (*string, bool)
- func (o *CreateDelegateRequest) HasDescription() bool
- func (o *CreateDelegateRequest) HasParentusername() bool
- func (o CreateDelegateRequest) MarshalJSON() ([]byte, error)
- func (o *CreateDelegateRequest) SetDelegateenddate(v string)
- func (o *CreateDelegateRequest) SetDelegatestartdate(v string)
- func (o *CreateDelegateRequest) SetDelegateusername(v string)
- func (o *CreateDelegateRequest) SetDescription(v string)
- func (o *CreateDelegateRequest) SetName(v string)
- func (o *CreateDelegateRequest) SetParentusername(v string)
- func (o *CreateDelegateRequest) SetUserName(v string)
- func (o CreateDelegateRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateDelegateRequest) UnmarshalJSON(data []byte) (err error)
- type CreateDelegateResponse
- func (o *CreateDelegateResponse) GetDelegatekey() string
- func (o *CreateDelegateResponse) GetDelegatekeyOk() (*string, bool)
- func (o *CreateDelegateResponse) GetErrorCode() string
- func (o *CreateDelegateResponse) GetErrorCodeOk() (*string, bool)
- func (o *CreateDelegateResponse) GetMsg() string
- func (o *CreateDelegateResponse) GetMsgOk() (*string, bool)
- func (o *CreateDelegateResponse) HasDelegatekey() bool
- func (o CreateDelegateResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDelegateResponse) SetDelegatekey(v string)
- func (o *CreateDelegateResponse) SetErrorCode(v string)
- func (o *CreateDelegateResponse) SetMsg(v string)
- func (o CreateDelegateResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateDelegateResponse) UnmarshalJSON(data []byte) (err error)
- type Delegate
- func (o *Delegate) GetDelegateFirstName() string
- func (o *Delegate) GetDelegateFirstNameOk() (*string, bool)
- func (o *Delegate) GetDelegateLastName() string
- func (o *Delegate) GetDelegateLastNameOk() (*string, bool)
- func (o *Delegate) GetDelegatekey() string
- func (o *Delegate) GetDelegatekeyOk() (*string, bool)
- func (o *Delegate) GetDelegateusername() string
- func (o *Delegate) GetDelegateusernameOk() (*string, bool)
- func (o *Delegate) GetDescription() string
- func (o *Delegate) GetDescriptionOk() (*string, bool)
- func (o *Delegate) GetEnddate() string
- func (o *Delegate) GetEnddateOk() (*string, bool)
- func (o *Delegate) GetName() string
- func (o *Delegate) GetNameOk() (*string, bool)
- func (o *Delegate) GetParentFirstName() string
- func (o *Delegate) GetParentFirstNameOk() (*string, bool)
- func (o *Delegate) GetParentLastName() string
- func (o *Delegate) GetParentLastNameOk() (*string, bool)
- func (o *Delegate) GetParentusername() string
- func (o *Delegate) GetParentusernameOk() (*string, bool)
- func (o *Delegate) GetStartdate() string
- func (o *Delegate) GetStartdateOk() (*string, bool)
- func (o *Delegate) GetStatus() string
- func (o *Delegate) GetStatusOk() (*string, bool)
- func (o *Delegate) HasDelegateFirstName() bool
- func (o *Delegate) HasDelegateLastName() bool
- func (o *Delegate) HasParentFirstName() bool
- func (o *Delegate) HasParentLastName() bool
- func (o Delegate) MarshalJSON() ([]byte, error)
- func (o *Delegate) SetDelegateFirstName(v string)
- func (o *Delegate) SetDelegateLastName(v string)
- func (o *Delegate) SetDelegatekey(v string)
- func (o *Delegate) SetDelegateusername(v string)
- func (o *Delegate) SetDescription(v string)
- func (o *Delegate) SetEnddate(v string)
- func (o *Delegate) SetName(v string)
- func (o *Delegate) SetParentFirstName(v string)
- func (o *Delegate) SetParentLastName(v string)
- func (o *Delegate) SetParentusername(v string)
- func (o *Delegate) SetStartdate(v string)
- func (o *Delegate) SetStatus(v string)
- func (o Delegate) ToMap() (map[string]interface{}, error)
- func (o *Delegate) UnmarshalJSON(data []byte) (err error)
- type DelegateUser
- func (o *DelegateUser) GetFirstname() string
- func (o *DelegateUser) GetFirstnameOk() (*string, bool)
- func (o *DelegateUser) GetLastname() string
- func (o *DelegateUser) GetLastnameOk() (*string, bool)
- func (o *DelegateUser) GetUsername() string
- func (o *DelegateUser) GetUsernameOk() (*string, bool)
- func (o DelegateUser) MarshalJSON() ([]byte, error)
- func (o *DelegateUser) SetFirstname(v string)
- func (o *DelegateUser) SetLastname(v string)
- func (o *DelegateUser) SetUsername(v string)
- func (o DelegateUser) ToMap() (map[string]interface{}, error)
- func (o *DelegateUser) UnmarshalJSON(data []byte) (err error)
- type DelegatedAdministrationAPIService
- func (a *DelegatedAdministrationAPIService) CreateDelegate(ctx context.Context) ApiCreateDelegateRequest
- func (a *DelegatedAdministrationAPIService) CreateDelegateExecute(r ApiCreateDelegateRequest) (*CreateDelegateResponse, *http.Response, error)
- func (a *DelegatedAdministrationAPIService) DeleteDelegate(ctx context.Context) ApiDeleteDelegateRequest
- func (a *DelegatedAdministrationAPIService) DeleteDelegateExecute(r ApiDeleteDelegateRequest) (*Response, *http.Response, error)
- func (a *DelegatedAdministrationAPIService) EditDelegate(ctx context.Context) ApiEditDelegateRequest
- func (a *DelegatedAdministrationAPIService) EditDelegateExecute(r ApiEditDelegateRequest) (*Response, *http.Response, error)
- func (a *DelegatedAdministrationAPIService) FetchDelegatesList(ctx context.Context) ApiFetchDelegatesListRequest
- func (a *DelegatedAdministrationAPIService) FetchDelegatesListExecute(r ApiFetchDelegatesListRequest) (*FetchDelegatesListResponse, *http.Response, error)
- func (a *DelegatedAdministrationAPIService) GetDelegateUserList(ctx context.Context) ApiGetDelegateUserListRequest
- func (a *DelegatedAdministrationAPIService) GetDelegateUserListExecute(r ApiGetDelegateUserListRequest) (*GetDelegateUserListResponse, *http.Response, error)
- type EditDelegateRequest
- func (o *EditDelegateRequest) GetDelegateenddate() string
- func (o *EditDelegateRequest) GetDelegateenddateOk() (*string, bool)
- func (o *EditDelegateRequest) GetDelegatestartdate() string
- func (o *EditDelegateRequest) GetDelegatestartdateOk() (*string, bool)
- func (o *EditDelegateRequest) GetDelegateusername() string
- func (o *EditDelegateRequest) GetDelegateusernameOk() (*string, bool)
- func (o *EditDelegateRequest) GetDescription() string
- func (o *EditDelegateRequest) GetDescriptionOk() (*string, bool)
- func (o *EditDelegateRequest) GetKey() string
- func (o *EditDelegateRequest) GetKeyOk() (*string, bool)
- func (o *EditDelegateRequest) GetName() string
- func (o *EditDelegateRequest) GetNameOk() (*string, bool)
- func (o *EditDelegateRequest) GetParentusername() string
- func (o *EditDelegateRequest) GetParentusernameOk() (*string, bool)
- func (o *EditDelegateRequest) GetUserName() string
- func (o *EditDelegateRequest) GetUserNameOk() (*string, bool)
- func (o *EditDelegateRequest) HasDescription() bool
- func (o *EditDelegateRequest) HasParentusername() bool
- func (o EditDelegateRequest) MarshalJSON() ([]byte, error)
- func (o *EditDelegateRequest) SetDelegateenddate(v string)
- func (o *EditDelegateRequest) SetDelegatestartdate(v string)
- func (o *EditDelegateRequest) SetDelegateusername(v string)
- func (o *EditDelegateRequest) SetDescription(v string)
- func (o *EditDelegateRequest) SetKey(v string)
- func (o *EditDelegateRequest) SetName(v string)
- func (o *EditDelegateRequest) SetParentusername(v string)
- func (o *EditDelegateRequest) SetUserName(v string)
- func (o EditDelegateRequest) ToMap() (map[string]interface{}, error)
- func (o *EditDelegateRequest) UnmarshalJSON(data []byte) (err error)
- type FetchDelegatesListRequest
- func (o *FetchDelegatesListRequest) GetMax() int32
- func (o *FetchDelegatesListRequest) GetMaxOk() (*int32, bool)
- func (o *FetchDelegatesListRequest) GetOffset() int32
- func (o *FetchDelegatesListRequest) GetOffsetOk() (*int32, bool)
- func (o *FetchDelegatesListRequest) GetStatus() string
- func (o *FetchDelegatesListRequest) GetStatusOk() (*string, bool)
- func (o *FetchDelegatesListRequest) GetUserName() string
- func (o *FetchDelegatesListRequest) GetUserNameOk() (*string, bool)
- func (o *FetchDelegatesListRequest) HasMax() bool
- func (o *FetchDelegatesListRequest) HasOffset() bool
- func (o *FetchDelegatesListRequest) HasStatus() bool
- func (o FetchDelegatesListRequest) MarshalJSON() ([]byte, error)
- func (o *FetchDelegatesListRequest) SetMax(v int32)
- func (o *FetchDelegatesListRequest) SetOffset(v int32)
- func (o *FetchDelegatesListRequest) SetStatus(v string)
- func (o *FetchDelegatesListRequest) SetUserName(v string)
- func (o FetchDelegatesListRequest) ToMap() (map[string]interface{}, error)
- func (o *FetchDelegatesListRequest) UnmarshalJSON(data []byte) (err error)
- type FetchDelegatesListResponse
- func (o *FetchDelegatesListResponse) GetDelegateCount() int32
- func (o *FetchDelegatesListResponse) GetDelegateCountOk() (*int32, bool)
- func (o *FetchDelegatesListResponse) GetDelegateList() []Delegate
- func (o *FetchDelegatesListResponse) GetDelegateListOk() ([]Delegate, bool)
- func (o *FetchDelegatesListResponse) GetErrorCode() string
- func (o *FetchDelegatesListResponse) GetErrorCodeOk() (*string, bool)
- func (o *FetchDelegatesListResponse) GetMsg() string
- func (o *FetchDelegatesListResponse) GetMsgOk() (*string, bool)
- func (o *FetchDelegatesListResponse) GetTotalCount() string
- func (o *FetchDelegatesListResponse) GetTotalCountOk() (*string, bool)
- func (o *FetchDelegatesListResponse) HasDelegateCount() bool
- func (o *FetchDelegatesListResponse) HasTotalCount() bool
- func (o FetchDelegatesListResponse) MarshalJSON() ([]byte, error)
- func (o *FetchDelegatesListResponse) SetDelegateCount(v int32)
- func (o *FetchDelegatesListResponse) SetDelegateList(v []Delegate)
- func (o *FetchDelegatesListResponse) SetErrorCode(v string)
- func (o *FetchDelegatesListResponse) SetMsg(v string)
- func (o *FetchDelegatesListResponse) SetTotalCount(v string)
- func (o FetchDelegatesListResponse) ToMap() (map[string]interface{}, error)
- func (o *FetchDelegatesListResponse) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GetDelegateUserListRequest
- func (o *GetDelegateUserListRequest) GetMax() int32
- func (o *GetDelegateUserListRequest) GetMaxOk() (*int32, bool)
- func (o *GetDelegateUserListRequest) GetOffset() int32
- func (o *GetDelegateUserListRequest) GetOffsetOk() (*int32, bool)
- func (o *GetDelegateUserListRequest) GetParentusername() string
- func (o *GetDelegateUserListRequest) GetParentusernameOk() (*string, bool)
- func (o *GetDelegateUserListRequest) GetSearchCriteria() string
- func (o *GetDelegateUserListRequest) GetSearchCriteriaOk() (*string, bool)
- func (o *GetDelegateUserListRequest) HasMax() bool
- func (o *GetDelegateUserListRequest) HasOffset() bool
- func (o *GetDelegateUserListRequest) HasSearchCriteria() bool
- func (o GetDelegateUserListRequest) MarshalJSON() ([]byte, error)
- func (o *GetDelegateUserListRequest) SetMax(v int32)
- func (o *GetDelegateUserListRequest) SetOffset(v int32)
- func (o *GetDelegateUserListRequest) SetParentusername(v string)
- func (o *GetDelegateUserListRequest) SetSearchCriteria(v string)
- func (o GetDelegateUserListRequest) ToMap() (map[string]interface{}, error)
- func (o *GetDelegateUserListRequest) UnmarshalJSON(data []byte) (err error)
- type GetDelegateUserListResponse
- func (o *GetDelegateUserListResponse) GetDisplayCount() string
- func (o *GetDelegateUserListResponse) GetDisplayCountOk() (*string, bool)
- func (o *GetDelegateUserListResponse) GetErrorCode() string
- func (o *GetDelegateUserListResponse) GetErrorCodeOk() (*string, bool)
- func (o *GetDelegateUserListResponse) GetMsg() string
- func (o *GetDelegateUserListResponse) GetMsgOk() (*string, bool)
- func (o *GetDelegateUserListResponse) GetResult() []DelegateUser
- func (o *GetDelegateUserListResponse) GetResultOk() ([]DelegateUser, bool)
- func (o *GetDelegateUserListResponse) GetTotalCount() string
- func (o *GetDelegateUserListResponse) GetTotalCountOk() (*string, bool)
- func (o *GetDelegateUserListResponse) HasDisplayCount() bool
- func (o *GetDelegateUserListResponse) HasErrorCode() bool
- func (o *GetDelegateUserListResponse) HasMsg() bool
- func (o *GetDelegateUserListResponse) HasResult() bool
- func (o *GetDelegateUserListResponse) HasTotalCount() bool
- func (o GetDelegateUserListResponse) MarshalJSON() ([]byte, error)
- func (o *GetDelegateUserListResponse) SetDisplayCount(v string)
- func (o *GetDelegateUserListResponse) SetErrorCode(v string)
- func (o *GetDelegateUserListResponse) SetMsg(v string)
- func (o *GetDelegateUserListResponse) SetResult(v []DelegateUser)
- func (o *GetDelegateUserListResponse) SetTotalCount(v string)
- func (o GetDelegateUserListResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableCreateDelegateRequest
- func (v NullableCreateDelegateRequest) Get() *CreateDelegateRequest
- func (v NullableCreateDelegateRequest) IsSet() bool
- func (v NullableCreateDelegateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDelegateRequest) Set(val *CreateDelegateRequest)
- func (v *NullableCreateDelegateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDelegateRequest) Unset()
- type NullableCreateDelegateResponse
- func (v NullableCreateDelegateResponse) Get() *CreateDelegateResponse
- func (v NullableCreateDelegateResponse) IsSet() bool
- func (v NullableCreateDelegateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDelegateResponse) Set(val *CreateDelegateResponse)
- func (v *NullableCreateDelegateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDelegateResponse) Unset()
- type NullableDelegate
- type NullableDelegateUser
- func (v NullableDelegateUser) Get() *DelegateUser
- func (v NullableDelegateUser) IsSet() bool
- func (v NullableDelegateUser) MarshalJSON() ([]byte, error)
- func (v *NullableDelegateUser) Set(val *DelegateUser)
- func (v *NullableDelegateUser) UnmarshalJSON(src []byte) error
- func (v *NullableDelegateUser) Unset()
- type NullableEditDelegateRequest
- func (v NullableEditDelegateRequest) Get() *EditDelegateRequest
- func (v NullableEditDelegateRequest) IsSet() bool
- func (v NullableEditDelegateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEditDelegateRequest) Set(val *EditDelegateRequest)
- func (v *NullableEditDelegateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEditDelegateRequest) Unset()
- type NullableFetchDelegatesListRequest
- func (v NullableFetchDelegatesListRequest) Get() *FetchDelegatesListRequest
- func (v NullableFetchDelegatesListRequest) IsSet() bool
- func (v NullableFetchDelegatesListRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFetchDelegatesListRequest) Set(val *FetchDelegatesListRequest)
- func (v *NullableFetchDelegatesListRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFetchDelegatesListRequest) Unset()
- type NullableFetchDelegatesListResponse
- func (v NullableFetchDelegatesListResponse) Get() *FetchDelegatesListResponse
- func (v NullableFetchDelegatesListResponse) IsSet() bool
- func (v NullableFetchDelegatesListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFetchDelegatesListResponse) Set(val *FetchDelegatesListResponse)
- func (v *NullableFetchDelegatesListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFetchDelegatesListResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetDelegateUserListRequest
- func (v NullableGetDelegateUserListRequest) Get() *GetDelegateUserListRequest
- func (v NullableGetDelegateUserListRequest) IsSet() bool
- func (v NullableGetDelegateUserListRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetDelegateUserListRequest) Set(val *GetDelegateUserListRequest)
- func (v *NullableGetDelegateUserListRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetDelegateUserListRequest) Unset()
- type NullableGetDelegateUserListResponse
- func (v NullableGetDelegateUserListResponse) Get() *GetDelegateUserListResponse
- func (v NullableGetDelegateUserListResponse) IsSet() bool
- func (v NullableGetDelegateUserListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetDelegateUserListResponse) Set(val *GetDelegateUserListResponse)
- func (v *NullableGetDelegateUserListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetDelegateUserListResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableResponse
- type NullableString
- type NullableTime
- type Response
- func (o *Response) GetErrorCode() string
- func (o *Response) GetErrorCodeOk() (*string, bool)
- func (o *Response) GetMsg() string
- func (o *Response) GetMsgOk() (*string, bool)
- func (o Response) MarshalJSON() ([]byte, error)
- func (o *Response) SetErrorCode(v string)
- func (o *Response) SetMsg(v string)
- func (o Response) ToMap() (map[string]interface{}, error)
- func (o *Response) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // 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 { DelegatedAdministrationAPI *DelegatedAdministrationAPIService // contains filtered or unexported fields }
APIClient manages communication with the Saviynt Delegated Administration API API v1.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 ApiCreateDelegateRequest ¶
type ApiCreateDelegateRequest struct { ApiService *DelegatedAdministrationAPIService // contains filtered or unexported fields }
func (ApiCreateDelegateRequest) CreateDelegateRequest ¶
func (r ApiCreateDelegateRequest) CreateDelegateRequest(createDelegateRequest CreateDelegateRequest) ApiCreateDelegateRequest
func (ApiCreateDelegateRequest) Execute ¶
func (r ApiCreateDelegateRequest) Execute() (*CreateDelegateResponse, *http.Response, error)
type ApiDeleteDelegateRequest ¶
type ApiDeleteDelegateRequest struct { ApiService *DelegatedAdministrationAPIService // contains filtered or unexported fields }
func (ApiDeleteDelegateRequest) Execute ¶
func (r ApiDeleteDelegateRequest) Execute() (*Response, *http.Response, error)
func (ApiDeleteDelegateRequest) Key ¶
func (r ApiDeleteDelegateRequest) Key(key string) ApiDeleteDelegateRequest
the is the delegatekey
func (ApiDeleteDelegateRequest) UserName ¶
func (r ApiDeleteDelegateRequest) UserName(userName string) ApiDeleteDelegateRequest
this is the user who is deleting the delegate
type ApiEditDelegateRequest ¶
type ApiEditDelegateRequest struct { ApiService *DelegatedAdministrationAPIService // contains filtered or unexported fields }
func (ApiEditDelegateRequest) EditDelegateRequest ¶
func (r ApiEditDelegateRequest) EditDelegateRequest(editDelegateRequest EditDelegateRequest) ApiEditDelegateRequest
type ApiFetchDelegatesListRequest ¶
type ApiFetchDelegatesListRequest struct { ApiService *DelegatedAdministrationAPIService // contains filtered or unexported fields }
func (ApiFetchDelegatesListRequest) Execute ¶
func (r ApiFetchDelegatesListRequest) Execute() (*FetchDelegatesListResponse, *http.Response, error)
func (ApiFetchDelegatesListRequest) FetchDelegatesListRequest ¶
func (r ApiFetchDelegatesListRequest) FetchDelegatesListRequest(fetchDelegatesListRequest FetchDelegatesListRequest) ApiFetchDelegatesListRequest
type ApiGetDelegateUserListRequest ¶
type ApiGetDelegateUserListRequest struct { ApiService *DelegatedAdministrationAPIService // contains filtered or unexported fields }
func (ApiGetDelegateUserListRequest) Execute ¶
func (r ApiGetDelegateUserListRequest) Execute() (*GetDelegateUserListResponse, *http.Response, error)
func (ApiGetDelegateUserListRequest) GetDelegateUserListRequest ¶
func (r ApiGetDelegateUserListRequest) GetDelegateUserListRequest(getDelegateUserListRequest GetDelegateUserListRequest) ApiGetDelegateUserListRequest
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 }
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 CreateDelegateRequest ¶
type CreateDelegateRequest struct { // this is user who is creating the delegation UserName string `json:"userName"` // name of delegate. Name string `json:"name"` // This is the user who should be assigned as the delegate of the parent user. It must match `username` in `GetDelegateUserList` API response. Delegateusername string `json:"delegateusername"` // in format MMDDYYY Delegatestartdate string `json:"delegatestartdate"` // in format MMDDYYY Delegateenddate string `json:"delegateenddate"` // this is the parent username, if not passed it will consider` userNam`e as parentusername Parentusername *string `json:"parentusername,omitempty"` Description *string `json:"description,omitempty"` }
CreateDelegateRequest struct for CreateDelegateRequest
func NewCreateDelegateRequest ¶
func NewCreateDelegateRequest(userName string, name string, delegateusername string, delegatestartdate string, delegateenddate string) *CreateDelegateRequest
NewCreateDelegateRequest instantiates a new CreateDelegateRequest 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 NewCreateDelegateRequestWithDefaults ¶
func NewCreateDelegateRequestWithDefaults() *CreateDelegateRequest
NewCreateDelegateRequestWithDefaults instantiates a new CreateDelegateRequest 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 (*CreateDelegateRequest) GetDelegateenddate ¶
func (o *CreateDelegateRequest) GetDelegateenddate() string
GetDelegateenddate returns the Delegateenddate field value
func (*CreateDelegateRequest) GetDelegateenddateOk ¶
func (o *CreateDelegateRequest) GetDelegateenddateOk() (*string, bool)
GetDelegateenddateOk returns a tuple with the Delegateenddate field value and a boolean to check if the value has been set.
func (*CreateDelegateRequest) GetDelegatestartdate ¶
func (o *CreateDelegateRequest) GetDelegatestartdate() string
GetDelegatestartdate returns the Delegatestartdate field value
func (*CreateDelegateRequest) GetDelegatestartdateOk ¶
func (o *CreateDelegateRequest) GetDelegatestartdateOk() (*string, bool)
GetDelegatestartdateOk returns a tuple with the Delegatestartdate field value and a boolean to check if the value has been set.
func (*CreateDelegateRequest) GetDelegateusername ¶
func (o *CreateDelegateRequest) GetDelegateusername() string
GetDelegateusername returns the Delegateusername field value
func (*CreateDelegateRequest) GetDelegateusernameOk ¶
func (o *CreateDelegateRequest) GetDelegateusernameOk() (*string, bool)
GetDelegateusernameOk returns a tuple with the Delegateusername field value and a boolean to check if the value has been set.
func (*CreateDelegateRequest) GetDescription ¶
func (o *CreateDelegateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateDelegateRequest) GetDescriptionOk ¶
func (o *CreateDelegateRequest) 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 (*CreateDelegateRequest) GetName ¶
func (o *CreateDelegateRequest) GetName() string
GetName returns the Name field value
func (*CreateDelegateRequest) GetNameOk ¶
func (o *CreateDelegateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDelegateRequest) GetParentusername ¶
func (o *CreateDelegateRequest) GetParentusername() string
GetParentusername returns the Parentusername field value if set, zero value otherwise.
func (*CreateDelegateRequest) GetParentusernameOk ¶
func (o *CreateDelegateRequest) GetParentusernameOk() (*string, bool)
GetParentusernameOk returns a tuple with the Parentusername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDelegateRequest) GetUserName ¶
func (o *CreateDelegateRequest) GetUserName() string
GetUserName returns the UserName field value
func (*CreateDelegateRequest) GetUserNameOk ¶
func (o *CreateDelegateRequest) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field value and a boolean to check if the value has been set.
func (*CreateDelegateRequest) HasDescription ¶
func (o *CreateDelegateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateDelegateRequest) HasParentusername ¶
func (o *CreateDelegateRequest) HasParentusername() bool
HasParentusername returns a boolean if a field has been set.
func (CreateDelegateRequest) MarshalJSON ¶
func (o CreateDelegateRequest) MarshalJSON() ([]byte, error)
func (*CreateDelegateRequest) SetDelegateenddate ¶
func (o *CreateDelegateRequest) SetDelegateenddate(v string)
SetDelegateenddate sets field value
func (*CreateDelegateRequest) SetDelegatestartdate ¶
func (o *CreateDelegateRequest) SetDelegatestartdate(v string)
SetDelegatestartdate sets field value
func (*CreateDelegateRequest) SetDelegateusername ¶
func (o *CreateDelegateRequest) SetDelegateusername(v string)
SetDelegateusername sets field value
func (*CreateDelegateRequest) SetDescription ¶
func (o *CreateDelegateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateDelegateRequest) SetName ¶
func (o *CreateDelegateRequest) SetName(v string)
SetName sets field value
func (*CreateDelegateRequest) SetParentusername ¶
func (o *CreateDelegateRequest) SetParentusername(v string)
SetParentusername gets a reference to the given string and assigns it to the Parentusername field.
func (*CreateDelegateRequest) SetUserName ¶
func (o *CreateDelegateRequest) SetUserName(v string)
SetUserName sets field value
func (CreateDelegateRequest) ToMap ¶
func (o CreateDelegateRequest) ToMap() (map[string]interface{}, error)
func (*CreateDelegateRequest) UnmarshalJSON ¶
func (o *CreateDelegateRequest) UnmarshalJSON(data []byte) (err error)
type CreateDelegateResponse ¶
type CreateDelegateResponse struct { Msg string `json:"msg"` Delegatekey *string `json:"delegatekey,omitempty"` ErrorCode string `json:"errorCode"` }
CreateDelegateResponse struct for CreateDelegateResponse
func NewCreateDelegateResponse ¶
func NewCreateDelegateResponse(msg string, errorCode string) *CreateDelegateResponse
NewCreateDelegateResponse instantiates a new CreateDelegateResponse 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 NewCreateDelegateResponseWithDefaults ¶
func NewCreateDelegateResponseWithDefaults() *CreateDelegateResponse
NewCreateDelegateResponseWithDefaults instantiates a new CreateDelegateResponse 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 (*CreateDelegateResponse) GetDelegatekey ¶
func (o *CreateDelegateResponse) GetDelegatekey() string
GetDelegatekey returns the Delegatekey field value if set, zero value otherwise.
func (*CreateDelegateResponse) GetDelegatekeyOk ¶
func (o *CreateDelegateResponse) GetDelegatekeyOk() (*string, bool)
GetDelegatekeyOk returns a tuple with the Delegatekey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDelegateResponse) GetErrorCode ¶
func (o *CreateDelegateResponse) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*CreateDelegateResponse) GetErrorCodeOk ¶
func (o *CreateDelegateResponse) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*CreateDelegateResponse) GetMsg ¶
func (o *CreateDelegateResponse) GetMsg() string
GetMsg returns the Msg field value
func (*CreateDelegateResponse) GetMsgOk ¶
func (o *CreateDelegateResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*CreateDelegateResponse) HasDelegatekey ¶
func (o *CreateDelegateResponse) HasDelegatekey() bool
HasDelegatekey returns a boolean if a field has been set.
func (CreateDelegateResponse) MarshalJSON ¶
func (o CreateDelegateResponse) MarshalJSON() ([]byte, error)
func (*CreateDelegateResponse) SetDelegatekey ¶
func (o *CreateDelegateResponse) SetDelegatekey(v string)
SetDelegatekey gets a reference to the given string and assigns it to the Delegatekey field.
func (*CreateDelegateResponse) SetErrorCode ¶
func (o *CreateDelegateResponse) SetErrorCode(v string)
SetErrorCode sets field value
func (*CreateDelegateResponse) SetMsg ¶
func (o *CreateDelegateResponse) SetMsg(v string)
SetMsg sets field value
func (CreateDelegateResponse) ToMap ¶
func (o CreateDelegateResponse) ToMap() (map[string]interface{}, error)
func (*CreateDelegateResponse) UnmarshalJSON ¶ added in v0.4.0
func (o *CreateDelegateResponse) UnmarshalJSON(data []byte) (err error)
type Delegate ¶
type Delegate struct { Delegatekey string `json:"delegatekey"` Name string `json:"name"` Description string `json:"description"` Parentusername string `json:"parentusername"` ParentFirstName *string `json:"parentFirstName,omitempty"` ParentLastName *string `json:"parentLastName,omitempty"` DelegateFirstName *string `json:"delegateFirstName,omitempty"` DelegateLastName *string `json:"delegateLastName,omitempty"` Status string `json:"status"` Delegateusername string `json:"delegateusername"` // date format 07/14/2020 Startdate string `json:"startdate"` // date with format 07/14/2020 Enddate string `json:"enddate"` }
Delegate Delegate represents a Deleate returne dfrom the Fetch Eisting Delegates List API.
func NewDelegate ¶
func NewDelegate(delegatekey string, name string, description string, parentusername string, status string, delegateusername string, startdate string, enddate string) *Delegate
NewDelegate instantiates a new Delegate 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 NewDelegateWithDefaults ¶
func NewDelegateWithDefaults() *Delegate
NewDelegateWithDefaults instantiates a new Delegate 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 (*Delegate) GetDelegateFirstName ¶
GetDelegateFirstName returns the DelegateFirstName field value if set, zero value otherwise.
func (*Delegate) GetDelegateFirstNameOk ¶
GetDelegateFirstNameOk returns a tuple with the DelegateFirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Delegate) GetDelegateLastName ¶
GetDelegateLastName returns the DelegateLastName field value if set, zero value otherwise.
func (*Delegate) GetDelegateLastNameOk ¶
GetDelegateLastNameOk returns a tuple with the DelegateLastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Delegate) GetDelegatekey ¶
GetDelegatekey returns the Delegatekey field value
func (*Delegate) GetDelegatekeyOk ¶
GetDelegatekeyOk returns a tuple with the Delegatekey field value and a boolean to check if the value has been set.
func (*Delegate) GetDelegateusername ¶
GetDelegateusername returns the Delegateusername field value
func (*Delegate) GetDelegateusernameOk ¶
GetDelegateusernameOk returns a tuple with the Delegateusername field value and a boolean to check if the value has been set.
func (*Delegate) GetDescription ¶
GetDescription returns the Description field value
func (*Delegate) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Delegate) GetEnddate ¶
GetEnddate returns the Enddate field value
func (*Delegate) GetEnddateOk ¶
GetEnddateOk returns a tuple with the Enddate field value and a boolean to check if the value has been set.
func (*Delegate) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Delegate) GetParentFirstName ¶
GetParentFirstName returns the ParentFirstName field value if set, zero value otherwise.
func (*Delegate) GetParentFirstNameOk ¶
GetParentFirstNameOk returns a tuple with the ParentFirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Delegate) GetParentLastName ¶
GetParentLastName returns the ParentLastName field value if set, zero value otherwise.
func (*Delegate) GetParentLastNameOk ¶
GetParentLastNameOk returns a tuple with the ParentLastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Delegate) GetParentusername ¶
GetParentusername returns the Parentusername field value
func (*Delegate) GetParentusernameOk ¶
GetParentusernameOk returns a tuple with the Parentusername field value and a boolean to check if the value has been set.
func (*Delegate) GetStartdate ¶
GetStartdate returns the Startdate field value
func (*Delegate) GetStartdateOk ¶
GetStartdateOk returns a tuple with the Startdate field value and a boolean to check if the value has been set.
func (*Delegate) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Delegate) HasDelegateFirstName ¶
HasDelegateFirstName returns a boolean if a field has been set.
func (*Delegate) HasDelegateLastName ¶
HasDelegateLastName returns a boolean if a field has been set.
func (*Delegate) HasParentFirstName ¶
HasParentFirstName returns a boolean if a field has been set.
func (*Delegate) HasParentLastName ¶
HasParentLastName returns a boolean if a field has been set.
func (Delegate) MarshalJSON ¶
func (*Delegate) SetDelegateFirstName ¶
SetDelegateFirstName gets a reference to the given string and assigns it to the DelegateFirstName field.
func (*Delegate) SetDelegateLastName ¶
SetDelegateLastName gets a reference to the given string and assigns it to the DelegateLastName field.
func (*Delegate) SetDelegatekey ¶
SetDelegatekey sets field value
func (*Delegate) SetDelegateusername ¶
SetDelegateusername sets field value
func (*Delegate) SetDescription ¶
SetDescription sets field value
func (*Delegate) SetParentFirstName ¶
SetParentFirstName gets a reference to the given string and assigns it to the ParentFirstName field.
func (*Delegate) SetParentLastName ¶
SetParentLastName gets a reference to the given string and assigns it to the ParentLastName field.
func (*Delegate) SetParentusername ¶
SetParentusername sets field value
func (*Delegate) SetStartdate ¶
SetStartdate sets field value
func (*Delegate) UnmarshalJSON ¶ added in v0.4.0
type DelegateUser ¶
type DelegateUser struct { Firstname string `json:"firstname"` Lastname string `json:"lastname"` // This value is used in the `createDelegate` API. Username string `json:"username"` }
DelegateUser struct for DelegateUser
func NewDelegateUser ¶
func NewDelegateUser(firstname string, lastname string, username string) *DelegateUser
NewDelegateUser instantiates a new DelegateUser 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 NewDelegateUserWithDefaults ¶
func NewDelegateUserWithDefaults() *DelegateUser
NewDelegateUserWithDefaults instantiates a new DelegateUser 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 (*DelegateUser) GetFirstname ¶
func (o *DelegateUser) GetFirstname() string
GetFirstname returns the Firstname field value
func (*DelegateUser) GetFirstnameOk ¶
func (o *DelegateUser) GetFirstnameOk() (*string, bool)
GetFirstnameOk returns a tuple with the Firstname field value and a boolean to check if the value has been set.
func (*DelegateUser) GetLastname ¶
func (o *DelegateUser) GetLastname() string
GetLastname returns the Lastname field value
func (*DelegateUser) GetLastnameOk ¶
func (o *DelegateUser) GetLastnameOk() (*string, bool)
GetLastnameOk returns a tuple with the Lastname field value and a boolean to check if the value has been set.
func (*DelegateUser) GetUsername ¶
func (o *DelegateUser) GetUsername() string
GetUsername returns the Username field value
func (*DelegateUser) GetUsernameOk ¶
func (o *DelegateUser) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (DelegateUser) MarshalJSON ¶
func (o DelegateUser) MarshalJSON() ([]byte, error)
func (*DelegateUser) SetFirstname ¶
func (o *DelegateUser) SetFirstname(v string)
SetFirstname sets field value
func (*DelegateUser) SetLastname ¶
func (o *DelegateUser) SetLastname(v string)
SetLastname sets field value
func (*DelegateUser) SetUsername ¶
func (o *DelegateUser) SetUsername(v string)
SetUsername sets field value
func (DelegateUser) ToMap ¶
func (o DelegateUser) ToMap() (map[string]interface{}, error)
func (*DelegateUser) UnmarshalJSON ¶ added in v0.4.0
func (o *DelegateUser) UnmarshalJSON(data []byte) (err error)
type DelegatedAdministrationAPIService ¶
type DelegatedAdministrationAPIService service
DelegatedAdministrationAPIService DelegatedAdministrationAPI service
func (*DelegatedAdministrationAPIService) CreateDelegate ¶
func (a *DelegatedAdministrationAPIService) CreateDelegate(ctx context.Context) ApiCreateDelegateRequest
CreateDelegate Create Delegate
This method creates a new delegate for a parent User. The input parameters of this method contains the details of the Parent User as well as the one to whom the Delegation is carried out.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDelegateRequest
func (*DelegatedAdministrationAPIService) CreateDelegateExecute ¶
func (a *DelegatedAdministrationAPIService) CreateDelegateExecute(r ApiCreateDelegateRequest) (*CreateDelegateResponse, *http.Response, error)
Execute executes the request
@return CreateDelegateResponse
func (*DelegatedAdministrationAPIService) DeleteDelegate ¶
func (a *DelegatedAdministrationAPIService) DeleteDelegate(ctx context.Context) ApiDeleteDelegateRequest
DeleteDelegate Delete Delegate
This API is used to delete a specific delegate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteDelegateRequest
func (*DelegatedAdministrationAPIService) DeleteDelegateExecute ¶
func (a *DelegatedAdministrationAPIService) DeleteDelegateExecute(r ApiDeleteDelegateRequest) (*Response, *http.Response, error)
Execute executes the request
@return Response
func (*DelegatedAdministrationAPIService) EditDelegate ¶
func (a *DelegatedAdministrationAPIService) EditDelegate(ctx context.Context) ApiEditDelegateRequest
EditDelegate Edit Delegate
This method is used to edit a specific delegate. The input parameters of this method contain the details of the Parent User as well as the one to whom the Delegation is carried out.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEditDelegateRequest
func (*DelegatedAdministrationAPIService) EditDelegateExecute ¶
func (a *DelegatedAdministrationAPIService) EditDelegateExecute(r ApiEditDelegateRequest) (*Response, *http.Response, error)
Execute executes the request
@return Response
func (*DelegatedAdministrationAPIService) FetchDelegatesList ¶
func (a *DelegatedAdministrationAPIService) FetchDelegatesList(ctx context.Context) ApiFetchDelegatesListRequest
FetchDelegatesList Fetch Existing Delegates List
This API is used to retrieve the list of existing delegates and their details. If any optional parameter is not specified then only active delegates are displayed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFetchDelegatesListRequest
func (*DelegatedAdministrationAPIService) FetchDelegatesListExecute ¶
func (a *DelegatedAdministrationAPIService) FetchDelegatesListExecute(r ApiFetchDelegatesListRequest) (*FetchDelegatesListResponse, *http.Response, error)
Execute executes the request
@return FetchDelegatesListResponse
func (*DelegatedAdministrationAPIService) GetDelegateUserList ¶
func (a *DelegatedAdministrationAPIService) GetDelegateUserList(ctx context.Context) ApiGetDelegateUserListRequest
GetDelegateUserList Get Delegate User List
This API returns list of users that are allowed to be added as delegate for a parentuser in SSM.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDelegateUserListRequest
func (*DelegatedAdministrationAPIService) GetDelegateUserListExecute ¶
func (a *DelegatedAdministrationAPIService) GetDelegateUserListExecute(r ApiGetDelegateUserListRequest) (*GetDelegateUserListResponse, *http.Response, error)
Execute executes the request
@return GetDelegateUserListResponse
type EditDelegateRequest ¶
type EditDelegateRequest struct { // this is the delegatekey Key string `json:"key"` // this is user who is updating the delegation UserName string `json:"userName"` // name of delegate Name string `json:"name"` // this is the user who should be assigned as the delegate of the parent use Delegateusername string `json:"delegateusername"` // in format MMDDYYY Delegatestartdate string `json:"delegatestartdate"` // in format MMDDYYY Delegateenddate string `json:"delegateenddate"` // this is the parent username, if not passed it will consider userName as parentusername Parentusername *string `json:"parentusername,omitempty"` Description *string `json:"description,omitempty"` }
EditDelegateRequest
func NewEditDelegateRequest ¶
func NewEditDelegateRequest(key string, userName string, name string, delegateusername string, delegatestartdate string, delegateenddate string) *EditDelegateRequest
NewEditDelegateRequest instantiates a new EditDelegateRequest 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 NewEditDelegateRequestWithDefaults ¶
func NewEditDelegateRequestWithDefaults() *EditDelegateRequest
NewEditDelegateRequestWithDefaults instantiates a new EditDelegateRequest 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 (*EditDelegateRequest) GetDelegateenddate ¶
func (o *EditDelegateRequest) GetDelegateenddate() string
GetDelegateenddate returns the Delegateenddate field value
func (*EditDelegateRequest) GetDelegateenddateOk ¶
func (o *EditDelegateRequest) GetDelegateenddateOk() (*string, bool)
GetDelegateenddateOk returns a tuple with the Delegateenddate field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetDelegatestartdate ¶
func (o *EditDelegateRequest) GetDelegatestartdate() string
GetDelegatestartdate returns the Delegatestartdate field value
func (*EditDelegateRequest) GetDelegatestartdateOk ¶
func (o *EditDelegateRequest) GetDelegatestartdateOk() (*string, bool)
GetDelegatestartdateOk returns a tuple with the Delegatestartdate field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetDelegateusername ¶
func (o *EditDelegateRequest) GetDelegateusername() string
GetDelegateusername returns the Delegateusername field value
func (*EditDelegateRequest) GetDelegateusernameOk ¶
func (o *EditDelegateRequest) GetDelegateusernameOk() (*string, bool)
GetDelegateusernameOk returns a tuple with the Delegateusername field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetDescription ¶
func (o *EditDelegateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EditDelegateRequest) GetDescriptionOk ¶
func (o *EditDelegateRequest) 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 (*EditDelegateRequest) GetKey ¶
func (o *EditDelegateRequest) GetKey() string
GetKey returns the Key field value
func (*EditDelegateRequest) GetKeyOk ¶
func (o *EditDelegateRequest) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetName ¶
func (o *EditDelegateRequest) GetName() string
GetName returns the Name field value
func (*EditDelegateRequest) GetNameOk ¶
func (o *EditDelegateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetParentusername ¶
func (o *EditDelegateRequest) GetParentusername() string
GetParentusername returns the Parentusername field value if set, zero value otherwise.
func (*EditDelegateRequest) GetParentusernameOk ¶
func (o *EditDelegateRequest) GetParentusernameOk() (*string, bool)
GetParentusernameOk returns a tuple with the Parentusername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditDelegateRequest) GetUserName ¶
func (o *EditDelegateRequest) GetUserName() string
GetUserName returns the UserName field value
func (*EditDelegateRequest) GetUserNameOk ¶
func (o *EditDelegateRequest) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field value and a boolean to check if the value has been set.
func (*EditDelegateRequest) HasDescription ¶
func (o *EditDelegateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*EditDelegateRequest) HasParentusername ¶
func (o *EditDelegateRequest) HasParentusername() bool
HasParentusername returns a boolean if a field has been set.
func (EditDelegateRequest) MarshalJSON ¶
func (o EditDelegateRequest) MarshalJSON() ([]byte, error)
func (*EditDelegateRequest) SetDelegateenddate ¶
func (o *EditDelegateRequest) SetDelegateenddate(v string)
SetDelegateenddate sets field value
func (*EditDelegateRequest) SetDelegatestartdate ¶
func (o *EditDelegateRequest) SetDelegatestartdate(v string)
SetDelegatestartdate sets field value
func (*EditDelegateRequest) SetDelegateusername ¶
func (o *EditDelegateRequest) SetDelegateusername(v string)
SetDelegateusername sets field value
func (*EditDelegateRequest) SetDescription ¶
func (o *EditDelegateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EditDelegateRequest) SetKey ¶
func (o *EditDelegateRequest) SetKey(v string)
SetKey sets field value
func (*EditDelegateRequest) SetName ¶
func (o *EditDelegateRequest) SetName(v string)
SetName sets field value
func (*EditDelegateRequest) SetParentusername ¶
func (o *EditDelegateRequest) SetParentusername(v string)
SetParentusername gets a reference to the given string and assigns it to the Parentusername field.
func (*EditDelegateRequest) SetUserName ¶
func (o *EditDelegateRequest) SetUserName(v string)
SetUserName sets field value
func (EditDelegateRequest) ToMap ¶
func (o EditDelegateRequest) ToMap() (map[string]interface{}, error)
func (*EditDelegateRequest) UnmarshalJSON ¶
func (o *EditDelegateRequest) UnmarshalJSON(data []byte) (err error)
type FetchDelegatesListRequest ¶
type FetchDelegatesListRequest struct { // this is the parentusername UserName string `json:"userName"` Max *int32 `json:"max,omitempty"` Offset *int32 `json:"offset,omitempty"` // values can be ACTIVE / INACTIVE Status *string `json:"status,omitempty"` }
FetchDelegatesListRequest struct for FetchDelegatesListRequest
func NewFetchDelegatesListRequest ¶
func NewFetchDelegatesListRequest(userName string) *FetchDelegatesListRequest
NewFetchDelegatesListRequest instantiates a new FetchDelegatesListRequest 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 NewFetchDelegatesListRequestWithDefaults ¶
func NewFetchDelegatesListRequestWithDefaults() *FetchDelegatesListRequest
NewFetchDelegatesListRequestWithDefaults instantiates a new FetchDelegatesListRequest 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 (*FetchDelegatesListRequest) GetMax ¶
func (o *FetchDelegatesListRequest) GetMax() int32
GetMax returns the Max field value if set, zero value otherwise.
func (*FetchDelegatesListRequest) GetMaxOk ¶
func (o *FetchDelegatesListRequest) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchDelegatesListRequest) GetOffset ¶
func (o *FetchDelegatesListRequest) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*FetchDelegatesListRequest) GetOffsetOk ¶
func (o *FetchDelegatesListRequest) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchDelegatesListRequest) GetStatus ¶
func (o *FetchDelegatesListRequest) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*FetchDelegatesListRequest) GetStatusOk ¶
func (o *FetchDelegatesListRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchDelegatesListRequest) GetUserName ¶
func (o *FetchDelegatesListRequest) GetUserName() string
GetUserName returns the UserName field value
func (*FetchDelegatesListRequest) GetUserNameOk ¶
func (o *FetchDelegatesListRequest) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field value and a boolean to check if the value has been set.
func (*FetchDelegatesListRequest) HasMax ¶
func (o *FetchDelegatesListRequest) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*FetchDelegatesListRequest) HasOffset ¶
func (o *FetchDelegatesListRequest) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*FetchDelegatesListRequest) HasStatus ¶
func (o *FetchDelegatesListRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (FetchDelegatesListRequest) MarshalJSON ¶
func (o FetchDelegatesListRequest) MarshalJSON() ([]byte, error)
func (*FetchDelegatesListRequest) SetMax ¶
func (o *FetchDelegatesListRequest) SetMax(v int32)
SetMax gets a reference to the given int32 and assigns it to the Max field.
func (*FetchDelegatesListRequest) SetOffset ¶
func (o *FetchDelegatesListRequest) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*FetchDelegatesListRequest) SetStatus ¶
func (o *FetchDelegatesListRequest) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*FetchDelegatesListRequest) SetUserName ¶
func (o *FetchDelegatesListRequest) SetUserName(v string)
SetUserName sets field value
func (FetchDelegatesListRequest) ToMap ¶
func (o FetchDelegatesListRequest) ToMap() (map[string]interface{}, error)
func (*FetchDelegatesListRequest) UnmarshalJSON ¶
func (o *FetchDelegatesListRequest) UnmarshalJSON(data []byte) (err error)
type FetchDelegatesListResponse ¶
type FetchDelegatesListResponse struct { DelegateList []Delegate `json:"delegateList"` Msg string `json:"msg"` ErrorCode string `json:"errorCode"` TotalCount *string `json:"totalCount,omitempty"` DelegateCount *int32 `json:"delegateCount,omitempty"` }
FetchDelegatesListResponse struct for FetchDelegatesListResponse
func NewFetchDelegatesListResponse ¶
func NewFetchDelegatesListResponse(delegateList []Delegate, msg string, errorCode string) *FetchDelegatesListResponse
NewFetchDelegatesListResponse instantiates a new FetchDelegatesListResponse 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 NewFetchDelegatesListResponseWithDefaults ¶
func NewFetchDelegatesListResponseWithDefaults() *FetchDelegatesListResponse
NewFetchDelegatesListResponseWithDefaults instantiates a new FetchDelegatesListResponse 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 (*FetchDelegatesListResponse) GetDelegateCount ¶
func (o *FetchDelegatesListResponse) GetDelegateCount() int32
GetDelegateCount returns the DelegateCount field value if set, zero value otherwise.
func (*FetchDelegatesListResponse) GetDelegateCountOk ¶
func (o *FetchDelegatesListResponse) GetDelegateCountOk() (*int32, bool)
GetDelegateCountOk returns a tuple with the DelegateCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchDelegatesListResponse) GetDelegateList ¶
func (o *FetchDelegatesListResponse) GetDelegateList() []Delegate
GetDelegateList returns the DelegateList field value
func (*FetchDelegatesListResponse) GetDelegateListOk ¶
func (o *FetchDelegatesListResponse) GetDelegateListOk() ([]Delegate, bool)
GetDelegateListOk returns a tuple with the DelegateList field value and a boolean to check if the value has been set.
func (*FetchDelegatesListResponse) GetErrorCode ¶
func (o *FetchDelegatesListResponse) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*FetchDelegatesListResponse) GetErrorCodeOk ¶
func (o *FetchDelegatesListResponse) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*FetchDelegatesListResponse) GetMsg ¶
func (o *FetchDelegatesListResponse) GetMsg() string
GetMsg returns the Msg field value
func (*FetchDelegatesListResponse) GetMsgOk ¶
func (o *FetchDelegatesListResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*FetchDelegatesListResponse) GetTotalCount ¶
func (o *FetchDelegatesListResponse) GetTotalCount() string
GetTotalCount returns the TotalCount field value if set, zero value otherwise.
func (*FetchDelegatesListResponse) GetTotalCountOk ¶
func (o *FetchDelegatesListResponse) GetTotalCountOk() (*string, bool)
GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchDelegatesListResponse) HasDelegateCount ¶
func (o *FetchDelegatesListResponse) HasDelegateCount() bool
HasDelegateCount returns a boolean if a field has been set.
func (*FetchDelegatesListResponse) HasTotalCount ¶
func (o *FetchDelegatesListResponse) HasTotalCount() bool
HasTotalCount returns a boolean if a field has been set.
func (FetchDelegatesListResponse) MarshalJSON ¶
func (o FetchDelegatesListResponse) MarshalJSON() ([]byte, error)
func (*FetchDelegatesListResponse) SetDelegateCount ¶
func (o *FetchDelegatesListResponse) SetDelegateCount(v int32)
SetDelegateCount gets a reference to the given int32 and assigns it to the DelegateCount field.
func (*FetchDelegatesListResponse) SetDelegateList ¶
func (o *FetchDelegatesListResponse) SetDelegateList(v []Delegate)
SetDelegateList sets field value
func (*FetchDelegatesListResponse) SetErrorCode ¶
func (o *FetchDelegatesListResponse) SetErrorCode(v string)
SetErrorCode sets field value
func (*FetchDelegatesListResponse) SetMsg ¶
func (o *FetchDelegatesListResponse) SetMsg(v string)
SetMsg sets field value
func (*FetchDelegatesListResponse) SetTotalCount ¶
func (o *FetchDelegatesListResponse) SetTotalCount(v string)
SetTotalCount gets a reference to the given string and assigns it to the TotalCount field.
func (FetchDelegatesListResponse) ToMap ¶
func (o FetchDelegatesListResponse) ToMap() (map[string]interface{}, error)
func (*FetchDelegatesListResponse) UnmarshalJSON ¶ added in v0.3.0
func (o *FetchDelegatesListResponse) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetDelegateUserListRequest ¶
type GetDelegateUserListRequest struct { Parentusername string `json:"parentusername"` Max *int32 `json:"max,omitempty"` Offset *int32 `json:"offset,omitempty"` // example \"t*\" or \"te\" or \"test\" to search in username or firstname or lastname for the delegate user SearchCriteria *string `json:"searchCriteria,omitempty"` }
GetDelegateUserListRequest struct for GetDelegateUserListRequest
func NewGetDelegateUserListRequest ¶
func NewGetDelegateUserListRequest(parentusername string) *GetDelegateUserListRequest
NewGetDelegateUserListRequest instantiates a new GetDelegateUserListRequest 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 NewGetDelegateUserListRequestWithDefaults ¶
func NewGetDelegateUserListRequestWithDefaults() *GetDelegateUserListRequest
NewGetDelegateUserListRequestWithDefaults instantiates a new GetDelegateUserListRequest 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 (*GetDelegateUserListRequest) GetMax ¶
func (o *GetDelegateUserListRequest) GetMax() int32
GetMax returns the Max field value if set, zero value otherwise.
func (*GetDelegateUserListRequest) GetMaxOk ¶
func (o *GetDelegateUserListRequest) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListRequest) GetOffset ¶
func (o *GetDelegateUserListRequest) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*GetDelegateUserListRequest) GetOffsetOk ¶
func (o *GetDelegateUserListRequest) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListRequest) GetParentusername ¶
func (o *GetDelegateUserListRequest) GetParentusername() string
GetParentusername returns the Parentusername field value
func (*GetDelegateUserListRequest) GetParentusernameOk ¶
func (o *GetDelegateUserListRequest) GetParentusernameOk() (*string, bool)
GetParentusernameOk returns a tuple with the Parentusername field value and a boolean to check if the value has been set.
func (*GetDelegateUserListRequest) GetSearchCriteria ¶
func (o *GetDelegateUserListRequest) GetSearchCriteria() string
GetSearchCriteria returns the SearchCriteria field value if set, zero value otherwise.
func (*GetDelegateUserListRequest) GetSearchCriteriaOk ¶
func (o *GetDelegateUserListRequest) GetSearchCriteriaOk() (*string, bool)
GetSearchCriteriaOk returns a tuple with the SearchCriteria field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListRequest) HasMax ¶
func (o *GetDelegateUserListRequest) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*GetDelegateUserListRequest) HasOffset ¶
func (o *GetDelegateUserListRequest) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*GetDelegateUserListRequest) HasSearchCriteria ¶
func (o *GetDelegateUserListRequest) HasSearchCriteria() bool
HasSearchCriteria returns a boolean if a field has been set.
func (GetDelegateUserListRequest) MarshalJSON ¶
func (o GetDelegateUserListRequest) MarshalJSON() ([]byte, error)
func (*GetDelegateUserListRequest) SetMax ¶
func (o *GetDelegateUserListRequest) SetMax(v int32)
SetMax gets a reference to the given int32 and assigns it to the Max field.
func (*GetDelegateUserListRequest) SetOffset ¶
func (o *GetDelegateUserListRequest) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*GetDelegateUserListRequest) SetParentusername ¶
func (o *GetDelegateUserListRequest) SetParentusername(v string)
SetParentusername sets field value
func (*GetDelegateUserListRequest) SetSearchCriteria ¶
func (o *GetDelegateUserListRequest) SetSearchCriteria(v string)
SetSearchCriteria gets a reference to the given string and assigns it to the SearchCriteria field.
func (GetDelegateUserListRequest) ToMap ¶
func (o GetDelegateUserListRequest) ToMap() (map[string]interface{}, error)
func (*GetDelegateUserListRequest) UnmarshalJSON ¶
func (o *GetDelegateUserListRequest) UnmarshalJSON(data []byte) (err error)
type GetDelegateUserListResponse ¶
type GetDelegateUserListResponse struct { Result []DelegateUser `json:"result,omitempty"` Msg *string `json:"msg,omitempty"` DisplayCount *string `json:"displayCount,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` TotalCount *string `json:"totalCount,omitempty"` }
GetDelegateUserListResponse struct for GetDelegateUserListResponse
func NewGetDelegateUserListResponse ¶
func NewGetDelegateUserListResponse() *GetDelegateUserListResponse
NewGetDelegateUserListResponse instantiates a new GetDelegateUserListResponse 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 NewGetDelegateUserListResponseWithDefaults ¶
func NewGetDelegateUserListResponseWithDefaults() *GetDelegateUserListResponse
NewGetDelegateUserListResponseWithDefaults instantiates a new GetDelegateUserListResponse 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 (*GetDelegateUserListResponse) GetDisplayCount ¶
func (o *GetDelegateUserListResponse) GetDisplayCount() string
GetDisplayCount returns the DisplayCount field value if set, zero value otherwise.
func (*GetDelegateUserListResponse) GetDisplayCountOk ¶
func (o *GetDelegateUserListResponse) GetDisplayCountOk() (*string, bool)
GetDisplayCountOk returns a tuple with the DisplayCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListResponse) GetErrorCode ¶
func (o *GetDelegateUserListResponse) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*GetDelegateUserListResponse) GetErrorCodeOk ¶
func (o *GetDelegateUserListResponse) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListResponse) GetMsg ¶
func (o *GetDelegateUserListResponse) GetMsg() string
GetMsg returns the Msg field value if set, zero value otherwise.
func (*GetDelegateUserListResponse) GetMsgOk ¶
func (o *GetDelegateUserListResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListResponse) GetResult ¶
func (o *GetDelegateUserListResponse) GetResult() []DelegateUser
GetResult returns the Result field value if set, zero value otherwise.
func (*GetDelegateUserListResponse) GetResultOk ¶
func (o *GetDelegateUserListResponse) GetResultOk() ([]DelegateUser, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListResponse) GetTotalCount ¶
func (o *GetDelegateUserListResponse) GetTotalCount() string
GetTotalCount returns the TotalCount field value if set, zero value otherwise.
func (*GetDelegateUserListResponse) GetTotalCountOk ¶
func (o *GetDelegateUserListResponse) GetTotalCountOk() (*string, bool)
GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDelegateUserListResponse) HasDisplayCount ¶
func (o *GetDelegateUserListResponse) HasDisplayCount() bool
HasDisplayCount returns a boolean if a field has been set.
func (*GetDelegateUserListResponse) HasErrorCode ¶
func (o *GetDelegateUserListResponse) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*GetDelegateUserListResponse) HasMsg ¶
func (o *GetDelegateUserListResponse) HasMsg() bool
HasMsg returns a boolean if a field has been set.
func (*GetDelegateUserListResponse) HasResult ¶
func (o *GetDelegateUserListResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (*GetDelegateUserListResponse) HasTotalCount ¶
func (o *GetDelegateUserListResponse) HasTotalCount() bool
HasTotalCount returns a boolean if a field has been set.
func (GetDelegateUserListResponse) MarshalJSON ¶
func (o GetDelegateUserListResponse) MarshalJSON() ([]byte, error)
func (*GetDelegateUserListResponse) SetDisplayCount ¶
func (o *GetDelegateUserListResponse) SetDisplayCount(v string)
SetDisplayCount gets a reference to the given string and assigns it to the DisplayCount field.
func (*GetDelegateUserListResponse) SetErrorCode ¶
func (o *GetDelegateUserListResponse) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*GetDelegateUserListResponse) SetMsg ¶
func (o *GetDelegateUserListResponse) SetMsg(v string)
SetMsg gets a reference to the given string and assigns it to the Msg field.
func (*GetDelegateUserListResponse) SetResult ¶
func (o *GetDelegateUserListResponse) SetResult(v []DelegateUser)
SetResult gets a reference to the given []DelegateUser and assigns it to the Result field.
func (*GetDelegateUserListResponse) SetTotalCount ¶
func (o *GetDelegateUserListResponse) SetTotalCount(v string)
SetTotalCount gets a reference to the given string and assigns it to the TotalCount field.
func (GetDelegateUserListResponse) ToMap ¶
func (o GetDelegateUserListResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
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 NullableCreateDelegateRequest ¶
type NullableCreateDelegateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateDelegateRequest ¶
func NewNullableCreateDelegateRequest(val *CreateDelegateRequest) *NullableCreateDelegateRequest
func (NullableCreateDelegateRequest) Get ¶
func (v NullableCreateDelegateRequest) Get() *CreateDelegateRequest
func (NullableCreateDelegateRequest) IsSet ¶
func (v NullableCreateDelegateRequest) IsSet() bool
func (NullableCreateDelegateRequest) MarshalJSON ¶
func (v NullableCreateDelegateRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateDelegateRequest) Set ¶
func (v *NullableCreateDelegateRequest) Set(val *CreateDelegateRequest)
func (*NullableCreateDelegateRequest) UnmarshalJSON ¶
func (v *NullableCreateDelegateRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateDelegateRequest) Unset ¶
func (v *NullableCreateDelegateRequest) Unset()
type NullableCreateDelegateResponse ¶
type NullableCreateDelegateResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateDelegateResponse ¶
func NewNullableCreateDelegateResponse(val *CreateDelegateResponse) *NullableCreateDelegateResponse
func (NullableCreateDelegateResponse) Get ¶
func (v NullableCreateDelegateResponse) Get() *CreateDelegateResponse
func (NullableCreateDelegateResponse) IsSet ¶
func (v NullableCreateDelegateResponse) IsSet() bool
func (NullableCreateDelegateResponse) MarshalJSON ¶
func (v NullableCreateDelegateResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateDelegateResponse) Set ¶
func (v *NullableCreateDelegateResponse) Set(val *CreateDelegateResponse)
func (*NullableCreateDelegateResponse) UnmarshalJSON ¶
func (v *NullableCreateDelegateResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateDelegateResponse) Unset ¶
func (v *NullableCreateDelegateResponse) Unset()
type NullableDelegate ¶
type NullableDelegate struct {
// contains filtered or unexported fields
}
func NewNullableDelegate ¶
func NewNullableDelegate(val *Delegate) *NullableDelegate
func (NullableDelegate) Get ¶
func (v NullableDelegate) Get() *Delegate
func (NullableDelegate) IsSet ¶
func (v NullableDelegate) IsSet() bool
func (NullableDelegate) MarshalJSON ¶
func (v NullableDelegate) MarshalJSON() ([]byte, error)
func (*NullableDelegate) Set ¶
func (v *NullableDelegate) Set(val *Delegate)
func (*NullableDelegate) UnmarshalJSON ¶
func (v *NullableDelegate) UnmarshalJSON(src []byte) error
func (*NullableDelegate) Unset ¶
func (v *NullableDelegate) Unset()
type NullableDelegateUser ¶
type NullableDelegateUser struct {
// contains filtered or unexported fields
}
func NewNullableDelegateUser ¶
func NewNullableDelegateUser(val *DelegateUser) *NullableDelegateUser
func (NullableDelegateUser) Get ¶
func (v NullableDelegateUser) Get() *DelegateUser
func (NullableDelegateUser) IsSet ¶
func (v NullableDelegateUser) IsSet() bool
func (NullableDelegateUser) MarshalJSON ¶
func (v NullableDelegateUser) MarshalJSON() ([]byte, error)
func (*NullableDelegateUser) Set ¶
func (v *NullableDelegateUser) Set(val *DelegateUser)
func (*NullableDelegateUser) UnmarshalJSON ¶
func (v *NullableDelegateUser) UnmarshalJSON(src []byte) error
func (*NullableDelegateUser) Unset ¶
func (v *NullableDelegateUser) Unset()
type NullableEditDelegateRequest ¶
type NullableEditDelegateRequest struct {
// contains filtered or unexported fields
}
func NewNullableEditDelegateRequest ¶
func NewNullableEditDelegateRequest(val *EditDelegateRequest) *NullableEditDelegateRequest
func (NullableEditDelegateRequest) Get ¶
func (v NullableEditDelegateRequest) Get() *EditDelegateRequest
func (NullableEditDelegateRequest) IsSet ¶
func (v NullableEditDelegateRequest) IsSet() bool
func (NullableEditDelegateRequest) MarshalJSON ¶
func (v NullableEditDelegateRequest) MarshalJSON() ([]byte, error)
func (*NullableEditDelegateRequest) Set ¶
func (v *NullableEditDelegateRequest) Set(val *EditDelegateRequest)
func (*NullableEditDelegateRequest) UnmarshalJSON ¶
func (v *NullableEditDelegateRequest) UnmarshalJSON(src []byte) error
func (*NullableEditDelegateRequest) Unset ¶
func (v *NullableEditDelegateRequest) Unset()
type NullableFetchDelegatesListRequest ¶
type NullableFetchDelegatesListRequest struct {
// contains filtered or unexported fields
}
func NewNullableFetchDelegatesListRequest ¶
func NewNullableFetchDelegatesListRequest(val *FetchDelegatesListRequest) *NullableFetchDelegatesListRequest
func (NullableFetchDelegatesListRequest) Get ¶
func (v NullableFetchDelegatesListRequest) Get() *FetchDelegatesListRequest
func (NullableFetchDelegatesListRequest) IsSet ¶
func (v NullableFetchDelegatesListRequest) IsSet() bool
func (NullableFetchDelegatesListRequest) MarshalJSON ¶
func (v NullableFetchDelegatesListRequest) MarshalJSON() ([]byte, error)
func (*NullableFetchDelegatesListRequest) Set ¶
func (v *NullableFetchDelegatesListRequest) Set(val *FetchDelegatesListRequest)
func (*NullableFetchDelegatesListRequest) UnmarshalJSON ¶
func (v *NullableFetchDelegatesListRequest) UnmarshalJSON(src []byte) error
func (*NullableFetchDelegatesListRequest) Unset ¶
func (v *NullableFetchDelegatesListRequest) Unset()
type NullableFetchDelegatesListResponse ¶
type NullableFetchDelegatesListResponse struct {
// contains filtered or unexported fields
}
func NewNullableFetchDelegatesListResponse ¶
func NewNullableFetchDelegatesListResponse(val *FetchDelegatesListResponse) *NullableFetchDelegatesListResponse
func (NullableFetchDelegatesListResponse) Get ¶
func (v NullableFetchDelegatesListResponse) Get() *FetchDelegatesListResponse
func (NullableFetchDelegatesListResponse) IsSet ¶
func (v NullableFetchDelegatesListResponse) IsSet() bool
func (NullableFetchDelegatesListResponse) MarshalJSON ¶
func (v NullableFetchDelegatesListResponse) MarshalJSON() ([]byte, error)
func (*NullableFetchDelegatesListResponse) Set ¶
func (v *NullableFetchDelegatesListResponse) Set(val *FetchDelegatesListResponse)
func (*NullableFetchDelegatesListResponse) UnmarshalJSON ¶
func (v *NullableFetchDelegatesListResponse) UnmarshalJSON(src []byte) error
func (*NullableFetchDelegatesListResponse) Unset ¶
func (v *NullableFetchDelegatesListResponse) 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 NullableGetDelegateUserListRequest ¶
type NullableGetDelegateUserListRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetDelegateUserListRequest ¶
func NewNullableGetDelegateUserListRequest(val *GetDelegateUserListRequest) *NullableGetDelegateUserListRequest
func (NullableGetDelegateUserListRequest) Get ¶
func (v NullableGetDelegateUserListRequest) Get() *GetDelegateUserListRequest
func (NullableGetDelegateUserListRequest) IsSet ¶
func (v NullableGetDelegateUserListRequest) IsSet() bool
func (NullableGetDelegateUserListRequest) MarshalJSON ¶
func (v NullableGetDelegateUserListRequest) MarshalJSON() ([]byte, error)
func (*NullableGetDelegateUserListRequest) Set ¶
func (v *NullableGetDelegateUserListRequest) Set(val *GetDelegateUserListRequest)
func (*NullableGetDelegateUserListRequest) UnmarshalJSON ¶
func (v *NullableGetDelegateUserListRequest) UnmarshalJSON(src []byte) error
func (*NullableGetDelegateUserListRequest) Unset ¶
func (v *NullableGetDelegateUserListRequest) Unset()
type NullableGetDelegateUserListResponse ¶
type NullableGetDelegateUserListResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetDelegateUserListResponse ¶
func NewNullableGetDelegateUserListResponse(val *GetDelegateUserListResponse) *NullableGetDelegateUserListResponse
func (NullableGetDelegateUserListResponse) Get ¶
func (v NullableGetDelegateUserListResponse) Get() *GetDelegateUserListResponse
func (NullableGetDelegateUserListResponse) IsSet ¶
func (v NullableGetDelegateUserListResponse) IsSet() bool
func (NullableGetDelegateUserListResponse) MarshalJSON ¶
func (v NullableGetDelegateUserListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetDelegateUserListResponse) Set ¶
func (v *NullableGetDelegateUserListResponse) Set(val *GetDelegateUserListResponse)
func (*NullableGetDelegateUserListResponse) UnmarshalJSON ¶
func (v *NullableGetDelegateUserListResponse) UnmarshalJSON(src []byte) error
func (*NullableGetDelegateUserListResponse) Unset ¶
func (v *NullableGetDelegateUserListResponse) 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 NullableResponse ¶
type NullableResponse struct {
// contains filtered or unexported fields
}
func NewNullableResponse ¶
func NewNullableResponse(val *Response) *NullableResponse
func (NullableResponse) Get ¶
func (v NullableResponse) Get() *Response
func (NullableResponse) IsSet ¶
func (v NullableResponse) IsSet() bool
func (NullableResponse) MarshalJSON ¶
func (v NullableResponse) MarshalJSON() ([]byte, error)
func (*NullableResponse) Set ¶
func (v *NullableResponse) Set(val *Response)
func (*NullableResponse) UnmarshalJSON ¶
func (v *NullableResponse) UnmarshalJSON(src []byte) error
func (*NullableResponse) Unset ¶
func (v *NullableResponse) 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 Response ¶
Response struct for Response
func NewResponse ¶
NewResponse instantiates a new Response 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 NewResponseWithDefaults ¶
func NewResponseWithDefaults() *Response
NewResponseWithDefaults instantiates a new Response 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 (*Response) GetErrorCode ¶
GetErrorCode returns the ErrorCode field value
func (*Response) GetErrorCodeOk ¶
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*Response) GetMsgOk ¶
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (Response) MarshalJSON ¶
func (*Response) SetErrorCode ¶
SetErrorCode sets field value
func (*Response) UnmarshalJSON ¶ added in v0.4.0
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
Source Files
¶
- api_delegated_administration.go
- client.go
- configuration.go
- model_create_delegate_request.go
- model_create_delegate_response.go
- model_delegate.go
- model_delegate_user.go
- model_edit_delegate_request.go
- model_fetch_delegates_list_request.go
- model_fetch_delegates_list_response.go
- model_get_delegate_user_list_request.go
- model_get_delegate_user_list_response.go
- model_response.go
- response.go
- utils.go