delegatedadministration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for delegatedadministration

Deglated Administration

Overview

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

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import delegatedadministration "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost:3000

Class Method HTTP request Description
DelegatedAdministrationAPI CreateDelegate Post /ECM/api/v5/createDelegate Create Delegate
DelegatedAdministrationAPI DeleteDelegate Post /ECM/api/v5/deleteDelegate Delete Delegate
DelegatedAdministrationAPI EditDelegate Post /ECM/api/v5/editDelegate Edit Delegate
DelegatedAdministrationAPI FetchDelegatesList Post /ECM/api/v5/fetchDelegatesList Fetch Existing Delegates List
DelegatedAdministrationAPI GetDelegateUserList Get /ECM/api/v5/getDelegateUserList Get Delegate User List

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth
  • Type: HTTP Bearer token authentication

Example

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

Documentation for Utility Methods

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

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

Author

https://github.com/saviynt

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	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

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateDelegateRequest

type ApiCreateDelegateRequest struct {
	ApiService *DelegatedAdministrationAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDelegateRequest) CreateDelegateRequest

func (r ApiCreateDelegateRequest) CreateDelegateRequest(createDelegateRequest CreateDelegateRequest) ApiCreateDelegateRequest

func (ApiCreateDelegateRequest) Execute

type ApiDeleteDelegateRequest

type ApiDeleteDelegateRequest struct {
	ApiService *DelegatedAdministrationAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteDelegateRequest) Execute

func (ApiDeleteDelegateRequest) Key

the is the delegatekey

func (ApiDeleteDelegateRequest) UserName

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

func (ApiEditDelegateRequest) Execute

type ApiFetchDelegatesListRequest

type ApiFetchDelegatesListRequest struct {
	ApiService *DelegatedAdministrationAPIService
	// contains filtered or unexported fields
}

func (ApiFetchDelegatesListRequest) Execute

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 (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) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type 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

func (o *Delegate) GetDelegateFirstName() string

GetDelegateFirstName returns the DelegateFirstName field value if set, zero value otherwise.

func (*Delegate) GetDelegateFirstNameOk

func (o *Delegate) GetDelegateFirstNameOk() (*string, bool)

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

func (o *Delegate) GetDelegateLastName() string

GetDelegateLastName returns the DelegateLastName field value if set, zero value otherwise.

func (*Delegate) GetDelegateLastNameOk

func (o *Delegate) GetDelegateLastNameOk() (*string, bool)

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

func (o *Delegate) GetDelegatekey() string

GetDelegatekey returns the Delegatekey field value

func (*Delegate) GetDelegatekeyOk

func (o *Delegate) GetDelegatekeyOk() (*string, bool)

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

func (*Delegate) GetDelegateusername

func (o *Delegate) GetDelegateusername() string

GetDelegateusername returns the Delegateusername field value

func (*Delegate) GetDelegateusernameOk

func (o *Delegate) GetDelegateusernameOk() (*string, bool)

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

func (*Delegate) GetDescription

func (o *Delegate) GetDescription() string

GetDescription returns the Description field value

func (*Delegate) GetDescriptionOk

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

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

func (*Delegate) GetEnddate

func (o *Delegate) GetEnddate() string

GetEnddate returns the Enddate field value

func (*Delegate) GetEnddateOk

func (o *Delegate) GetEnddateOk() (*string, bool)

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

func (*Delegate) GetName

func (o *Delegate) GetName() string

GetName returns the Name field value

func (*Delegate) GetNameOk

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

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

func (*Delegate) GetParentFirstName

func (o *Delegate) GetParentFirstName() string

GetParentFirstName returns the ParentFirstName field value if set, zero value otherwise.

func (*Delegate) GetParentFirstNameOk

func (o *Delegate) GetParentFirstNameOk() (*string, bool)

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

func (o *Delegate) GetParentLastName() string

GetParentLastName returns the ParentLastName field value if set, zero value otherwise.

func (*Delegate) GetParentLastNameOk

func (o *Delegate) GetParentLastNameOk() (*string, bool)

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

func (o *Delegate) GetParentusername() string

GetParentusername returns the Parentusername field value

func (*Delegate) GetParentusernameOk

func (o *Delegate) GetParentusernameOk() (*string, bool)

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

func (*Delegate) GetStartdate

func (o *Delegate) GetStartdate() string

GetStartdate returns the Startdate field value

func (*Delegate) GetStartdateOk

func (o *Delegate) GetStartdateOk() (*string, bool)

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

func (*Delegate) GetStatus

func (o *Delegate) GetStatus() string

GetStatus returns the Status field value

func (*Delegate) GetStatusOk

func (o *Delegate) GetStatusOk() (*string, bool)

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

func (*Delegate) HasDelegateFirstName

func (o *Delegate) HasDelegateFirstName() bool

HasDelegateFirstName returns a boolean if a field has been set.

func (*Delegate) HasDelegateLastName

func (o *Delegate) HasDelegateLastName() bool

HasDelegateLastName returns a boolean if a field has been set.

func (*Delegate) HasParentFirstName

func (o *Delegate) HasParentFirstName() bool

HasParentFirstName returns a boolean if a field has been set.

func (*Delegate) HasParentLastName

func (o *Delegate) HasParentLastName() bool

HasParentLastName returns a boolean if a field has been set.

func (Delegate) MarshalJSON

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

func (*Delegate) SetDelegateFirstName

func (o *Delegate) SetDelegateFirstName(v string)

SetDelegateFirstName gets a reference to the given string and assigns it to the DelegateFirstName field.

func (*Delegate) SetDelegateLastName

func (o *Delegate) SetDelegateLastName(v string)

SetDelegateLastName gets a reference to the given string and assigns it to the DelegateLastName field.

func (*Delegate) SetDelegatekey

func (o *Delegate) SetDelegatekey(v string)

SetDelegatekey sets field value

func (*Delegate) SetDelegateusername

func (o *Delegate) SetDelegateusername(v string)

SetDelegateusername sets field value

func (*Delegate) SetDescription

func (o *Delegate) SetDescription(v string)

SetDescription sets field value

func (*Delegate) SetEnddate

func (o *Delegate) SetEnddate(v string)

SetEnddate sets field value

func (*Delegate) SetName

func (o *Delegate) SetName(v string)

SetName sets field value

func (*Delegate) SetParentFirstName

func (o *Delegate) SetParentFirstName(v string)

SetParentFirstName gets a reference to the given string and assigns it to the ParentFirstName field.

func (*Delegate) SetParentLastName

func (o *Delegate) SetParentLastName(v string)

SetParentLastName gets a reference to the given string and assigns it to the ParentLastName field.

func (*Delegate) SetParentusername

func (o *Delegate) SetParentusername(v string)

SetParentusername sets field value

func (*Delegate) SetStartdate

func (o *Delegate) SetStartdate(v string)

SetStartdate sets field value

func (*Delegate) SetStatus

func (o *Delegate) SetStatus(v string)

SetStatus sets field value

func (Delegate) ToMap

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

func (*Delegate) UnmarshalJSON added in v0.4.0

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

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

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

Execute executes the request

@return CreateDelegateResponse

func (*DelegatedAdministrationAPIService) DeleteDelegate

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

Execute executes the request

@return Response

func (*DelegatedAdministrationAPIService) EditDelegate

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

Execute executes the request

@return Response

func (*DelegatedAdministrationAPIService) FetchDelegatesList

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

Execute executes the request

@return FetchDelegatesListResponse

func (*DelegatedAdministrationAPIService) GetDelegateUserList

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

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateDelegateRequest

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

func (NullableCreateDelegateRequest) Get

func (NullableCreateDelegateRequest) IsSet

func (NullableCreateDelegateRequest) MarshalJSON

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

func (*NullableCreateDelegateRequest) Set

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 (NullableCreateDelegateResponse) Get

func (NullableCreateDelegateResponse) IsSet

func (NullableCreateDelegateResponse) MarshalJSON

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

func (*NullableCreateDelegateResponse) Set

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 (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 (NullableEditDelegateRequest) IsSet

func (NullableEditDelegateRequest) MarshalJSON

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

func (*NullableEditDelegateRequest) Set

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 (NullableFetchDelegatesListRequest) Get

func (NullableFetchDelegatesListRequest) IsSet

func (NullableFetchDelegatesListRequest) MarshalJSON

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

func (*NullableFetchDelegatesListRequest) Set

func (*NullableFetchDelegatesListRequest) UnmarshalJSON

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

func (*NullableFetchDelegatesListRequest) Unset

type NullableFetchDelegatesListResponse

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

func (NullableFetchDelegatesListResponse) Get

func (NullableFetchDelegatesListResponse) IsSet

func (NullableFetchDelegatesListResponse) MarshalJSON

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

func (*NullableFetchDelegatesListResponse) Set

func (*NullableFetchDelegatesListResponse) UnmarshalJSON

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

func (*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 (NullableGetDelegateUserListRequest) Get

func (NullableGetDelegateUserListRequest) IsSet

func (NullableGetDelegateUserListRequest) MarshalJSON

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

func (*NullableGetDelegateUserListRequest) Set

func (*NullableGetDelegateUserListRequest) UnmarshalJSON

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

func (*NullableGetDelegateUserListRequest) Unset

type NullableGetDelegateUserListResponse

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

func (NullableGetDelegateUserListResponse) Get

func (NullableGetDelegateUserListResponse) IsSet

func (NullableGetDelegateUserListResponse) MarshalJSON

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

func (*NullableGetDelegateUserListResponse) Set

func (*NullableGetDelegateUserListResponse) UnmarshalJSON

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

func (*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

type Response struct {
	Msg       string `json:"msg"`
	ErrorCode string `json:"errorCode"`
}

Response struct for Response

func NewResponse

func NewResponse(msg string, errorCode string) *Response

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

func (o *Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*Response) GetErrorCodeOk

func (o *Response) GetErrorCodeOk() (*string, bool)

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

func (*Response) GetMsg

func (o *Response) GetMsg() string

GetMsg returns the Msg field value

func (*Response) GetMsgOk

func (o *Response) GetMsgOk() (*string, bool)

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

func (Response) MarshalJSON

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

func (*Response) SetErrorCode

func (o *Response) SetErrorCode(v string)

SetErrorCode sets field value

func (*Response) SetMsg

func (o *Response) SetMsg(v string)

SetMsg sets field value

func (Response) ToMap

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

func (*Response) UnmarshalJSON added in v0.4.0

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

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