Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeTextPlain(r *runtime.ClientOperation)
- type AdminAddUserBadgesForbidden
- func (o *AdminAddUserBadgesForbidden) Code() int
- func (o *AdminAddUserBadgesForbidden) Error() string
- func (o *AdminAddUserBadgesForbidden) IsClientError() bool
- func (o *AdminAddUserBadgesForbidden) IsCode(code int) bool
- func (o *AdminAddUserBadgesForbidden) IsRedirect() bool
- func (o *AdminAddUserBadgesForbidden) IsServerError() bool
- func (o *AdminAddUserBadgesForbidden) IsSuccess() bool
- func (o *AdminAddUserBadgesForbidden) String() string
- type AdminAddUserBadgesNoContent
- func (o *AdminAddUserBadgesNoContent) Code() int
- func (o *AdminAddUserBadgesNoContent) Error() string
- func (o *AdminAddUserBadgesNoContent) IsClientError() bool
- func (o *AdminAddUserBadgesNoContent) IsCode(code int) bool
- func (o *AdminAddUserBadgesNoContent) IsRedirect() bool
- func (o *AdminAddUserBadgesNoContent) IsServerError() bool
- func (o *AdminAddUserBadgesNoContent) IsSuccess() bool
- func (o *AdminAddUserBadgesNoContent) String() string
- type AdminAddUserBadgesParams
- func NewAdminAddUserBadgesParams() *AdminAddUserBadgesParams
- func NewAdminAddUserBadgesParamsWithContext(ctx context.Context) *AdminAddUserBadgesParams
- func NewAdminAddUserBadgesParamsWithHTTPClient(client *http.Client) *AdminAddUserBadgesParams
- func NewAdminAddUserBadgesParamsWithTimeout(timeout time.Duration) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) SetBody(body *models.UserBadgeOption)
- func (o *AdminAddUserBadgesParams) SetContext(ctx context.Context)
- func (o *AdminAddUserBadgesParams) SetDefaults()
- func (o *AdminAddUserBadgesParams) SetHTTPClient(client *http.Client)
- func (o *AdminAddUserBadgesParams) SetTimeout(timeout time.Duration)
- func (o *AdminAddUserBadgesParams) SetUsername(username string)
- func (o *AdminAddUserBadgesParams) WithBody(body *models.UserBadgeOption) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WithContext(ctx context.Context) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WithDefaults() *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WithHTTPClient(client *http.Client) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WithTimeout(timeout time.Duration) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WithUsername(username string) *AdminAddUserBadgesParams
- func (o *AdminAddUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAddUserBadgesReader
- type AdminAdoptRepositoryForbidden
- func (o *AdminAdoptRepositoryForbidden) Code() int
- func (o *AdminAdoptRepositoryForbidden) Error() string
- func (o *AdminAdoptRepositoryForbidden) IsClientError() bool
- func (o *AdminAdoptRepositoryForbidden) IsCode(code int) bool
- func (o *AdminAdoptRepositoryForbidden) IsRedirect() bool
- func (o *AdminAdoptRepositoryForbidden) IsServerError() bool
- func (o *AdminAdoptRepositoryForbidden) IsSuccess() bool
- func (o *AdminAdoptRepositoryForbidden) String() string
- type AdminAdoptRepositoryNoContent
- func (o *AdminAdoptRepositoryNoContent) Code() int
- func (o *AdminAdoptRepositoryNoContent) Error() string
- func (o *AdminAdoptRepositoryNoContent) IsClientError() bool
- func (o *AdminAdoptRepositoryNoContent) IsCode(code int) bool
- func (o *AdminAdoptRepositoryNoContent) IsRedirect() bool
- func (o *AdminAdoptRepositoryNoContent) IsServerError() bool
- func (o *AdminAdoptRepositoryNoContent) IsSuccess() bool
- func (o *AdminAdoptRepositoryNoContent) String() string
- type AdminAdoptRepositoryNotFound
- func (o *AdminAdoptRepositoryNotFound) Code() int
- func (o *AdminAdoptRepositoryNotFound) Error() string
- func (o *AdminAdoptRepositoryNotFound) IsClientError() bool
- func (o *AdminAdoptRepositoryNotFound) IsCode(code int) bool
- func (o *AdminAdoptRepositoryNotFound) IsRedirect() bool
- func (o *AdminAdoptRepositoryNotFound) IsServerError() bool
- func (o *AdminAdoptRepositoryNotFound) IsSuccess() bool
- func (o *AdminAdoptRepositoryNotFound) String() string
- type AdminAdoptRepositoryParams
- func NewAdminAdoptRepositoryParams() *AdminAdoptRepositoryParams
- func NewAdminAdoptRepositoryParamsWithContext(ctx context.Context) *AdminAdoptRepositoryParams
- func NewAdminAdoptRepositoryParamsWithHTTPClient(client *http.Client) *AdminAdoptRepositoryParams
- func NewAdminAdoptRepositoryParamsWithTimeout(timeout time.Duration) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) SetContext(ctx context.Context)
- func (o *AdminAdoptRepositoryParams) SetDefaults()
- func (o *AdminAdoptRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminAdoptRepositoryParams) SetOwner(owner string)
- func (o *AdminAdoptRepositoryParams) SetRepo(repo string)
- func (o *AdminAdoptRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminAdoptRepositoryParams) WithContext(ctx context.Context) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WithDefaults() *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WithHTTPClient(client *http.Client) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WithOwner(owner string) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WithRepo(repo string) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WithTimeout(timeout time.Duration) *AdminAdoptRepositoryParams
- func (o *AdminAdoptRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAdoptRepositoryReader
- type AdminCreateHookCreated
- func (o *AdminCreateHookCreated) Code() int
- func (o *AdminCreateHookCreated) Error() string
- func (o *AdminCreateHookCreated) GetPayload() *models.Hook
- func (o *AdminCreateHookCreated) IsClientError() bool
- func (o *AdminCreateHookCreated) IsCode(code int) bool
- func (o *AdminCreateHookCreated) IsRedirect() bool
- func (o *AdminCreateHookCreated) IsServerError() bool
- func (o *AdminCreateHookCreated) IsSuccess() bool
- func (o *AdminCreateHookCreated) String() string
- type AdminCreateHookParams
- func NewAdminCreateHookParams() *AdminCreateHookParams
- func NewAdminCreateHookParamsWithContext(ctx context.Context) *AdminCreateHookParams
- func NewAdminCreateHookParamsWithHTTPClient(client *http.Client) *AdminCreateHookParams
- func NewAdminCreateHookParamsWithTimeout(timeout time.Duration) *AdminCreateHookParams
- func (o *AdminCreateHookParams) SetBody(body *models.CreateHookOption)
- func (o *AdminCreateHookParams) SetContext(ctx context.Context)
- func (o *AdminCreateHookParams) SetDefaults()
- func (o *AdminCreateHookParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateHookParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateHookParams) WithBody(body *models.CreateHookOption) *AdminCreateHookParams
- func (o *AdminCreateHookParams) WithContext(ctx context.Context) *AdminCreateHookParams
- func (o *AdminCreateHookParams) WithDefaults() *AdminCreateHookParams
- func (o *AdminCreateHookParams) WithHTTPClient(client *http.Client) *AdminCreateHookParams
- func (o *AdminCreateHookParams) WithTimeout(timeout time.Duration) *AdminCreateHookParams
- func (o *AdminCreateHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateHookReader
- type AdminCreateOrgCreated
- func (o *AdminCreateOrgCreated) Code() int
- func (o *AdminCreateOrgCreated) Error() string
- func (o *AdminCreateOrgCreated) GetPayload() *models.Organization
- func (o *AdminCreateOrgCreated) IsClientError() bool
- func (o *AdminCreateOrgCreated) IsCode(code int) bool
- func (o *AdminCreateOrgCreated) IsRedirect() bool
- func (o *AdminCreateOrgCreated) IsServerError() bool
- func (o *AdminCreateOrgCreated) IsSuccess() bool
- func (o *AdminCreateOrgCreated) String() string
- type AdminCreateOrgForbidden
- func (o *AdminCreateOrgForbidden) Code() int
- func (o *AdminCreateOrgForbidden) Error() string
- func (o *AdminCreateOrgForbidden) IsClientError() bool
- func (o *AdminCreateOrgForbidden) IsCode(code int) bool
- func (o *AdminCreateOrgForbidden) IsRedirect() bool
- func (o *AdminCreateOrgForbidden) IsServerError() bool
- func (o *AdminCreateOrgForbidden) IsSuccess() bool
- func (o *AdminCreateOrgForbidden) String() string
- type AdminCreateOrgParams
- func NewAdminCreateOrgParams() *AdminCreateOrgParams
- func NewAdminCreateOrgParamsWithContext(ctx context.Context) *AdminCreateOrgParams
- func NewAdminCreateOrgParamsWithHTTPClient(client *http.Client) *AdminCreateOrgParams
- func NewAdminCreateOrgParamsWithTimeout(timeout time.Duration) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) SetContext(ctx context.Context)
- func (o *AdminCreateOrgParams) SetDefaults()
- func (o *AdminCreateOrgParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateOrgParams) SetOrganization(organization *models.CreateOrgOption)
- func (o *AdminCreateOrgParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateOrgParams) SetUsername(username string)
- func (o *AdminCreateOrgParams) WithContext(ctx context.Context) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WithDefaults() *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WithHTTPClient(client *http.Client) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WithOrganization(organization *models.CreateOrgOption) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WithTimeout(timeout time.Duration) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WithUsername(username string) *AdminCreateOrgParams
- func (o *AdminCreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateOrgReader
- type AdminCreateOrgUnprocessableEntity
- func (o *AdminCreateOrgUnprocessableEntity) Code() int
- func (o *AdminCreateOrgUnprocessableEntity) Error() string
- func (o *AdminCreateOrgUnprocessableEntity) IsClientError() bool
- func (o *AdminCreateOrgUnprocessableEntity) IsCode(code int) bool
- func (o *AdminCreateOrgUnprocessableEntity) IsRedirect() bool
- func (o *AdminCreateOrgUnprocessableEntity) IsServerError() bool
- func (o *AdminCreateOrgUnprocessableEntity) IsSuccess() bool
- func (o *AdminCreateOrgUnprocessableEntity) String() string
- type AdminCreatePublicKeyCreated
- func (o *AdminCreatePublicKeyCreated) Code() int
- func (o *AdminCreatePublicKeyCreated) Error() string
- func (o *AdminCreatePublicKeyCreated) GetPayload() *models.PublicKey
- func (o *AdminCreatePublicKeyCreated) IsClientError() bool
- func (o *AdminCreatePublicKeyCreated) IsCode(code int) bool
- func (o *AdminCreatePublicKeyCreated) IsRedirect() bool
- func (o *AdminCreatePublicKeyCreated) IsServerError() bool
- func (o *AdminCreatePublicKeyCreated) IsSuccess() bool
- func (o *AdminCreatePublicKeyCreated) String() string
- type AdminCreatePublicKeyForbidden
- func (o *AdminCreatePublicKeyForbidden) Code() int
- func (o *AdminCreatePublicKeyForbidden) Error() string
- func (o *AdminCreatePublicKeyForbidden) IsClientError() bool
- func (o *AdminCreatePublicKeyForbidden) IsCode(code int) bool
- func (o *AdminCreatePublicKeyForbidden) IsRedirect() bool
- func (o *AdminCreatePublicKeyForbidden) IsServerError() bool
- func (o *AdminCreatePublicKeyForbidden) IsSuccess() bool
- func (o *AdminCreatePublicKeyForbidden) String() string
- type AdminCreatePublicKeyParams
- func NewAdminCreatePublicKeyParams() *AdminCreatePublicKeyParams
- func NewAdminCreatePublicKeyParamsWithContext(ctx context.Context) *AdminCreatePublicKeyParams
- func NewAdminCreatePublicKeyParamsWithHTTPClient(client *http.Client) *AdminCreatePublicKeyParams
- func NewAdminCreatePublicKeyParamsWithTimeout(timeout time.Duration) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) SetContext(ctx context.Context)
- func (o *AdminCreatePublicKeyParams) SetDefaults()
- func (o *AdminCreatePublicKeyParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreatePublicKeyParams) SetKey(key *models.CreateKeyOption)
- func (o *AdminCreatePublicKeyParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreatePublicKeyParams) SetUsername(username string)
- func (o *AdminCreatePublicKeyParams) WithContext(ctx context.Context) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WithDefaults() *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WithHTTPClient(client *http.Client) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WithKey(key *models.CreateKeyOption) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WithTimeout(timeout time.Duration) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WithUsername(username string) *AdminCreatePublicKeyParams
- func (o *AdminCreatePublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreatePublicKeyReader
- type AdminCreatePublicKeyUnprocessableEntity
- func (o *AdminCreatePublicKeyUnprocessableEntity) Code() int
- func (o *AdminCreatePublicKeyUnprocessableEntity) Error() string
- func (o *AdminCreatePublicKeyUnprocessableEntity) IsClientError() bool
- func (o *AdminCreatePublicKeyUnprocessableEntity) IsCode(code int) bool
- func (o *AdminCreatePublicKeyUnprocessableEntity) IsRedirect() bool
- func (o *AdminCreatePublicKeyUnprocessableEntity) IsServerError() bool
- func (o *AdminCreatePublicKeyUnprocessableEntity) IsSuccess() bool
- func (o *AdminCreatePublicKeyUnprocessableEntity) String() string
- type AdminCreateRepoBadRequest
- func (o *AdminCreateRepoBadRequest) Code() int
- func (o *AdminCreateRepoBadRequest) Error() string
- func (o *AdminCreateRepoBadRequest) IsClientError() bool
- func (o *AdminCreateRepoBadRequest) IsCode(code int) bool
- func (o *AdminCreateRepoBadRequest) IsRedirect() bool
- func (o *AdminCreateRepoBadRequest) IsServerError() bool
- func (o *AdminCreateRepoBadRequest) IsSuccess() bool
- func (o *AdminCreateRepoBadRequest) String() string
- type AdminCreateRepoConflict
- func (o *AdminCreateRepoConflict) Code() int
- func (o *AdminCreateRepoConflict) Error() string
- func (o *AdminCreateRepoConflict) IsClientError() bool
- func (o *AdminCreateRepoConflict) IsCode(code int) bool
- func (o *AdminCreateRepoConflict) IsRedirect() bool
- func (o *AdminCreateRepoConflict) IsServerError() bool
- func (o *AdminCreateRepoConflict) IsSuccess() bool
- func (o *AdminCreateRepoConflict) String() string
- type AdminCreateRepoCreated
- func (o *AdminCreateRepoCreated) Code() int
- func (o *AdminCreateRepoCreated) Error() string
- func (o *AdminCreateRepoCreated) GetPayload() *models.Repository
- func (o *AdminCreateRepoCreated) IsClientError() bool
- func (o *AdminCreateRepoCreated) IsCode(code int) bool
- func (o *AdminCreateRepoCreated) IsRedirect() bool
- func (o *AdminCreateRepoCreated) IsServerError() bool
- func (o *AdminCreateRepoCreated) IsSuccess() bool
- func (o *AdminCreateRepoCreated) String() string
- type AdminCreateRepoForbidden
- func (o *AdminCreateRepoForbidden) Code() int
- func (o *AdminCreateRepoForbidden) Error() string
- func (o *AdminCreateRepoForbidden) IsClientError() bool
- func (o *AdminCreateRepoForbidden) IsCode(code int) bool
- func (o *AdminCreateRepoForbidden) IsRedirect() bool
- func (o *AdminCreateRepoForbidden) IsServerError() bool
- func (o *AdminCreateRepoForbidden) IsSuccess() bool
- func (o *AdminCreateRepoForbidden) String() string
- type AdminCreateRepoNotFound
- func (o *AdminCreateRepoNotFound) Code() int
- func (o *AdminCreateRepoNotFound) Error() string
- func (o *AdminCreateRepoNotFound) IsClientError() bool
- func (o *AdminCreateRepoNotFound) IsCode(code int) bool
- func (o *AdminCreateRepoNotFound) IsRedirect() bool
- func (o *AdminCreateRepoNotFound) IsServerError() bool
- func (o *AdminCreateRepoNotFound) IsSuccess() bool
- func (o *AdminCreateRepoNotFound) String() string
- type AdminCreateRepoParams
- func NewAdminCreateRepoParams() *AdminCreateRepoParams
- func NewAdminCreateRepoParamsWithContext(ctx context.Context) *AdminCreateRepoParams
- func NewAdminCreateRepoParamsWithHTTPClient(client *http.Client) *AdminCreateRepoParams
- func NewAdminCreateRepoParamsWithTimeout(timeout time.Duration) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) SetContext(ctx context.Context)
- func (o *AdminCreateRepoParams) SetDefaults()
- func (o *AdminCreateRepoParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateRepoParams) SetRepository(repository *models.CreateRepoOption)
- func (o *AdminCreateRepoParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateRepoParams) SetUsername(username string)
- func (o *AdminCreateRepoParams) WithContext(ctx context.Context) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WithDefaults() *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WithHTTPClient(client *http.Client) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WithRepository(repository *models.CreateRepoOption) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WithTimeout(timeout time.Duration) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WithUsername(username string) *AdminCreateRepoParams
- func (o *AdminCreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateRepoReader
- type AdminCreateRepoUnprocessableEntity
- func (o *AdminCreateRepoUnprocessableEntity) Code() int
- func (o *AdminCreateRepoUnprocessableEntity) Error() string
- func (o *AdminCreateRepoUnprocessableEntity) IsClientError() bool
- func (o *AdminCreateRepoUnprocessableEntity) IsCode(code int) bool
- func (o *AdminCreateRepoUnprocessableEntity) IsRedirect() bool
- func (o *AdminCreateRepoUnprocessableEntity) IsServerError() bool
- func (o *AdminCreateRepoUnprocessableEntity) IsSuccess() bool
- func (o *AdminCreateRepoUnprocessableEntity) String() string
- type AdminCreateUserBadRequest
- func (o *AdminCreateUserBadRequest) Code() int
- func (o *AdminCreateUserBadRequest) Error() string
- func (o *AdminCreateUserBadRequest) IsClientError() bool
- func (o *AdminCreateUserBadRequest) IsCode(code int) bool
- func (o *AdminCreateUserBadRequest) IsRedirect() bool
- func (o *AdminCreateUserBadRequest) IsServerError() bool
- func (o *AdminCreateUserBadRequest) IsSuccess() bool
- func (o *AdminCreateUserBadRequest) String() string
- type AdminCreateUserCreated
- func (o *AdminCreateUserCreated) Code() int
- func (o *AdminCreateUserCreated) Error() string
- func (o *AdminCreateUserCreated) GetPayload() *models.User
- func (o *AdminCreateUserCreated) IsClientError() bool
- func (o *AdminCreateUserCreated) IsCode(code int) bool
- func (o *AdminCreateUserCreated) IsRedirect() bool
- func (o *AdminCreateUserCreated) IsServerError() bool
- func (o *AdminCreateUserCreated) IsSuccess() bool
- func (o *AdminCreateUserCreated) String() string
- type AdminCreateUserForbidden
- func (o *AdminCreateUserForbidden) Code() int
- func (o *AdminCreateUserForbidden) Error() string
- func (o *AdminCreateUserForbidden) IsClientError() bool
- func (o *AdminCreateUserForbidden) IsCode(code int) bool
- func (o *AdminCreateUserForbidden) IsRedirect() bool
- func (o *AdminCreateUserForbidden) IsServerError() bool
- func (o *AdminCreateUserForbidden) IsSuccess() bool
- func (o *AdminCreateUserForbidden) String() string
- type AdminCreateUserParams
- func NewAdminCreateUserParams() *AdminCreateUserParams
- func NewAdminCreateUserParamsWithContext(ctx context.Context) *AdminCreateUserParams
- func NewAdminCreateUserParamsWithHTTPClient(client *http.Client) *AdminCreateUserParams
- func NewAdminCreateUserParamsWithTimeout(timeout time.Duration) *AdminCreateUserParams
- func (o *AdminCreateUserParams) SetBody(body *models.CreateUserOption)
- func (o *AdminCreateUserParams) SetContext(ctx context.Context)
- func (o *AdminCreateUserParams) SetDefaults()
- func (o *AdminCreateUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateUserParams) WithBody(body *models.CreateUserOption) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithContext(ctx context.Context) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithDefaults() *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithHTTPClient(client *http.Client) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WithTimeout(timeout time.Duration) *AdminCreateUserParams
- func (o *AdminCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateUserReader
- type AdminCreateUserUnprocessableEntity
- func (o *AdminCreateUserUnprocessableEntity) Code() int
- func (o *AdminCreateUserUnprocessableEntity) Error() string
- func (o *AdminCreateUserUnprocessableEntity) IsClientError() bool
- func (o *AdminCreateUserUnprocessableEntity) IsCode(code int) bool
- func (o *AdminCreateUserUnprocessableEntity) IsRedirect() bool
- func (o *AdminCreateUserUnprocessableEntity) IsServerError() bool
- func (o *AdminCreateUserUnprocessableEntity) IsSuccess() bool
- func (o *AdminCreateUserUnprocessableEntity) String() string
- type AdminCronListForbidden
- func (o *AdminCronListForbidden) Code() int
- func (o *AdminCronListForbidden) Error() string
- func (o *AdminCronListForbidden) IsClientError() bool
- func (o *AdminCronListForbidden) IsCode(code int) bool
- func (o *AdminCronListForbidden) IsRedirect() bool
- func (o *AdminCronListForbidden) IsServerError() bool
- func (o *AdminCronListForbidden) IsSuccess() bool
- func (o *AdminCronListForbidden) String() string
- type AdminCronListOK
- func (o *AdminCronListOK) Code() int
- func (o *AdminCronListOK) Error() string
- func (o *AdminCronListOK) GetPayload() []*models.Cron
- func (o *AdminCronListOK) IsClientError() bool
- func (o *AdminCronListOK) IsCode(code int) bool
- func (o *AdminCronListOK) IsRedirect() bool
- func (o *AdminCronListOK) IsServerError() bool
- func (o *AdminCronListOK) IsSuccess() bool
- func (o *AdminCronListOK) String() string
- type AdminCronListParams
- func (o *AdminCronListParams) SetContext(ctx context.Context)
- func (o *AdminCronListParams) SetDefaults()
- func (o *AdminCronListParams) SetHTTPClient(client *http.Client)
- func (o *AdminCronListParams) SetLimit(limit *int64)
- func (o *AdminCronListParams) SetPage(page *int64)
- func (o *AdminCronListParams) SetTimeout(timeout time.Duration)
- func (o *AdminCronListParams) WithContext(ctx context.Context) *AdminCronListParams
- func (o *AdminCronListParams) WithDefaults() *AdminCronListParams
- func (o *AdminCronListParams) WithHTTPClient(client *http.Client) *AdminCronListParams
- func (o *AdminCronListParams) WithLimit(limit *int64) *AdminCronListParams
- func (o *AdminCronListParams) WithPage(page *int64) *AdminCronListParams
- func (o *AdminCronListParams) WithTimeout(timeout time.Duration) *AdminCronListParams
- func (o *AdminCronListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCronListReader
- type AdminCronRunNoContent
- func (o *AdminCronRunNoContent) Code() int
- func (o *AdminCronRunNoContent) Error() string
- func (o *AdminCronRunNoContent) IsClientError() bool
- func (o *AdminCronRunNoContent) IsCode(code int) bool
- func (o *AdminCronRunNoContent) IsRedirect() bool
- func (o *AdminCronRunNoContent) IsServerError() bool
- func (o *AdminCronRunNoContent) IsSuccess() bool
- func (o *AdminCronRunNoContent) String() string
- type AdminCronRunNotFound
- func (o *AdminCronRunNotFound) Code() int
- func (o *AdminCronRunNotFound) Error() string
- func (o *AdminCronRunNotFound) IsClientError() bool
- func (o *AdminCronRunNotFound) IsCode(code int) bool
- func (o *AdminCronRunNotFound) IsRedirect() bool
- func (o *AdminCronRunNotFound) IsServerError() bool
- func (o *AdminCronRunNotFound) IsSuccess() bool
- func (o *AdminCronRunNotFound) String() string
- type AdminCronRunParams
- func (o *AdminCronRunParams) SetContext(ctx context.Context)
- func (o *AdminCronRunParams) SetDefaults()
- func (o *AdminCronRunParams) SetHTTPClient(client *http.Client)
- func (o *AdminCronRunParams) SetTask(task string)
- func (o *AdminCronRunParams) SetTimeout(timeout time.Duration)
- func (o *AdminCronRunParams) WithContext(ctx context.Context) *AdminCronRunParams
- func (o *AdminCronRunParams) WithDefaults() *AdminCronRunParams
- func (o *AdminCronRunParams) WithHTTPClient(client *http.Client) *AdminCronRunParams
- func (o *AdminCronRunParams) WithTask(task string) *AdminCronRunParams
- func (o *AdminCronRunParams) WithTimeout(timeout time.Duration) *AdminCronRunParams
- func (o *AdminCronRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCronRunReader
- type AdminDeleteHookNoContent
- func (o *AdminDeleteHookNoContent) Code() int
- func (o *AdminDeleteHookNoContent) Error() string
- func (o *AdminDeleteHookNoContent) IsClientError() bool
- func (o *AdminDeleteHookNoContent) IsCode(code int) bool
- func (o *AdminDeleteHookNoContent) IsRedirect() bool
- func (o *AdminDeleteHookNoContent) IsServerError() bool
- func (o *AdminDeleteHookNoContent) IsSuccess() bool
- func (o *AdminDeleteHookNoContent) String() string
- type AdminDeleteHookParams
- func NewAdminDeleteHookParams() *AdminDeleteHookParams
- func NewAdminDeleteHookParamsWithContext(ctx context.Context) *AdminDeleteHookParams
- func NewAdminDeleteHookParamsWithHTTPClient(client *http.Client) *AdminDeleteHookParams
- func NewAdminDeleteHookParamsWithTimeout(timeout time.Duration) *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) SetContext(ctx context.Context)
- func (o *AdminDeleteHookParams) SetDefaults()
- func (o *AdminDeleteHookParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteHookParams) SetID(id int64)
- func (o *AdminDeleteHookParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteHookParams) WithContext(ctx context.Context) *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) WithDefaults() *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) WithHTTPClient(client *http.Client) *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) WithID(id int64) *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) WithTimeout(timeout time.Duration) *AdminDeleteHookParams
- func (o *AdminDeleteHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteHookReader
- type AdminDeleteUnadoptedRepositoryForbidden
- func (o *AdminDeleteUnadoptedRepositoryForbidden) Code() int
- func (o *AdminDeleteUnadoptedRepositoryForbidden) Error() string
- func (o *AdminDeleteUnadoptedRepositoryForbidden) IsClientError() bool
- func (o *AdminDeleteUnadoptedRepositoryForbidden) IsCode(code int) bool
- func (o *AdminDeleteUnadoptedRepositoryForbidden) IsRedirect() bool
- func (o *AdminDeleteUnadoptedRepositoryForbidden) IsServerError() bool
- func (o *AdminDeleteUnadoptedRepositoryForbidden) IsSuccess() bool
- func (o *AdminDeleteUnadoptedRepositoryForbidden) String() string
- type AdminDeleteUnadoptedRepositoryNoContent
- func (o *AdminDeleteUnadoptedRepositoryNoContent) Code() int
- func (o *AdminDeleteUnadoptedRepositoryNoContent) Error() string
- func (o *AdminDeleteUnadoptedRepositoryNoContent) IsClientError() bool
- func (o *AdminDeleteUnadoptedRepositoryNoContent) IsCode(code int) bool
- func (o *AdminDeleteUnadoptedRepositoryNoContent) IsRedirect() bool
- func (o *AdminDeleteUnadoptedRepositoryNoContent) IsServerError() bool
- func (o *AdminDeleteUnadoptedRepositoryNoContent) IsSuccess() bool
- func (o *AdminDeleteUnadoptedRepositoryNoContent) String() string
- type AdminDeleteUnadoptedRepositoryParams
- func NewAdminDeleteUnadoptedRepositoryParams() *AdminDeleteUnadoptedRepositoryParams
- func NewAdminDeleteUnadoptedRepositoryParamsWithContext(ctx context.Context) *AdminDeleteUnadoptedRepositoryParams
- func NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient(client *http.Client) *AdminDeleteUnadoptedRepositoryParams
- func NewAdminDeleteUnadoptedRepositoryParamsWithTimeout(timeout time.Duration) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) SetContext(ctx context.Context)
- func (o *AdminDeleteUnadoptedRepositoryParams) SetDefaults()
- func (o *AdminDeleteUnadoptedRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUnadoptedRepositoryParams) SetOwner(owner string)
- func (o *AdminDeleteUnadoptedRepositoryParams) SetRepo(repo string)
- func (o *AdminDeleteUnadoptedRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUnadoptedRepositoryParams) WithContext(ctx context.Context) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WithDefaults() *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WithHTTPClient(client *http.Client) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WithOwner(owner string) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WithRepo(repo string) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WithTimeout(timeout time.Duration) *AdminDeleteUnadoptedRepositoryParams
- func (o *AdminDeleteUnadoptedRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUnadoptedRepositoryReader
- type AdminDeleteUserBadgesForbidden
- func (o *AdminDeleteUserBadgesForbidden) Code() int
- func (o *AdminDeleteUserBadgesForbidden) Error() string
- func (o *AdminDeleteUserBadgesForbidden) IsClientError() bool
- func (o *AdminDeleteUserBadgesForbidden) IsCode(code int) bool
- func (o *AdminDeleteUserBadgesForbidden) IsRedirect() bool
- func (o *AdminDeleteUserBadgesForbidden) IsServerError() bool
- func (o *AdminDeleteUserBadgesForbidden) IsSuccess() bool
- func (o *AdminDeleteUserBadgesForbidden) String() string
- type AdminDeleteUserBadgesNoContent
- func (o *AdminDeleteUserBadgesNoContent) Code() int
- func (o *AdminDeleteUserBadgesNoContent) Error() string
- func (o *AdminDeleteUserBadgesNoContent) IsClientError() bool
- func (o *AdminDeleteUserBadgesNoContent) IsCode(code int) bool
- func (o *AdminDeleteUserBadgesNoContent) IsRedirect() bool
- func (o *AdminDeleteUserBadgesNoContent) IsServerError() bool
- func (o *AdminDeleteUserBadgesNoContent) IsSuccess() bool
- func (o *AdminDeleteUserBadgesNoContent) String() string
- type AdminDeleteUserBadgesParams
- func NewAdminDeleteUserBadgesParams() *AdminDeleteUserBadgesParams
- func NewAdminDeleteUserBadgesParamsWithContext(ctx context.Context) *AdminDeleteUserBadgesParams
- func NewAdminDeleteUserBadgesParamsWithHTTPClient(client *http.Client) *AdminDeleteUserBadgesParams
- func NewAdminDeleteUserBadgesParamsWithTimeout(timeout time.Duration) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) SetBody(body *models.UserBadgeOption)
- func (o *AdminDeleteUserBadgesParams) SetContext(ctx context.Context)
- func (o *AdminDeleteUserBadgesParams) SetDefaults()
- func (o *AdminDeleteUserBadgesParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserBadgesParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserBadgesParams) SetUsername(username string)
- func (o *AdminDeleteUserBadgesParams) WithBody(body *models.UserBadgeOption) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WithContext(ctx context.Context) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WithDefaults() *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WithHTTPClient(client *http.Client) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WithTimeout(timeout time.Duration) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WithUsername(username string) *AdminDeleteUserBadgesParams
- func (o *AdminDeleteUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserBadgesReader
- type AdminDeleteUserBadgesUnprocessableEntity
- func (o *AdminDeleteUserBadgesUnprocessableEntity) Code() int
- func (o *AdminDeleteUserBadgesUnprocessableEntity) Error() string
- func (o *AdminDeleteUserBadgesUnprocessableEntity) IsClientError() bool
- func (o *AdminDeleteUserBadgesUnprocessableEntity) IsCode(code int) bool
- func (o *AdminDeleteUserBadgesUnprocessableEntity) IsRedirect() bool
- func (o *AdminDeleteUserBadgesUnprocessableEntity) IsServerError() bool
- func (o *AdminDeleteUserBadgesUnprocessableEntity) IsSuccess() bool
- func (o *AdminDeleteUserBadgesUnprocessableEntity) String() string
- type AdminDeleteUserForbidden
- func (o *AdminDeleteUserForbidden) Code() int
- func (o *AdminDeleteUserForbidden) Error() string
- func (o *AdminDeleteUserForbidden) IsClientError() bool
- func (o *AdminDeleteUserForbidden) IsCode(code int) bool
- func (o *AdminDeleteUserForbidden) IsRedirect() bool
- func (o *AdminDeleteUserForbidden) IsServerError() bool
- func (o *AdminDeleteUserForbidden) IsSuccess() bool
- func (o *AdminDeleteUserForbidden) String() string
- type AdminDeleteUserNoContent
- func (o *AdminDeleteUserNoContent) Code() int
- func (o *AdminDeleteUserNoContent) Error() string
- func (o *AdminDeleteUserNoContent) IsClientError() bool
- func (o *AdminDeleteUserNoContent) IsCode(code int) bool
- func (o *AdminDeleteUserNoContent) IsRedirect() bool
- func (o *AdminDeleteUserNoContent) IsServerError() bool
- func (o *AdminDeleteUserNoContent) IsSuccess() bool
- func (o *AdminDeleteUserNoContent) String() string
- type AdminDeleteUserNotFound
- func (o *AdminDeleteUserNotFound) Code() int
- func (o *AdminDeleteUserNotFound) Error() string
- func (o *AdminDeleteUserNotFound) IsClientError() bool
- func (o *AdminDeleteUserNotFound) IsCode(code int) bool
- func (o *AdminDeleteUserNotFound) IsRedirect() bool
- func (o *AdminDeleteUserNotFound) IsServerError() bool
- func (o *AdminDeleteUserNotFound) IsSuccess() bool
- func (o *AdminDeleteUserNotFound) String() string
- type AdminDeleteUserParams
- func NewAdminDeleteUserParams() *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithContext(ctx context.Context) *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithHTTPClient(client *http.Client) *AdminDeleteUserParams
- func NewAdminDeleteUserParamsWithTimeout(timeout time.Duration) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) SetContext(ctx context.Context)
- func (o *AdminDeleteUserParams) SetDefaults()
- func (o *AdminDeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserParams) SetPurge(purge *bool)
- func (o *AdminDeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserParams) SetUsername(username string)
- func (o *AdminDeleteUserParams) WithContext(ctx context.Context) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithDefaults() *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithHTTPClient(client *http.Client) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithPurge(purge *bool) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithTimeout(timeout time.Duration) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WithUsername(username string) *AdminDeleteUserParams
- func (o *AdminDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserPublicKeyForbidden
- func (o *AdminDeleteUserPublicKeyForbidden) Code() int
- func (o *AdminDeleteUserPublicKeyForbidden) Error() string
- func (o *AdminDeleteUserPublicKeyForbidden) IsClientError() bool
- func (o *AdminDeleteUserPublicKeyForbidden) IsCode(code int) bool
- func (o *AdminDeleteUserPublicKeyForbidden) IsRedirect() bool
- func (o *AdminDeleteUserPublicKeyForbidden) IsServerError() bool
- func (o *AdminDeleteUserPublicKeyForbidden) IsSuccess() bool
- func (o *AdminDeleteUserPublicKeyForbidden) String() string
- type AdminDeleteUserPublicKeyNoContent
- func (o *AdminDeleteUserPublicKeyNoContent) Code() int
- func (o *AdminDeleteUserPublicKeyNoContent) Error() string
- func (o *AdminDeleteUserPublicKeyNoContent) IsClientError() bool
- func (o *AdminDeleteUserPublicKeyNoContent) IsCode(code int) bool
- func (o *AdminDeleteUserPublicKeyNoContent) IsRedirect() bool
- func (o *AdminDeleteUserPublicKeyNoContent) IsServerError() bool
- func (o *AdminDeleteUserPublicKeyNoContent) IsSuccess() bool
- func (o *AdminDeleteUserPublicKeyNoContent) String() string
- type AdminDeleteUserPublicKeyNotFound
- func (o *AdminDeleteUserPublicKeyNotFound) Code() int
- func (o *AdminDeleteUserPublicKeyNotFound) Error() string
- func (o *AdminDeleteUserPublicKeyNotFound) IsClientError() bool
- func (o *AdminDeleteUserPublicKeyNotFound) IsCode(code int) bool
- func (o *AdminDeleteUserPublicKeyNotFound) IsRedirect() bool
- func (o *AdminDeleteUserPublicKeyNotFound) IsServerError() bool
- func (o *AdminDeleteUserPublicKeyNotFound) IsSuccess() bool
- func (o *AdminDeleteUserPublicKeyNotFound) String() string
- type AdminDeleteUserPublicKeyParams
- func NewAdminDeleteUserPublicKeyParams() *AdminDeleteUserPublicKeyParams
- func NewAdminDeleteUserPublicKeyParamsWithContext(ctx context.Context) *AdminDeleteUserPublicKeyParams
- func NewAdminDeleteUserPublicKeyParamsWithHTTPClient(client *http.Client) *AdminDeleteUserPublicKeyParams
- func NewAdminDeleteUserPublicKeyParamsWithTimeout(timeout time.Duration) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) SetContext(ctx context.Context)
- func (o *AdminDeleteUserPublicKeyParams) SetDefaults()
- func (o *AdminDeleteUserPublicKeyParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserPublicKeyParams) SetID(id int64)
- func (o *AdminDeleteUserPublicKeyParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserPublicKeyParams) SetUsername(username string)
- func (o *AdminDeleteUserPublicKeyParams) WithContext(ctx context.Context) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WithDefaults() *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WithHTTPClient(client *http.Client) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WithID(id int64) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WithTimeout(timeout time.Duration) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WithUsername(username string) *AdminDeleteUserPublicKeyParams
- func (o *AdminDeleteUserPublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserPublicKeyReader
- type AdminDeleteUserReader
- type AdminDeleteUserUnprocessableEntity
- func (o *AdminDeleteUserUnprocessableEntity) Code() int
- func (o *AdminDeleteUserUnprocessableEntity) Error() string
- func (o *AdminDeleteUserUnprocessableEntity) IsClientError() bool
- func (o *AdminDeleteUserUnprocessableEntity) IsCode(code int) bool
- func (o *AdminDeleteUserUnprocessableEntity) IsRedirect() bool
- func (o *AdminDeleteUserUnprocessableEntity) IsServerError() bool
- func (o *AdminDeleteUserUnprocessableEntity) IsSuccess() bool
- func (o *AdminDeleteUserUnprocessableEntity) String() string
- type AdminEditHookOK
- func (o *AdminEditHookOK) Code() int
- func (o *AdminEditHookOK) Error() string
- func (o *AdminEditHookOK) GetPayload() *models.Hook
- func (o *AdminEditHookOK) IsClientError() bool
- func (o *AdminEditHookOK) IsCode(code int) bool
- func (o *AdminEditHookOK) IsRedirect() bool
- func (o *AdminEditHookOK) IsServerError() bool
- func (o *AdminEditHookOK) IsSuccess() bool
- func (o *AdminEditHookOK) String() string
- type AdminEditHookParams
- func (o *AdminEditHookParams) SetBody(body *models.EditHookOption)
- func (o *AdminEditHookParams) SetContext(ctx context.Context)
- func (o *AdminEditHookParams) SetDefaults()
- func (o *AdminEditHookParams) SetHTTPClient(client *http.Client)
- func (o *AdminEditHookParams) SetID(id int64)
- func (o *AdminEditHookParams) SetTimeout(timeout time.Duration)
- func (o *AdminEditHookParams) WithBody(body *models.EditHookOption) *AdminEditHookParams
- func (o *AdminEditHookParams) WithContext(ctx context.Context) *AdminEditHookParams
- func (o *AdminEditHookParams) WithDefaults() *AdminEditHookParams
- func (o *AdminEditHookParams) WithHTTPClient(client *http.Client) *AdminEditHookParams
- func (o *AdminEditHookParams) WithID(id int64) *AdminEditHookParams
- func (o *AdminEditHookParams) WithTimeout(timeout time.Duration) *AdminEditHookParams
- func (o *AdminEditHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminEditHookReader
- type AdminEditUserBadRequest
- func (o *AdminEditUserBadRequest) Code() int
- func (o *AdminEditUserBadRequest) Error() string
- func (o *AdminEditUserBadRequest) IsClientError() bool
- func (o *AdminEditUserBadRequest) IsCode(code int) bool
- func (o *AdminEditUserBadRequest) IsRedirect() bool
- func (o *AdminEditUserBadRequest) IsServerError() bool
- func (o *AdminEditUserBadRequest) IsSuccess() bool
- func (o *AdminEditUserBadRequest) String() string
- type AdminEditUserForbidden
- func (o *AdminEditUserForbidden) Code() int
- func (o *AdminEditUserForbidden) Error() string
- func (o *AdminEditUserForbidden) IsClientError() bool
- func (o *AdminEditUserForbidden) IsCode(code int) bool
- func (o *AdminEditUserForbidden) IsRedirect() bool
- func (o *AdminEditUserForbidden) IsServerError() bool
- func (o *AdminEditUserForbidden) IsSuccess() bool
- func (o *AdminEditUserForbidden) String() string
- type AdminEditUserOK
- func (o *AdminEditUserOK) Code() int
- func (o *AdminEditUserOK) Error() string
- func (o *AdminEditUserOK) GetPayload() *models.User
- func (o *AdminEditUserOK) IsClientError() bool
- func (o *AdminEditUserOK) IsCode(code int) bool
- func (o *AdminEditUserOK) IsRedirect() bool
- func (o *AdminEditUserOK) IsServerError() bool
- func (o *AdminEditUserOK) IsSuccess() bool
- func (o *AdminEditUserOK) String() string
- type AdminEditUserParams
- func (o *AdminEditUserParams) SetBody(body *models.EditUserOption)
- func (o *AdminEditUserParams) SetContext(ctx context.Context)
- func (o *AdminEditUserParams) SetDefaults()
- func (o *AdminEditUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminEditUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminEditUserParams) SetUsername(username string)
- func (o *AdminEditUserParams) WithBody(body *models.EditUserOption) *AdminEditUserParams
- func (o *AdminEditUserParams) WithContext(ctx context.Context) *AdminEditUserParams
- func (o *AdminEditUserParams) WithDefaults() *AdminEditUserParams
- func (o *AdminEditUserParams) WithHTTPClient(client *http.Client) *AdminEditUserParams
- func (o *AdminEditUserParams) WithTimeout(timeout time.Duration) *AdminEditUserParams
- func (o *AdminEditUserParams) WithUsername(username string) *AdminEditUserParams
- func (o *AdminEditUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminEditUserReader
- type AdminEditUserUnprocessableEntity
- func (o *AdminEditUserUnprocessableEntity) Code() int
- func (o *AdminEditUserUnprocessableEntity) Error() string
- func (o *AdminEditUserUnprocessableEntity) IsClientError() bool
- func (o *AdminEditUserUnprocessableEntity) IsCode(code int) bool
- func (o *AdminEditUserUnprocessableEntity) IsRedirect() bool
- func (o *AdminEditUserUnprocessableEntity) IsServerError() bool
- func (o *AdminEditUserUnprocessableEntity) IsSuccess() bool
- func (o *AdminEditUserUnprocessableEntity) String() string
- type AdminGetAllEmailsForbidden
- func (o *AdminGetAllEmailsForbidden) Code() int
- func (o *AdminGetAllEmailsForbidden) Error() string
- func (o *AdminGetAllEmailsForbidden) IsClientError() bool
- func (o *AdminGetAllEmailsForbidden) IsCode(code int) bool
- func (o *AdminGetAllEmailsForbidden) IsRedirect() bool
- func (o *AdminGetAllEmailsForbidden) IsServerError() bool
- func (o *AdminGetAllEmailsForbidden) IsSuccess() bool
- func (o *AdminGetAllEmailsForbidden) String() string
- type AdminGetAllEmailsOK
- func (o *AdminGetAllEmailsOK) Code() int
- func (o *AdminGetAllEmailsOK) Error() string
- func (o *AdminGetAllEmailsOK) GetPayload() []*models.Email
- func (o *AdminGetAllEmailsOK) IsClientError() bool
- func (o *AdminGetAllEmailsOK) IsCode(code int) bool
- func (o *AdminGetAllEmailsOK) IsRedirect() bool
- func (o *AdminGetAllEmailsOK) IsServerError() bool
- func (o *AdminGetAllEmailsOK) IsSuccess() bool
- func (o *AdminGetAllEmailsOK) String() string
- type AdminGetAllEmailsParams
- func NewAdminGetAllEmailsParams() *AdminGetAllEmailsParams
- func NewAdminGetAllEmailsParamsWithContext(ctx context.Context) *AdminGetAllEmailsParams
- func NewAdminGetAllEmailsParamsWithHTTPClient(client *http.Client) *AdminGetAllEmailsParams
- func NewAdminGetAllEmailsParamsWithTimeout(timeout time.Duration) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) SetContext(ctx context.Context)
- func (o *AdminGetAllEmailsParams) SetDefaults()
- func (o *AdminGetAllEmailsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetAllEmailsParams) SetLimit(limit *int64)
- func (o *AdminGetAllEmailsParams) SetPage(page *int64)
- func (o *AdminGetAllEmailsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetAllEmailsParams) WithContext(ctx context.Context) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WithDefaults() *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WithHTTPClient(client *http.Client) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WithLimit(limit *int64) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WithPage(page *int64) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WithTimeout(timeout time.Duration) *AdminGetAllEmailsParams
- func (o *AdminGetAllEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetAllEmailsReader
- type AdminGetAllOrgsForbidden
- func (o *AdminGetAllOrgsForbidden) Code() int
- func (o *AdminGetAllOrgsForbidden) Error() string
- func (o *AdminGetAllOrgsForbidden) IsClientError() bool
- func (o *AdminGetAllOrgsForbidden) IsCode(code int) bool
- func (o *AdminGetAllOrgsForbidden) IsRedirect() bool
- func (o *AdminGetAllOrgsForbidden) IsServerError() bool
- func (o *AdminGetAllOrgsForbidden) IsSuccess() bool
- func (o *AdminGetAllOrgsForbidden) String() string
- type AdminGetAllOrgsOK
- func (o *AdminGetAllOrgsOK) Code() int
- func (o *AdminGetAllOrgsOK) Error() string
- func (o *AdminGetAllOrgsOK) GetPayload() []*models.Organization
- func (o *AdminGetAllOrgsOK) IsClientError() bool
- func (o *AdminGetAllOrgsOK) IsCode(code int) bool
- func (o *AdminGetAllOrgsOK) IsRedirect() bool
- func (o *AdminGetAllOrgsOK) IsServerError() bool
- func (o *AdminGetAllOrgsOK) IsSuccess() bool
- func (o *AdminGetAllOrgsOK) String() string
- type AdminGetAllOrgsParams
- func NewAdminGetAllOrgsParams() *AdminGetAllOrgsParams
- func NewAdminGetAllOrgsParamsWithContext(ctx context.Context) *AdminGetAllOrgsParams
- func NewAdminGetAllOrgsParamsWithHTTPClient(client *http.Client) *AdminGetAllOrgsParams
- func NewAdminGetAllOrgsParamsWithTimeout(timeout time.Duration) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) SetContext(ctx context.Context)
- func (o *AdminGetAllOrgsParams) SetDefaults()
- func (o *AdminGetAllOrgsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetAllOrgsParams) SetLimit(limit *int64)
- func (o *AdminGetAllOrgsParams) SetPage(page *int64)
- func (o *AdminGetAllOrgsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetAllOrgsParams) WithContext(ctx context.Context) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WithDefaults() *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WithHTTPClient(client *http.Client) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WithLimit(limit *int64) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WithPage(page *int64) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WithTimeout(timeout time.Duration) *AdminGetAllOrgsParams
- func (o *AdminGetAllOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetAllOrgsReader
- type AdminGetHookOK
- func (o *AdminGetHookOK) Code() int
- func (o *AdminGetHookOK) Error() string
- func (o *AdminGetHookOK) GetPayload() *models.Hook
- func (o *AdminGetHookOK) IsClientError() bool
- func (o *AdminGetHookOK) IsCode(code int) bool
- func (o *AdminGetHookOK) IsRedirect() bool
- func (o *AdminGetHookOK) IsServerError() bool
- func (o *AdminGetHookOK) IsSuccess() bool
- func (o *AdminGetHookOK) String() string
- type AdminGetHookParams
- func (o *AdminGetHookParams) SetContext(ctx context.Context)
- func (o *AdminGetHookParams) SetDefaults()
- func (o *AdminGetHookParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetHookParams) SetID(id int64)
- func (o *AdminGetHookParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetHookParams) WithContext(ctx context.Context) *AdminGetHookParams
- func (o *AdminGetHookParams) WithDefaults() *AdminGetHookParams
- func (o *AdminGetHookParams) WithHTTPClient(client *http.Client) *AdminGetHookParams
- func (o *AdminGetHookParams) WithID(id int64) *AdminGetHookParams
- func (o *AdminGetHookParams) WithTimeout(timeout time.Duration) *AdminGetHookParams
- func (o *AdminGetHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetHookReader
- type AdminGetRunnerRegistrationTokenOK
- func (o *AdminGetRunnerRegistrationTokenOK) Code() int
- func (o *AdminGetRunnerRegistrationTokenOK) Error() string
- func (o *AdminGetRunnerRegistrationTokenOK) IsClientError() bool
- func (o *AdminGetRunnerRegistrationTokenOK) IsCode(code int) bool
- func (o *AdminGetRunnerRegistrationTokenOK) IsRedirect() bool
- func (o *AdminGetRunnerRegistrationTokenOK) IsServerError() bool
- func (o *AdminGetRunnerRegistrationTokenOK) IsSuccess() bool
- func (o *AdminGetRunnerRegistrationTokenOK) String() string
- type AdminGetRunnerRegistrationTokenParams
- func NewAdminGetRunnerRegistrationTokenParams() *AdminGetRunnerRegistrationTokenParams
- func NewAdminGetRunnerRegistrationTokenParamsWithContext(ctx context.Context) *AdminGetRunnerRegistrationTokenParams
- func NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient(client *http.Client) *AdminGetRunnerRegistrationTokenParams
- func NewAdminGetRunnerRegistrationTokenParamsWithTimeout(timeout time.Duration) *AdminGetRunnerRegistrationTokenParams
- func (o *AdminGetRunnerRegistrationTokenParams) SetContext(ctx context.Context)
- func (o *AdminGetRunnerRegistrationTokenParams) SetDefaults()
- func (o *AdminGetRunnerRegistrationTokenParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetRunnerRegistrationTokenParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetRunnerRegistrationTokenParams) WithContext(ctx context.Context) *AdminGetRunnerRegistrationTokenParams
- func (o *AdminGetRunnerRegistrationTokenParams) WithDefaults() *AdminGetRunnerRegistrationTokenParams
- func (o *AdminGetRunnerRegistrationTokenParams) WithHTTPClient(client *http.Client) *AdminGetRunnerRegistrationTokenParams
- func (o *AdminGetRunnerRegistrationTokenParams) WithTimeout(timeout time.Duration) *AdminGetRunnerRegistrationTokenParams
- func (o *AdminGetRunnerRegistrationTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetRunnerRegistrationTokenReader
- type AdminListHooksOK
- func (o *AdminListHooksOK) Code() int
- func (o *AdminListHooksOK) Error() string
- func (o *AdminListHooksOK) GetPayload() []*models.Hook
- func (o *AdminListHooksOK) IsClientError() bool
- func (o *AdminListHooksOK) IsCode(code int) bool
- func (o *AdminListHooksOK) IsRedirect() bool
- func (o *AdminListHooksOK) IsServerError() bool
- func (o *AdminListHooksOK) IsSuccess() bool
- func (o *AdminListHooksOK) String() string
- type AdminListHooksParams
- func NewAdminListHooksParams() *AdminListHooksParams
- func NewAdminListHooksParamsWithContext(ctx context.Context) *AdminListHooksParams
- func NewAdminListHooksParamsWithHTTPClient(client *http.Client) *AdminListHooksParams
- func NewAdminListHooksParamsWithTimeout(timeout time.Duration) *AdminListHooksParams
- func (o *AdminListHooksParams) SetContext(ctx context.Context)
- func (o *AdminListHooksParams) SetDefaults()
- func (o *AdminListHooksParams) SetHTTPClient(client *http.Client)
- func (o *AdminListHooksParams) SetLimit(limit *int64)
- func (o *AdminListHooksParams) SetPage(page *int64)
- func (o *AdminListHooksParams) SetTimeout(timeout time.Duration)
- func (o *AdminListHooksParams) WithContext(ctx context.Context) *AdminListHooksParams
- func (o *AdminListHooksParams) WithDefaults() *AdminListHooksParams
- func (o *AdminListHooksParams) WithHTTPClient(client *http.Client) *AdminListHooksParams
- func (o *AdminListHooksParams) WithLimit(limit *int64) *AdminListHooksParams
- func (o *AdminListHooksParams) WithPage(page *int64) *AdminListHooksParams
- func (o *AdminListHooksParams) WithTimeout(timeout time.Duration) *AdminListHooksParams
- func (o *AdminListHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListHooksReader
- type AdminListUserBadgesNotFound
- func (o *AdminListUserBadgesNotFound) Code() int
- func (o *AdminListUserBadgesNotFound) Error() string
- func (o *AdminListUserBadgesNotFound) IsClientError() bool
- func (o *AdminListUserBadgesNotFound) IsCode(code int) bool
- func (o *AdminListUserBadgesNotFound) IsRedirect() bool
- func (o *AdminListUserBadgesNotFound) IsServerError() bool
- func (o *AdminListUserBadgesNotFound) IsSuccess() bool
- func (o *AdminListUserBadgesNotFound) String() string
- type AdminListUserBadgesOK
- func (o *AdminListUserBadgesOK) Code() int
- func (o *AdminListUserBadgesOK) Error() string
- func (o *AdminListUserBadgesOK) GetPayload() []*models.Badge
- func (o *AdminListUserBadgesOK) IsClientError() bool
- func (o *AdminListUserBadgesOK) IsCode(code int) bool
- func (o *AdminListUserBadgesOK) IsRedirect() bool
- func (o *AdminListUserBadgesOK) IsServerError() bool
- func (o *AdminListUserBadgesOK) IsSuccess() bool
- func (o *AdminListUserBadgesOK) String() string
- type AdminListUserBadgesParams
- func NewAdminListUserBadgesParams() *AdminListUserBadgesParams
- func NewAdminListUserBadgesParamsWithContext(ctx context.Context) *AdminListUserBadgesParams
- func NewAdminListUserBadgesParamsWithHTTPClient(client *http.Client) *AdminListUserBadgesParams
- func NewAdminListUserBadgesParamsWithTimeout(timeout time.Duration) *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) SetContext(ctx context.Context)
- func (o *AdminListUserBadgesParams) SetDefaults()
- func (o *AdminListUserBadgesParams) SetHTTPClient(client *http.Client)
- func (o *AdminListUserBadgesParams) SetTimeout(timeout time.Duration)
- func (o *AdminListUserBadgesParams) SetUsername(username string)
- func (o *AdminListUserBadgesParams) WithContext(ctx context.Context) *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) WithDefaults() *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) WithHTTPClient(client *http.Client) *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) WithTimeout(timeout time.Duration) *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) WithUsername(username string) *AdminListUserBadgesParams
- func (o *AdminListUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListUserBadgesReader
- type AdminRenameUserForbidden
- func (o *AdminRenameUserForbidden) Code() int
- func (o *AdminRenameUserForbidden) Error() string
- func (o *AdminRenameUserForbidden) IsClientError() bool
- func (o *AdminRenameUserForbidden) IsCode(code int) bool
- func (o *AdminRenameUserForbidden) IsRedirect() bool
- func (o *AdminRenameUserForbidden) IsServerError() bool
- func (o *AdminRenameUserForbidden) IsSuccess() bool
- func (o *AdminRenameUserForbidden) String() string
- type AdminRenameUserNoContent
- func (o *AdminRenameUserNoContent) Code() int
- func (o *AdminRenameUserNoContent) Error() string
- func (o *AdminRenameUserNoContent) IsClientError() bool
- func (o *AdminRenameUserNoContent) IsCode(code int) bool
- func (o *AdminRenameUserNoContent) IsRedirect() bool
- func (o *AdminRenameUserNoContent) IsServerError() bool
- func (o *AdminRenameUserNoContent) IsSuccess() bool
- func (o *AdminRenameUserNoContent) String() string
- type AdminRenameUserParams
- func NewAdminRenameUserParams() *AdminRenameUserParams
- func NewAdminRenameUserParamsWithContext(ctx context.Context) *AdminRenameUserParams
- func NewAdminRenameUserParamsWithHTTPClient(client *http.Client) *AdminRenameUserParams
- func NewAdminRenameUserParamsWithTimeout(timeout time.Duration) *AdminRenameUserParams
- func (o *AdminRenameUserParams) SetBody(body *models.RenameUserOption)
- func (o *AdminRenameUserParams) SetContext(ctx context.Context)
- func (o *AdminRenameUserParams) SetDefaults()
- func (o *AdminRenameUserParams) SetHTTPClient(client *http.Client)
- func (o *AdminRenameUserParams) SetTimeout(timeout time.Duration)
- func (o *AdminRenameUserParams) SetUsername(username string)
- func (o *AdminRenameUserParams) WithBody(body *models.RenameUserOption) *AdminRenameUserParams
- func (o *AdminRenameUserParams) WithContext(ctx context.Context) *AdminRenameUserParams
- func (o *AdminRenameUserParams) WithDefaults() *AdminRenameUserParams
- func (o *AdminRenameUserParams) WithHTTPClient(client *http.Client) *AdminRenameUserParams
- func (o *AdminRenameUserParams) WithTimeout(timeout time.Duration) *AdminRenameUserParams
- func (o *AdminRenameUserParams) WithUsername(username string) *AdminRenameUserParams
- func (o *AdminRenameUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminRenameUserReader
- type AdminRenameUserUnprocessableEntity
- func (o *AdminRenameUserUnprocessableEntity) Code() int
- func (o *AdminRenameUserUnprocessableEntity) Error() string
- func (o *AdminRenameUserUnprocessableEntity) IsClientError() bool
- func (o *AdminRenameUserUnprocessableEntity) IsCode(code int) bool
- func (o *AdminRenameUserUnprocessableEntity) IsRedirect() bool
- func (o *AdminRenameUserUnprocessableEntity) IsServerError() bool
- func (o *AdminRenameUserUnprocessableEntity) IsSuccess() bool
- func (o *AdminRenameUserUnprocessableEntity) String() string
- type AdminSearchEmailsForbidden
- func (o *AdminSearchEmailsForbidden) Code() int
- func (o *AdminSearchEmailsForbidden) Error() string
- func (o *AdminSearchEmailsForbidden) IsClientError() bool
- func (o *AdminSearchEmailsForbidden) IsCode(code int) bool
- func (o *AdminSearchEmailsForbidden) IsRedirect() bool
- func (o *AdminSearchEmailsForbidden) IsServerError() bool
- func (o *AdminSearchEmailsForbidden) IsSuccess() bool
- func (o *AdminSearchEmailsForbidden) String() string
- type AdminSearchEmailsOK
- func (o *AdminSearchEmailsOK) Code() int
- func (o *AdminSearchEmailsOK) Error() string
- func (o *AdminSearchEmailsOK) GetPayload() []*models.Email
- func (o *AdminSearchEmailsOK) IsClientError() bool
- func (o *AdminSearchEmailsOK) IsCode(code int) bool
- func (o *AdminSearchEmailsOK) IsRedirect() bool
- func (o *AdminSearchEmailsOK) IsServerError() bool
- func (o *AdminSearchEmailsOK) IsSuccess() bool
- func (o *AdminSearchEmailsOK) String() string
- type AdminSearchEmailsParams
- func NewAdminSearchEmailsParams() *AdminSearchEmailsParams
- func NewAdminSearchEmailsParamsWithContext(ctx context.Context) *AdminSearchEmailsParams
- func NewAdminSearchEmailsParamsWithHTTPClient(client *http.Client) *AdminSearchEmailsParams
- func NewAdminSearchEmailsParamsWithTimeout(timeout time.Duration) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) SetContext(ctx context.Context)
- func (o *AdminSearchEmailsParams) SetDefaults()
- func (o *AdminSearchEmailsParams) SetHTTPClient(client *http.Client)
- func (o *AdminSearchEmailsParams) SetLimit(limit *int64)
- func (o *AdminSearchEmailsParams) SetPage(page *int64)
- func (o *AdminSearchEmailsParams) SetQ(q *string)
- func (o *AdminSearchEmailsParams) SetTimeout(timeout time.Duration)
- func (o *AdminSearchEmailsParams) WithContext(ctx context.Context) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithDefaults() *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithHTTPClient(client *http.Client) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithLimit(limit *int64) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithPage(page *int64) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithQ(q *string) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WithTimeout(timeout time.Duration) *AdminSearchEmailsParams
- func (o *AdminSearchEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSearchEmailsReader
- type AdminSearchUsersForbidden
- func (o *AdminSearchUsersForbidden) Code() int
- func (o *AdminSearchUsersForbidden) Error() string
- func (o *AdminSearchUsersForbidden) IsClientError() bool
- func (o *AdminSearchUsersForbidden) IsCode(code int) bool
- func (o *AdminSearchUsersForbidden) IsRedirect() bool
- func (o *AdminSearchUsersForbidden) IsServerError() bool
- func (o *AdminSearchUsersForbidden) IsSuccess() bool
- func (o *AdminSearchUsersForbidden) String() string
- type AdminSearchUsersOK
- func (o *AdminSearchUsersOK) Code() int
- func (o *AdminSearchUsersOK) Error() string
- func (o *AdminSearchUsersOK) GetPayload() []*models.User
- func (o *AdminSearchUsersOK) IsClientError() bool
- func (o *AdminSearchUsersOK) IsCode(code int) bool
- func (o *AdminSearchUsersOK) IsRedirect() bool
- func (o *AdminSearchUsersOK) IsServerError() bool
- func (o *AdminSearchUsersOK) IsSuccess() bool
- func (o *AdminSearchUsersOK) String() string
- type AdminSearchUsersParams
- func NewAdminSearchUsersParams() *AdminSearchUsersParams
- func NewAdminSearchUsersParamsWithContext(ctx context.Context) *AdminSearchUsersParams
- func NewAdminSearchUsersParamsWithHTTPClient(client *http.Client) *AdminSearchUsersParams
- func NewAdminSearchUsersParamsWithTimeout(timeout time.Duration) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) SetContext(ctx context.Context)
- func (o *AdminSearchUsersParams) SetDefaults()
- func (o *AdminSearchUsersParams) SetHTTPClient(client *http.Client)
- func (o *AdminSearchUsersParams) SetLimit(limit *int64)
- func (o *AdminSearchUsersParams) SetLoginName(loginName *string)
- func (o *AdminSearchUsersParams) SetPage(page *int64)
- func (o *AdminSearchUsersParams) SetSourceID(sourceID *int64)
- func (o *AdminSearchUsersParams) SetTimeout(timeout time.Duration)
- func (o *AdminSearchUsersParams) WithContext(ctx context.Context) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithDefaults() *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithHTTPClient(client *http.Client) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithLimit(limit *int64) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithLoginName(loginName *string) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithPage(page *int64) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithSourceID(sourceID *int64) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WithTimeout(timeout time.Duration) *AdminSearchUsersParams
- func (o *AdminSearchUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSearchUsersReader
- type AdminUnadoptedListForbidden
- func (o *AdminUnadoptedListForbidden) Code() int
- func (o *AdminUnadoptedListForbidden) Error() string
- func (o *AdminUnadoptedListForbidden) IsClientError() bool
- func (o *AdminUnadoptedListForbidden) IsCode(code int) bool
- func (o *AdminUnadoptedListForbidden) IsRedirect() bool
- func (o *AdminUnadoptedListForbidden) IsServerError() bool
- func (o *AdminUnadoptedListForbidden) IsSuccess() bool
- func (o *AdminUnadoptedListForbidden) String() string
- type AdminUnadoptedListOK
- func (o *AdminUnadoptedListOK) Code() int
- func (o *AdminUnadoptedListOK) Error() string
- func (o *AdminUnadoptedListOK) GetPayload() []string
- func (o *AdminUnadoptedListOK) IsClientError() bool
- func (o *AdminUnadoptedListOK) IsCode(code int) bool
- func (o *AdminUnadoptedListOK) IsRedirect() bool
- func (o *AdminUnadoptedListOK) IsServerError() bool
- func (o *AdminUnadoptedListOK) IsSuccess() bool
- func (o *AdminUnadoptedListOK) String() string
- type AdminUnadoptedListParams
- func NewAdminUnadoptedListParams() *AdminUnadoptedListParams
- func NewAdminUnadoptedListParamsWithContext(ctx context.Context) *AdminUnadoptedListParams
- func NewAdminUnadoptedListParamsWithHTTPClient(client *http.Client) *AdminUnadoptedListParams
- func NewAdminUnadoptedListParamsWithTimeout(timeout time.Duration) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) SetContext(ctx context.Context)
- func (o *AdminUnadoptedListParams) SetDefaults()
- func (o *AdminUnadoptedListParams) SetHTTPClient(client *http.Client)
- func (o *AdminUnadoptedListParams) SetLimit(limit *int64)
- func (o *AdminUnadoptedListParams) SetPage(page *int64)
- func (o *AdminUnadoptedListParams) SetPattern(pattern *string)
- func (o *AdminUnadoptedListParams) SetTimeout(timeout time.Duration)
- func (o *AdminUnadoptedListParams) WithContext(ctx context.Context) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithDefaults() *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithHTTPClient(client *http.Client) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithLimit(limit *int64) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithPage(page *int64) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithPattern(pattern *string) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WithTimeout(timeout time.Duration) *AdminUnadoptedListParams
- func (o *AdminUnadoptedListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUnadoptedListReader
- type Client
- func (a *Client) AdminAddUserBadges(params *AdminAddUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminAddUserBadgesNoContent, error)
- func (a *Client) AdminAdoptRepository(params *AdminAdoptRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminAdoptRepositoryNoContent, error)
- func (a *Client) AdminCreateHook(params *AdminCreateHookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCreateHookCreated, error)
- func (a *Client) AdminCreateOrg(params *AdminCreateOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCreateOrgCreated, error)
- func (a *Client) AdminCreatePublicKey(params *AdminCreatePublicKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCreatePublicKeyCreated, error)
- func (a *Client) AdminCreateRepo(params *AdminCreateRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCreateRepoCreated, error)
- func (a *Client) AdminCreateUser(params *AdminCreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCreateUserCreated, error)
- func (a *Client) AdminCronList(params *AdminCronListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCronListOK, error)
- func (a *Client) AdminCronRun(params *AdminCronRunParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminCronRunNoContent, error)
- func (a *Client) AdminDeleteHook(params *AdminDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminDeleteHookNoContent, error)
- func (a *Client) AdminDeleteUnadoptedRepository(params *AdminDeleteUnadoptedRepositoryParams, ...) (*AdminDeleteUnadoptedRepositoryNoContent, error)
- func (a *Client) AdminDeleteUser(params *AdminDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminDeleteUserNoContent, error)
- func (a *Client) AdminDeleteUserBadges(params *AdminDeleteUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminDeleteUserBadgesNoContent, error)
- func (a *Client) AdminDeleteUserPublicKey(params *AdminDeleteUserPublicKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminDeleteUserPublicKeyNoContent, error)
- func (a *Client) AdminEditHook(params *AdminEditHookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminEditHookOK, error)
- func (a *Client) AdminEditUser(params *AdminEditUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminEditUserOK, error)
- func (a *Client) AdminGetAllEmails(params *AdminGetAllEmailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminGetAllEmailsOK, error)
- func (a *Client) AdminGetAllOrgs(params *AdminGetAllOrgsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminGetAllOrgsOK, error)
- func (a *Client) AdminGetHook(params *AdminGetHookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminGetHookOK, error)
- func (a *Client) AdminGetRunnerRegistrationToken(params *AdminGetRunnerRegistrationTokenParams, ...) (*AdminGetRunnerRegistrationTokenOK, error)
- func (a *Client) AdminListHooks(params *AdminListHooksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminListHooksOK, error)
- func (a *Client) AdminListUserBadges(params *AdminListUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminListUserBadgesOK, error)
- func (a *Client) AdminRenameUser(params *AdminRenameUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminRenameUserNoContent, error)
- func (a *Client) AdminSearchEmails(params *AdminSearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminSearchEmailsOK, error)
- func (a *Client) AdminSearchUsers(params *AdminSearchUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminSearchUsersOK, error)
- func (a *Client) AdminUnadoptedList(params *AdminUnadoptedListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminUnadoptedListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeTextPlain ¶
func WithContentTypeTextPlain(r *runtime.ClientOperation)
WithContentTypeTextPlain sets the Content-Type header to "text/plain".
Types ¶
type AdminAddUserBadgesForbidden ¶
AdminAddUserBadgesForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminAddUserBadgesForbidden ¶
func NewAdminAddUserBadgesForbidden() *AdminAddUserBadgesForbidden
NewAdminAddUserBadgesForbidden creates a AdminAddUserBadgesForbidden with default headers values
func (*AdminAddUserBadgesForbidden) Code ¶
func (o *AdminAddUserBadgesForbidden) Code() int
Code gets the status code for the admin add user badges forbidden response
func (*AdminAddUserBadgesForbidden) Error ¶
func (o *AdminAddUserBadgesForbidden) Error() string
func (*AdminAddUserBadgesForbidden) IsClientError ¶
func (o *AdminAddUserBadgesForbidden) IsClientError() bool
IsClientError returns true when this admin add user badges forbidden response has a 4xx status code
func (*AdminAddUserBadgesForbidden) IsCode ¶
func (o *AdminAddUserBadgesForbidden) IsCode(code int) bool
IsCode returns true when this admin add user badges forbidden response a status code equal to that given
func (*AdminAddUserBadgesForbidden) IsRedirect ¶
func (o *AdminAddUserBadgesForbidden) IsRedirect() bool
IsRedirect returns true when this admin add user badges forbidden response has a 3xx status code
func (*AdminAddUserBadgesForbidden) IsServerError ¶
func (o *AdminAddUserBadgesForbidden) IsServerError() bool
IsServerError returns true when this admin add user badges forbidden response has a 5xx status code
func (*AdminAddUserBadgesForbidden) IsSuccess ¶
func (o *AdminAddUserBadgesForbidden) IsSuccess() bool
IsSuccess returns true when this admin add user badges forbidden response has a 2xx status code
func (*AdminAddUserBadgesForbidden) String ¶
func (o *AdminAddUserBadgesForbidden) String() string
type AdminAddUserBadgesNoContent ¶
type AdminAddUserBadgesNoContent struct {
}
AdminAddUserBadgesNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminAddUserBadgesNoContent ¶
func NewAdminAddUserBadgesNoContent() *AdminAddUserBadgesNoContent
NewAdminAddUserBadgesNoContent creates a AdminAddUserBadgesNoContent with default headers values
func (*AdminAddUserBadgesNoContent) Code ¶
func (o *AdminAddUserBadgesNoContent) Code() int
Code gets the status code for the admin add user badges no content response
func (*AdminAddUserBadgesNoContent) Error ¶
func (o *AdminAddUserBadgesNoContent) Error() string
func (*AdminAddUserBadgesNoContent) IsClientError ¶
func (o *AdminAddUserBadgesNoContent) IsClientError() bool
IsClientError returns true when this admin add user badges no content response has a 4xx status code
func (*AdminAddUserBadgesNoContent) IsCode ¶
func (o *AdminAddUserBadgesNoContent) IsCode(code int) bool
IsCode returns true when this admin add user badges no content response a status code equal to that given
func (*AdminAddUserBadgesNoContent) IsRedirect ¶
func (o *AdminAddUserBadgesNoContent) IsRedirect() bool
IsRedirect returns true when this admin add user badges no content response has a 3xx status code
func (*AdminAddUserBadgesNoContent) IsServerError ¶
func (o *AdminAddUserBadgesNoContent) IsServerError() bool
IsServerError returns true when this admin add user badges no content response has a 5xx status code
func (*AdminAddUserBadgesNoContent) IsSuccess ¶
func (o *AdminAddUserBadgesNoContent) IsSuccess() bool
IsSuccess returns true when this admin add user badges no content response has a 2xx status code
func (*AdminAddUserBadgesNoContent) String ¶
func (o *AdminAddUserBadgesNoContent) String() string
type AdminAddUserBadgesParams ¶
type AdminAddUserBadgesParams struct {
// Body.
Body *models.UserBadgeOption
/* Username.
username of user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminAddUserBadgesParams contains all the parameters to send to the API endpoint
for the admin add user badges operation. Typically these are written to a http.Request.
func NewAdminAddUserBadgesParams ¶
func NewAdminAddUserBadgesParams() *AdminAddUserBadgesParams
NewAdminAddUserBadgesParams creates a new AdminAddUserBadgesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminAddUserBadgesParamsWithContext ¶
func NewAdminAddUserBadgesParamsWithContext(ctx context.Context) *AdminAddUserBadgesParams
NewAdminAddUserBadgesParamsWithContext creates a new AdminAddUserBadgesParams object with the ability to set a context for a request.
func NewAdminAddUserBadgesParamsWithHTTPClient ¶
func NewAdminAddUserBadgesParamsWithHTTPClient(client *http.Client) *AdminAddUserBadgesParams
NewAdminAddUserBadgesParamsWithHTTPClient creates a new AdminAddUserBadgesParams object with the ability to set a custom HTTPClient for a request.
func NewAdminAddUserBadgesParamsWithTimeout ¶
func NewAdminAddUserBadgesParamsWithTimeout(timeout time.Duration) *AdminAddUserBadgesParams
NewAdminAddUserBadgesParamsWithTimeout creates a new AdminAddUserBadgesParams object with the ability to set a timeout on a request.
func (*AdminAddUserBadgesParams) SetBody ¶
func (o *AdminAddUserBadgesParams) SetBody(body *models.UserBadgeOption)
SetBody adds the body to the admin add user badges params
func (*AdminAddUserBadgesParams) SetContext ¶
func (o *AdminAddUserBadgesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin add user badges params
func (*AdminAddUserBadgesParams) SetDefaults ¶
func (o *AdminAddUserBadgesParams) SetDefaults()
SetDefaults hydrates default values in the admin add user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminAddUserBadgesParams) SetHTTPClient ¶
func (o *AdminAddUserBadgesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin add user badges params
func (*AdminAddUserBadgesParams) SetTimeout ¶
func (o *AdminAddUserBadgesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin add user badges params
func (*AdminAddUserBadgesParams) SetUsername ¶
func (o *AdminAddUserBadgesParams) SetUsername(username string)
SetUsername adds the username to the admin add user badges params
func (*AdminAddUserBadgesParams) WithBody ¶
func (o *AdminAddUserBadgesParams) WithBody(body *models.UserBadgeOption) *AdminAddUserBadgesParams
WithBody adds the body to the admin add user badges params
func (*AdminAddUserBadgesParams) WithContext ¶
func (o *AdminAddUserBadgesParams) WithContext(ctx context.Context) *AdminAddUserBadgesParams
WithContext adds the context to the admin add user badges params
func (*AdminAddUserBadgesParams) WithDefaults ¶
func (o *AdminAddUserBadgesParams) WithDefaults() *AdminAddUserBadgesParams
WithDefaults hydrates default values in the admin add user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminAddUserBadgesParams) WithHTTPClient ¶
func (o *AdminAddUserBadgesParams) WithHTTPClient(client *http.Client) *AdminAddUserBadgesParams
WithHTTPClient adds the HTTPClient to the admin add user badges params
func (*AdminAddUserBadgesParams) WithTimeout ¶
func (o *AdminAddUserBadgesParams) WithTimeout(timeout time.Duration) *AdminAddUserBadgesParams
WithTimeout adds the timeout to the admin add user badges params
func (*AdminAddUserBadgesParams) WithUsername ¶
func (o *AdminAddUserBadgesParams) WithUsername(username string) *AdminAddUserBadgesParams
WithUsername adds the username to the admin add user badges params
func (*AdminAddUserBadgesParams) WriteToRequest ¶
func (o *AdminAddUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAddUserBadgesReader ¶
type AdminAddUserBadgesReader struct {
// contains filtered or unexported fields
}
AdminAddUserBadgesReader is a Reader for the AdminAddUserBadges structure.
func (*AdminAddUserBadgesReader) ReadResponse ¶
func (o *AdminAddUserBadgesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminAdoptRepositoryForbidden ¶
AdminAdoptRepositoryForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminAdoptRepositoryForbidden ¶
func NewAdminAdoptRepositoryForbidden() *AdminAdoptRepositoryForbidden
NewAdminAdoptRepositoryForbidden creates a AdminAdoptRepositoryForbidden with default headers values
func (*AdminAdoptRepositoryForbidden) Code ¶
func (o *AdminAdoptRepositoryForbidden) Code() int
Code gets the status code for the admin adopt repository forbidden response
func (*AdminAdoptRepositoryForbidden) Error ¶
func (o *AdminAdoptRepositoryForbidden) Error() string
func (*AdminAdoptRepositoryForbidden) IsClientError ¶
func (o *AdminAdoptRepositoryForbidden) IsClientError() bool
IsClientError returns true when this admin adopt repository forbidden response has a 4xx status code
func (*AdminAdoptRepositoryForbidden) IsCode ¶
func (o *AdminAdoptRepositoryForbidden) IsCode(code int) bool
IsCode returns true when this admin adopt repository forbidden response a status code equal to that given
func (*AdminAdoptRepositoryForbidden) IsRedirect ¶
func (o *AdminAdoptRepositoryForbidden) IsRedirect() bool
IsRedirect returns true when this admin adopt repository forbidden response has a 3xx status code
func (*AdminAdoptRepositoryForbidden) IsServerError ¶
func (o *AdminAdoptRepositoryForbidden) IsServerError() bool
IsServerError returns true when this admin adopt repository forbidden response has a 5xx status code
func (*AdminAdoptRepositoryForbidden) IsSuccess ¶
func (o *AdminAdoptRepositoryForbidden) IsSuccess() bool
IsSuccess returns true when this admin adopt repository forbidden response has a 2xx status code
func (*AdminAdoptRepositoryForbidden) String ¶
func (o *AdminAdoptRepositoryForbidden) String() string
type AdminAdoptRepositoryNoContent ¶
type AdminAdoptRepositoryNoContent struct {
}
AdminAdoptRepositoryNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminAdoptRepositoryNoContent ¶
func NewAdminAdoptRepositoryNoContent() *AdminAdoptRepositoryNoContent
NewAdminAdoptRepositoryNoContent creates a AdminAdoptRepositoryNoContent with default headers values
func (*AdminAdoptRepositoryNoContent) Code ¶
func (o *AdminAdoptRepositoryNoContent) Code() int
Code gets the status code for the admin adopt repository no content response
func (*AdminAdoptRepositoryNoContent) Error ¶
func (o *AdminAdoptRepositoryNoContent) Error() string
func (*AdminAdoptRepositoryNoContent) IsClientError ¶
func (o *AdminAdoptRepositoryNoContent) IsClientError() bool
IsClientError returns true when this admin adopt repository no content response has a 4xx status code
func (*AdminAdoptRepositoryNoContent) IsCode ¶
func (o *AdminAdoptRepositoryNoContent) IsCode(code int) bool
IsCode returns true when this admin adopt repository no content response a status code equal to that given
func (*AdminAdoptRepositoryNoContent) IsRedirect ¶
func (o *AdminAdoptRepositoryNoContent) IsRedirect() bool
IsRedirect returns true when this admin adopt repository no content response has a 3xx status code
func (*AdminAdoptRepositoryNoContent) IsServerError ¶
func (o *AdminAdoptRepositoryNoContent) IsServerError() bool
IsServerError returns true when this admin adopt repository no content response has a 5xx status code
func (*AdminAdoptRepositoryNoContent) IsSuccess ¶
func (o *AdminAdoptRepositoryNoContent) IsSuccess() bool
IsSuccess returns true when this admin adopt repository no content response has a 2xx status code
func (*AdminAdoptRepositoryNoContent) String ¶
func (o *AdminAdoptRepositoryNoContent) String() string
type AdminAdoptRepositoryNotFound ¶
type AdminAdoptRepositoryNotFound struct {
}
AdminAdoptRepositoryNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminAdoptRepositoryNotFound ¶
func NewAdminAdoptRepositoryNotFound() *AdminAdoptRepositoryNotFound
NewAdminAdoptRepositoryNotFound creates a AdminAdoptRepositoryNotFound with default headers values
func (*AdminAdoptRepositoryNotFound) Code ¶
func (o *AdminAdoptRepositoryNotFound) Code() int
Code gets the status code for the admin adopt repository not found response
func (*AdminAdoptRepositoryNotFound) Error ¶
func (o *AdminAdoptRepositoryNotFound) Error() string
func (*AdminAdoptRepositoryNotFound) IsClientError ¶
func (o *AdminAdoptRepositoryNotFound) IsClientError() bool
IsClientError returns true when this admin adopt repository not found response has a 4xx status code
func (*AdminAdoptRepositoryNotFound) IsCode ¶
func (o *AdminAdoptRepositoryNotFound) IsCode(code int) bool
IsCode returns true when this admin adopt repository not found response a status code equal to that given
func (*AdminAdoptRepositoryNotFound) IsRedirect ¶
func (o *AdminAdoptRepositoryNotFound) IsRedirect() bool
IsRedirect returns true when this admin adopt repository not found response has a 3xx status code
func (*AdminAdoptRepositoryNotFound) IsServerError ¶
func (o *AdminAdoptRepositoryNotFound) IsServerError() bool
IsServerError returns true when this admin adopt repository not found response has a 5xx status code
func (*AdminAdoptRepositoryNotFound) IsSuccess ¶
func (o *AdminAdoptRepositoryNotFound) IsSuccess() bool
IsSuccess returns true when this admin adopt repository not found response has a 2xx status code
func (*AdminAdoptRepositoryNotFound) String ¶
func (o *AdminAdoptRepositoryNotFound) String() string
type AdminAdoptRepositoryParams ¶
type AdminAdoptRepositoryParams struct {
/* Owner.
owner of the repo
*/
Owner string
/* Repo.
name of the repo
*/
Repo string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminAdoptRepositoryParams contains all the parameters to send to the API endpoint
for the admin adopt repository operation. Typically these are written to a http.Request.
func NewAdminAdoptRepositoryParams ¶
func NewAdminAdoptRepositoryParams() *AdminAdoptRepositoryParams
NewAdminAdoptRepositoryParams creates a new AdminAdoptRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminAdoptRepositoryParamsWithContext ¶
func NewAdminAdoptRepositoryParamsWithContext(ctx context.Context) *AdminAdoptRepositoryParams
NewAdminAdoptRepositoryParamsWithContext creates a new AdminAdoptRepositoryParams object with the ability to set a context for a request.
func NewAdminAdoptRepositoryParamsWithHTTPClient ¶
func NewAdminAdoptRepositoryParamsWithHTTPClient(client *http.Client) *AdminAdoptRepositoryParams
NewAdminAdoptRepositoryParamsWithHTTPClient creates a new AdminAdoptRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewAdminAdoptRepositoryParamsWithTimeout ¶
func NewAdminAdoptRepositoryParamsWithTimeout(timeout time.Duration) *AdminAdoptRepositoryParams
NewAdminAdoptRepositoryParamsWithTimeout creates a new AdminAdoptRepositoryParams object with the ability to set a timeout on a request.
func (*AdminAdoptRepositoryParams) SetContext ¶
func (o *AdminAdoptRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin adopt repository params
func (*AdminAdoptRepositoryParams) SetDefaults ¶
func (o *AdminAdoptRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the admin adopt repository params (not the query body).
All values with no default are reset to their zero value.
func (*AdminAdoptRepositoryParams) SetHTTPClient ¶
func (o *AdminAdoptRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin adopt repository params
func (*AdminAdoptRepositoryParams) SetOwner ¶
func (o *AdminAdoptRepositoryParams) SetOwner(owner string)
SetOwner adds the owner to the admin adopt repository params
func (*AdminAdoptRepositoryParams) SetRepo ¶
func (o *AdminAdoptRepositoryParams) SetRepo(repo string)
SetRepo adds the repo to the admin adopt repository params
func (*AdminAdoptRepositoryParams) SetTimeout ¶
func (o *AdminAdoptRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WithContext ¶
func (o *AdminAdoptRepositoryParams) WithContext(ctx context.Context) *AdminAdoptRepositoryParams
WithContext adds the context to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WithDefaults ¶
func (o *AdminAdoptRepositoryParams) WithDefaults() *AdminAdoptRepositoryParams
WithDefaults hydrates default values in the admin adopt repository params (not the query body).
All values with no default are reset to their zero value.
func (*AdminAdoptRepositoryParams) WithHTTPClient ¶
func (o *AdminAdoptRepositoryParams) WithHTTPClient(client *http.Client) *AdminAdoptRepositoryParams
WithHTTPClient adds the HTTPClient to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WithOwner ¶
func (o *AdminAdoptRepositoryParams) WithOwner(owner string) *AdminAdoptRepositoryParams
WithOwner adds the owner to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WithRepo ¶
func (o *AdminAdoptRepositoryParams) WithRepo(repo string) *AdminAdoptRepositoryParams
WithRepo adds the repo to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WithTimeout ¶
func (o *AdminAdoptRepositoryParams) WithTimeout(timeout time.Duration) *AdminAdoptRepositoryParams
WithTimeout adds the timeout to the admin adopt repository params
func (*AdminAdoptRepositoryParams) WriteToRequest ¶
func (o *AdminAdoptRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAdoptRepositoryReader ¶
type AdminAdoptRepositoryReader struct {
// contains filtered or unexported fields
}
AdminAdoptRepositoryReader is a Reader for the AdminAdoptRepository structure.
func (*AdminAdoptRepositoryReader) ReadResponse ¶
func (o *AdminAdoptRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateHookCreated ¶
AdminCreateHookCreated describes a response with status code 201, with default header values.
Hook
func NewAdminCreateHookCreated ¶
func NewAdminCreateHookCreated() *AdminCreateHookCreated
NewAdminCreateHookCreated creates a AdminCreateHookCreated with default headers values
func (*AdminCreateHookCreated) Code ¶
func (o *AdminCreateHookCreated) Code() int
Code gets the status code for the admin create hook created response
func (*AdminCreateHookCreated) Error ¶
func (o *AdminCreateHookCreated) Error() string
func (*AdminCreateHookCreated) GetPayload ¶
func (o *AdminCreateHookCreated) GetPayload() *models.Hook
func (*AdminCreateHookCreated) IsClientError ¶
func (o *AdminCreateHookCreated) IsClientError() bool
IsClientError returns true when this admin create hook created response has a 4xx status code
func (*AdminCreateHookCreated) IsCode ¶
func (o *AdminCreateHookCreated) IsCode(code int) bool
IsCode returns true when this admin create hook created response a status code equal to that given
func (*AdminCreateHookCreated) IsRedirect ¶
func (o *AdminCreateHookCreated) IsRedirect() bool
IsRedirect returns true when this admin create hook created response has a 3xx status code
func (*AdminCreateHookCreated) IsServerError ¶
func (o *AdminCreateHookCreated) IsServerError() bool
IsServerError returns true when this admin create hook created response has a 5xx status code
func (*AdminCreateHookCreated) IsSuccess ¶
func (o *AdminCreateHookCreated) IsSuccess() bool
IsSuccess returns true when this admin create hook created response has a 2xx status code
func (*AdminCreateHookCreated) String ¶
func (o *AdminCreateHookCreated) String() string
type AdminCreateHookParams ¶
type AdminCreateHookParams struct {
// Body.
Body *models.CreateHookOption
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCreateHookParams contains all the parameters to send to the API endpoint
for the admin create hook operation. Typically these are written to a http.Request.
func NewAdminCreateHookParams ¶
func NewAdminCreateHookParams() *AdminCreateHookParams
NewAdminCreateHookParams creates a new AdminCreateHookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCreateHookParamsWithContext ¶
func NewAdminCreateHookParamsWithContext(ctx context.Context) *AdminCreateHookParams
NewAdminCreateHookParamsWithContext creates a new AdminCreateHookParams object with the ability to set a context for a request.
func NewAdminCreateHookParamsWithHTTPClient ¶
func NewAdminCreateHookParamsWithHTTPClient(client *http.Client) *AdminCreateHookParams
NewAdminCreateHookParamsWithHTTPClient creates a new AdminCreateHookParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreateHookParamsWithTimeout ¶
func NewAdminCreateHookParamsWithTimeout(timeout time.Duration) *AdminCreateHookParams
NewAdminCreateHookParamsWithTimeout creates a new AdminCreateHookParams object with the ability to set a timeout on a request.
func (*AdminCreateHookParams) SetBody ¶
func (o *AdminCreateHookParams) SetBody(body *models.CreateHookOption)
SetBody adds the body to the admin create hook params
func (*AdminCreateHookParams) SetContext ¶
func (o *AdminCreateHookParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create hook params
func (*AdminCreateHookParams) SetDefaults ¶
func (o *AdminCreateHookParams) SetDefaults()
SetDefaults hydrates default values in the admin create hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateHookParams) SetHTTPClient ¶
func (o *AdminCreateHookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create hook params
func (*AdminCreateHookParams) SetTimeout ¶
func (o *AdminCreateHookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create hook params
func (*AdminCreateHookParams) WithBody ¶
func (o *AdminCreateHookParams) WithBody(body *models.CreateHookOption) *AdminCreateHookParams
WithBody adds the body to the admin create hook params
func (*AdminCreateHookParams) WithContext ¶
func (o *AdminCreateHookParams) WithContext(ctx context.Context) *AdminCreateHookParams
WithContext adds the context to the admin create hook params
func (*AdminCreateHookParams) WithDefaults ¶
func (o *AdminCreateHookParams) WithDefaults() *AdminCreateHookParams
WithDefaults hydrates default values in the admin create hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateHookParams) WithHTTPClient ¶
func (o *AdminCreateHookParams) WithHTTPClient(client *http.Client) *AdminCreateHookParams
WithHTTPClient adds the HTTPClient to the admin create hook params
func (*AdminCreateHookParams) WithTimeout ¶
func (o *AdminCreateHookParams) WithTimeout(timeout time.Duration) *AdminCreateHookParams
WithTimeout adds the timeout to the admin create hook params
func (*AdminCreateHookParams) WriteToRequest ¶
func (o *AdminCreateHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateHookReader ¶
type AdminCreateHookReader struct {
// contains filtered or unexported fields
}
AdminCreateHookReader is a Reader for the AdminCreateHook structure.
func (*AdminCreateHookReader) ReadResponse ¶
func (o *AdminCreateHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateOrgCreated ¶
type AdminCreateOrgCreated struct {
Payload *models.Organization
}
AdminCreateOrgCreated describes a response with status code 201, with default header values.
Organization
func NewAdminCreateOrgCreated ¶
func NewAdminCreateOrgCreated() *AdminCreateOrgCreated
NewAdminCreateOrgCreated creates a AdminCreateOrgCreated with default headers values
func (*AdminCreateOrgCreated) Code ¶
func (o *AdminCreateOrgCreated) Code() int
Code gets the status code for the admin create org created response
func (*AdminCreateOrgCreated) Error ¶
func (o *AdminCreateOrgCreated) Error() string
func (*AdminCreateOrgCreated) GetPayload ¶
func (o *AdminCreateOrgCreated) GetPayload() *models.Organization
func (*AdminCreateOrgCreated) IsClientError ¶
func (o *AdminCreateOrgCreated) IsClientError() bool
IsClientError returns true when this admin create org created response has a 4xx status code
func (*AdminCreateOrgCreated) IsCode ¶
func (o *AdminCreateOrgCreated) IsCode(code int) bool
IsCode returns true when this admin create org created response a status code equal to that given
func (*AdminCreateOrgCreated) IsRedirect ¶
func (o *AdminCreateOrgCreated) IsRedirect() bool
IsRedirect returns true when this admin create org created response has a 3xx status code
func (*AdminCreateOrgCreated) IsServerError ¶
func (o *AdminCreateOrgCreated) IsServerError() bool
IsServerError returns true when this admin create org created response has a 5xx status code
func (*AdminCreateOrgCreated) IsSuccess ¶
func (o *AdminCreateOrgCreated) IsSuccess() bool
IsSuccess returns true when this admin create org created response has a 2xx status code
func (*AdminCreateOrgCreated) String ¶
func (o *AdminCreateOrgCreated) String() string
type AdminCreateOrgForbidden ¶
AdminCreateOrgForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminCreateOrgForbidden ¶
func NewAdminCreateOrgForbidden() *AdminCreateOrgForbidden
NewAdminCreateOrgForbidden creates a AdminCreateOrgForbidden with default headers values
func (*AdminCreateOrgForbidden) Code ¶
func (o *AdminCreateOrgForbidden) Code() int
Code gets the status code for the admin create org forbidden response
func (*AdminCreateOrgForbidden) Error ¶
func (o *AdminCreateOrgForbidden) Error() string
func (*AdminCreateOrgForbidden) IsClientError ¶
func (o *AdminCreateOrgForbidden) IsClientError() bool
IsClientError returns true when this admin create org forbidden response has a 4xx status code
func (*AdminCreateOrgForbidden) IsCode ¶
func (o *AdminCreateOrgForbidden) IsCode(code int) bool
IsCode returns true when this admin create org forbidden response a status code equal to that given
func (*AdminCreateOrgForbidden) IsRedirect ¶
func (o *AdminCreateOrgForbidden) IsRedirect() bool
IsRedirect returns true when this admin create org forbidden response has a 3xx status code
func (*AdminCreateOrgForbidden) IsServerError ¶
func (o *AdminCreateOrgForbidden) IsServerError() bool
IsServerError returns true when this admin create org forbidden response has a 5xx status code
func (*AdminCreateOrgForbidden) IsSuccess ¶
func (o *AdminCreateOrgForbidden) IsSuccess() bool
IsSuccess returns true when this admin create org forbidden response has a 2xx status code
func (*AdminCreateOrgForbidden) String ¶
func (o *AdminCreateOrgForbidden) String() string
type AdminCreateOrgParams ¶
type AdminCreateOrgParams struct {
// Organization.
Organization *models.CreateOrgOption
/* Username.
username of the user that will own the created organization
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCreateOrgParams contains all the parameters to send to the API endpoint
for the admin create org operation. Typically these are written to a http.Request.
func NewAdminCreateOrgParams ¶
func NewAdminCreateOrgParams() *AdminCreateOrgParams
NewAdminCreateOrgParams creates a new AdminCreateOrgParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCreateOrgParamsWithContext ¶
func NewAdminCreateOrgParamsWithContext(ctx context.Context) *AdminCreateOrgParams
NewAdminCreateOrgParamsWithContext creates a new AdminCreateOrgParams object with the ability to set a context for a request.
func NewAdminCreateOrgParamsWithHTTPClient ¶
func NewAdminCreateOrgParamsWithHTTPClient(client *http.Client) *AdminCreateOrgParams
NewAdminCreateOrgParamsWithHTTPClient creates a new AdminCreateOrgParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreateOrgParamsWithTimeout ¶
func NewAdminCreateOrgParamsWithTimeout(timeout time.Duration) *AdminCreateOrgParams
NewAdminCreateOrgParamsWithTimeout creates a new AdminCreateOrgParams object with the ability to set a timeout on a request.
func (*AdminCreateOrgParams) SetContext ¶
func (o *AdminCreateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create org params
func (*AdminCreateOrgParams) SetDefaults ¶
func (o *AdminCreateOrgParams) SetDefaults()
SetDefaults hydrates default values in the admin create org params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateOrgParams) SetHTTPClient ¶
func (o *AdminCreateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create org params
func (*AdminCreateOrgParams) SetOrganization ¶
func (o *AdminCreateOrgParams) SetOrganization(organization *models.CreateOrgOption)
SetOrganization adds the organization to the admin create org params
func (*AdminCreateOrgParams) SetTimeout ¶
func (o *AdminCreateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create org params
func (*AdminCreateOrgParams) SetUsername ¶
func (o *AdminCreateOrgParams) SetUsername(username string)
SetUsername adds the username to the admin create org params
func (*AdminCreateOrgParams) WithContext ¶
func (o *AdminCreateOrgParams) WithContext(ctx context.Context) *AdminCreateOrgParams
WithContext adds the context to the admin create org params
func (*AdminCreateOrgParams) WithDefaults ¶
func (o *AdminCreateOrgParams) WithDefaults() *AdminCreateOrgParams
WithDefaults hydrates default values in the admin create org params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateOrgParams) WithHTTPClient ¶
func (o *AdminCreateOrgParams) WithHTTPClient(client *http.Client) *AdminCreateOrgParams
WithHTTPClient adds the HTTPClient to the admin create org params
func (*AdminCreateOrgParams) WithOrganization ¶
func (o *AdminCreateOrgParams) WithOrganization(organization *models.CreateOrgOption) *AdminCreateOrgParams
WithOrganization adds the organization to the admin create org params
func (*AdminCreateOrgParams) WithTimeout ¶
func (o *AdminCreateOrgParams) WithTimeout(timeout time.Duration) *AdminCreateOrgParams
WithTimeout adds the timeout to the admin create org params
func (*AdminCreateOrgParams) WithUsername ¶
func (o *AdminCreateOrgParams) WithUsername(username string) *AdminCreateOrgParams
WithUsername adds the username to the admin create org params
func (*AdminCreateOrgParams) WriteToRequest ¶
func (o *AdminCreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateOrgReader ¶
type AdminCreateOrgReader struct {
// contains filtered or unexported fields
}
AdminCreateOrgReader is a Reader for the AdminCreateOrg structure.
func (*AdminCreateOrgReader) ReadResponse ¶
func (o *AdminCreateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateOrgUnprocessableEntity ¶
AdminCreateOrgUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminCreateOrgUnprocessableEntity ¶
func NewAdminCreateOrgUnprocessableEntity() *AdminCreateOrgUnprocessableEntity
NewAdminCreateOrgUnprocessableEntity creates a AdminCreateOrgUnprocessableEntity with default headers values
func (*AdminCreateOrgUnprocessableEntity) Code ¶
func (o *AdminCreateOrgUnprocessableEntity) Code() int
Code gets the status code for the admin create org unprocessable entity response
func (*AdminCreateOrgUnprocessableEntity) Error ¶
func (o *AdminCreateOrgUnprocessableEntity) Error() string
func (*AdminCreateOrgUnprocessableEntity) IsClientError ¶
func (o *AdminCreateOrgUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin create org unprocessable entity response has a 4xx status code
func (*AdminCreateOrgUnprocessableEntity) IsCode ¶
func (o *AdminCreateOrgUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin create org unprocessable entity response a status code equal to that given
func (*AdminCreateOrgUnprocessableEntity) IsRedirect ¶
func (o *AdminCreateOrgUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin create org unprocessable entity response has a 3xx status code
func (*AdminCreateOrgUnprocessableEntity) IsServerError ¶
func (o *AdminCreateOrgUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin create org unprocessable entity response has a 5xx status code
func (*AdminCreateOrgUnprocessableEntity) IsSuccess ¶
func (o *AdminCreateOrgUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin create org unprocessable entity response has a 2xx status code
func (*AdminCreateOrgUnprocessableEntity) String ¶
func (o *AdminCreateOrgUnprocessableEntity) String() string
type AdminCreatePublicKeyCreated ¶
AdminCreatePublicKeyCreated describes a response with status code 201, with default header values.
PublicKey
func NewAdminCreatePublicKeyCreated ¶
func NewAdminCreatePublicKeyCreated() *AdminCreatePublicKeyCreated
NewAdminCreatePublicKeyCreated creates a AdminCreatePublicKeyCreated with default headers values
func (*AdminCreatePublicKeyCreated) Code ¶
func (o *AdminCreatePublicKeyCreated) Code() int
Code gets the status code for the admin create public key created response
func (*AdminCreatePublicKeyCreated) Error ¶
func (o *AdminCreatePublicKeyCreated) Error() string
func (*AdminCreatePublicKeyCreated) GetPayload ¶
func (o *AdminCreatePublicKeyCreated) GetPayload() *models.PublicKey
func (*AdminCreatePublicKeyCreated) IsClientError ¶
func (o *AdminCreatePublicKeyCreated) IsClientError() bool
IsClientError returns true when this admin create public key created response has a 4xx status code
func (*AdminCreatePublicKeyCreated) IsCode ¶
func (o *AdminCreatePublicKeyCreated) IsCode(code int) bool
IsCode returns true when this admin create public key created response a status code equal to that given
func (*AdminCreatePublicKeyCreated) IsRedirect ¶
func (o *AdminCreatePublicKeyCreated) IsRedirect() bool
IsRedirect returns true when this admin create public key created response has a 3xx status code
func (*AdminCreatePublicKeyCreated) IsServerError ¶
func (o *AdminCreatePublicKeyCreated) IsServerError() bool
IsServerError returns true when this admin create public key created response has a 5xx status code
func (*AdminCreatePublicKeyCreated) IsSuccess ¶
func (o *AdminCreatePublicKeyCreated) IsSuccess() bool
IsSuccess returns true when this admin create public key created response has a 2xx status code
func (*AdminCreatePublicKeyCreated) String ¶
func (o *AdminCreatePublicKeyCreated) String() string
type AdminCreatePublicKeyForbidden ¶
AdminCreatePublicKeyForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminCreatePublicKeyForbidden ¶
func NewAdminCreatePublicKeyForbidden() *AdminCreatePublicKeyForbidden
NewAdminCreatePublicKeyForbidden creates a AdminCreatePublicKeyForbidden with default headers values
func (*AdminCreatePublicKeyForbidden) Code ¶
func (o *AdminCreatePublicKeyForbidden) Code() int
Code gets the status code for the admin create public key forbidden response
func (*AdminCreatePublicKeyForbidden) Error ¶
func (o *AdminCreatePublicKeyForbidden) Error() string
func (*AdminCreatePublicKeyForbidden) IsClientError ¶
func (o *AdminCreatePublicKeyForbidden) IsClientError() bool
IsClientError returns true when this admin create public key forbidden response has a 4xx status code
func (*AdminCreatePublicKeyForbidden) IsCode ¶
func (o *AdminCreatePublicKeyForbidden) IsCode(code int) bool
IsCode returns true when this admin create public key forbidden response a status code equal to that given
func (*AdminCreatePublicKeyForbidden) IsRedirect ¶
func (o *AdminCreatePublicKeyForbidden) IsRedirect() bool
IsRedirect returns true when this admin create public key forbidden response has a 3xx status code
func (*AdminCreatePublicKeyForbidden) IsServerError ¶
func (o *AdminCreatePublicKeyForbidden) IsServerError() bool
IsServerError returns true when this admin create public key forbidden response has a 5xx status code
func (*AdminCreatePublicKeyForbidden) IsSuccess ¶
func (o *AdminCreatePublicKeyForbidden) IsSuccess() bool
IsSuccess returns true when this admin create public key forbidden response has a 2xx status code
func (*AdminCreatePublicKeyForbidden) String ¶
func (o *AdminCreatePublicKeyForbidden) String() string
type AdminCreatePublicKeyParams ¶
type AdminCreatePublicKeyParams struct {
// Key.
Key *models.CreateKeyOption
/* Username.
username of the user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCreatePublicKeyParams contains all the parameters to send to the API endpoint
for the admin create public key operation. Typically these are written to a http.Request.
func NewAdminCreatePublicKeyParams ¶
func NewAdminCreatePublicKeyParams() *AdminCreatePublicKeyParams
NewAdminCreatePublicKeyParams creates a new AdminCreatePublicKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCreatePublicKeyParamsWithContext ¶
func NewAdminCreatePublicKeyParamsWithContext(ctx context.Context) *AdminCreatePublicKeyParams
NewAdminCreatePublicKeyParamsWithContext creates a new AdminCreatePublicKeyParams object with the ability to set a context for a request.
func NewAdminCreatePublicKeyParamsWithHTTPClient ¶
func NewAdminCreatePublicKeyParamsWithHTTPClient(client *http.Client) *AdminCreatePublicKeyParams
NewAdminCreatePublicKeyParamsWithHTTPClient creates a new AdminCreatePublicKeyParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreatePublicKeyParamsWithTimeout ¶
func NewAdminCreatePublicKeyParamsWithTimeout(timeout time.Duration) *AdminCreatePublicKeyParams
NewAdminCreatePublicKeyParamsWithTimeout creates a new AdminCreatePublicKeyParams object with the ability to set a timeout on a request.
func (*AdminCreatePublicKeyParams) SetContext ¶
func (o *AdminCreatePublicKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create public key params
func (*AdminCreatePublicKeyParams) SetDefaults ¶
func (o *AdminCreatePublicKeyParams) SetDefaults()
SetDefaults hydrates default values in the admin create public key params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreatePublicKeyParams) SetHTTPClient ¶
func (o *AdminCreatePublicKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create public key params
func (*AdminCreatePublicKeyParams) SetKey ¶
func (o *AdminCreatePublicKeyParams) SetKey(key *models.CreateKeyOption)
SetKey adds the key to the admin create public key params
func (*AdminCreatePublicKeyParams) SetTimeout ¶
func (o *AdminCreatePublicKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create public key params
func (*AdminCreatePublicKeyParams) SetUsername ¶
func (o *AdminCreatePublicKeyParams) SetUsername(username string)
SetUsername adds the username to the admin create public key params
func (*AdminCreatePublicKeyParams) WithContext ¶
func (o *AdminCreatePublicKeyParams) WithContext(ctx context.Context) *AdminCreatePublicKeyParams
WithContext adds the context to the admin create public key params
func (*AdminCreatePublicKeyParams) WithDefaults ¶
func (o *AdminCreatePublicKeyParams) WithDefaults() *AdminCreatePublicKeyParams
WithDefaults hydrates default values in the admin create public key params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreatePublicKeyParams) WithHTTPClient ¶
func (o *AdminCreatePublicKeyParams) WithHTTPClient(client *http.Client) *AdminCreatePublicKeyParams
WithHTTPClient adds the HTTPClient to the admin create public key params
func (*AdminCreatePublicKeyParams) WithKey ¶
func (o *AdminCreatePublicKeyParams) WithKey(key *models.CreateKeyOption) *AdminCreatePublicKeyParams
WithKey adds the key to the admin create public key params
func (*AdminCreatePublicKeyParams) WithTimeout ¶
func (o *AdminCreatePublicKeyParams) WithTimeout(timeout time.Duration) *AdminCreatePublicKeyParams
WithTimeout adds the timeout to the admin create public key params
func (*AdminCreatePublicKeyParams) WithUsername ¶
func (o *AdminCreatePublicKeyParams) WithUsername(username string) *AdminCreatePublicKeyParams
WithUsername adds the username to the admin create public key params
func (*AdminCreatePublicKeyParams) WriteToRequest ¶
func (o *AdminCreatePublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreatePublicKeyReader ¶
type AdminCreatePublicKeyReader struct {
// contains filtered or unexported fields
}
AdminCreatePublicKeyReader is a Reader for the AdminCreatePublicKey structure.
func (*AdminCreatePublicKeyReader) ReadResponse ¶
func (o *AdminCreatePublicKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreatePublicKeyUnprocessableEntity ¶
AdminCreatePublicKeyUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminCreatePublicKeyUnprocessableEntity ¶
func NewAdminCreatePublicKeyUnprocessableEntity() *AdminCreatePublicKeyUnprocessableEntity
NewAdminCreatePublicKeyUnprocessableEntity creates a AdminCreatePublicKeyUnprocessableEntity with default headers values
func (*AdminCreatePublicKeyUnprocessableEntity) Code ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) Code() int
Code gets the status code for the admin create public key unprocessable entity response
func (*AdminCreatePublicKeyUnprocessableEntity) Error ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) Error() string
func (*AdminCreatePublicKeyUnprocessableEntity) IsClientError ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin create public key unprocessable entity response has a 4xx status code
func (*AdminCreatePublicKeyUnprocessableEntity) IsCode ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin create public key unprocessable entity response a status code equal to that given
func (*AdminCreatePublicKeyUnprocessableEntity) IsRedirect ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin create public key unprocessable entity response has a 3xx status code
func (*AdminCreatePublicKeyUnprocessableEntity) IsServerError ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin create public key unprocessable entity response has a 5xx status code
func (*AdminCreatePublicKeyUnprocessableEntity) IsSuccess ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin create public key unprocessable entity response has a 2xx status code
func (*AdminCreatePublicKeyUnprocessableEntity) String ¶
func (o *AdminCreatePublicKeyUnprocessableEntity) String() string
type AdminCreateRepoBadRequest ¶
AdminCreateRepoBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewAdminCreateRepoBadRequest ¶
func NewAdminCreateRepoBadRequest() *AdminCreateRepoBadRequest
NewAdminCreateRepoBadRequest creates a AdminCreateRepoBadRequest with default headers values
func (*AdminCreateRepoBadRequest) Code ¶
func (o *AdminCreateRepoBadRequest) Code() int
Code gets the status code for the admin create repo bad request response
func (*AdminCreateRepoBadRequest) Error ¶
func (o *AdminCreateRepoBadRequest) Error() string
func (*AdminCreateRepoBadRequest) IsClientError ¶
func (o *AdminCreateRepoBadRequest) IsClientError() bool
IsClientError returns true when this admin create repo bad request response has a 4xx status code
func (*AdminCreateRepoBadRequest) IsCode ¶
func (o *AdminCreateRepoBadRequest) IsCode(code int) bool
IsCode returns true when this admin create repo bad request response a status code equal to that given
func (*AdminCreateRepoBadRequest) IsRedirect ¶
func (o *AdminCreateRepoBadRequest) IsRedirect() bool
IsRedirect returns true when this admin create repo bad request response has a 3xx status code
func (*AdminCreateRepoBadRequest) IsServerError ¶
func (o *AdminCreateRepoBadRequest) IsServerError() bool
IsServerError returns true when this admin create repo bad request response has a 5xx status code
func (*AdminCreateRepoBadRequest) IsSuccess ¶
func (o *AdminCreateRepoBadRequest) IsSuccess() bool
IsSuccess returns true when this admin create repo bad request response has a 2xx status code
func (*AdminCreateRepoBadRequest) String ¶
func (o *AdminCreateRepoBadRequest) String() string
type AdminCreateRepoConflict ¶
AdminCreateRepoConflict describes a response with status code 409, with default header values.
APIError is error format response
func NewAdminCreateRepoConflict ¶
func NewAdminCreateRepoConflict() *AdminCreateRepoConflict
NewAdminCreateRepoConflict creates a AdminCreateRepoConflict with default headers values
func (*AdminCreateRepoConflict) Code ¶
func (o *AdminCreateRepoConflict) Code() int
Code gets the status code for the admin create repo conflict response
func (*AdminCreateRepoConflict) Error ¶
func (o *AdminCreateRepoConflict) Error() string
func (*AdminCreateRepoConflict) IsClientError ¶
func (o *AdminCreateRepoConflict) IsClientError() bool
IsClientError returns true when this admin create repo conflict response has a 4xx status code
func (*AdminCreateRepoConflict) IsCode ¶
func (o *AdminCreateRepoConflict) IsCode(code int) bool
IsCode returns true when this admin create repo conflict response a status code equal to that given
func (*AdminCreateRepoConflict) IsRedirect ¶
func (o *AdminCreateRepoConflict) IsRedirect() bool
IsRedirect returns true when this admin create repo conflict response has a 3xx status code
func (*AdminCreateRepoConflict) IsServerError ¶
func (o *AdminCreateRepoConflict) IsServerError() bool
IsServerError returns true when this admin create repo conflict response has a 5xx status code
func (*AdminCreateRepoConflict) IsSuccess ¶
func (o *AdminCreateRepoConflict) IsSuccess() bool
IsSuccess returns true when this admin create repo conflict response has a 2xx status code
func (*AdminCreateRepoConflict) String ¶
func (o *AdminCreateRepoConflict) String() string
type AdminCreateRepoCreated ¶
type AdminCreateRepoCreated struct {
Payload *models.Repository
}
AdminCreateRepoCreated describes a response with status code 201, with default header values.
Repository
func NewAdminCreateRepoCreated ¶
func NewAdminCreateRepoCreated() *AdminCreateRepoCreated
NewAdminCreateRepoCreated creates a AdminCreateRepoCreated with default headers values
func (*AdminCreateRepoCreated) Code ¶
func (o *AdminCreateRepoCreated) Code() int
Code gets the status code for the admin create repo created response
func (*AdminCreateRepoCreated) Error ¶
func (o *AdminCreateRepoCreated) Error() string
func (*AdminCreateRepoCreated) GetPayload ¶
func (o *AdminCreateRepoCreated) GetPayload() *models.Repository
func (*AdminCreateRepoCreated) IsClientError ¶
func (o *AdminCreateRepoCreated) IsClientError() bool
IsClientError returns true when this admin create repo created response has a 4xx status code
func (*AdminCreateRepoCreated) IsCode ¶
func (o *AdminCreateRepoCreated) IsCode(code int) bool
IsCode returns true when this admin create repo created response a status code equal to that given
func (*AdminCreateRepoCreated) IsRedirect ¶
func (o *AdminCreateRepoCreated) IsRedirect() bool
IsRedirect returns true when this admin create repo created response has a 3xx status code
func (*AdminCreateRepoCreated) IsServerError ¶
func (o *AdminCreateRepoCreated) IsServerError() bool
IsServerError returns true when this admin create repo created response has a 5xx status code
func (*AdminCreateRepoCreated) IsSuccess ¶
func (o *AdminCreateRepoCreated) IsSuccess() bool
IsSuccess returns true when this admin create repo created response has a 2xx status code
func (*AdminCreateRepoCreated) String ¶
func (o *AdminCreateRepoCreated) String() string
type AdminCreateRepoForbidden ¶
AdminCreateRepoForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminCreateRepoForbidden ¶
func NewAdminCreateRepoForbidden() *AdminCreateRepoForbidden
NewAdminCreateRepoForbidden creates a AdminCreateRepoForbidden with default headers values
func (*AdminCreateRepoForbidden) Code ¶
func (o *AdminCreateRepoForbidden) Code() int
Code gets the status code for the admin create repo forbidden response
func (*AdminCreateRepoForbidden) Error ¶
func (o *AdminCreateRepoForbidden) Error() string
func (*AdminCreateRepoForbidden) IsClientError ¶
func (o *AdminCreateRepoForbidden) IsClientError() bool
IsClientError returns true when this admin create repo forbidden response has a 4xx status code
func (*AdminCreateRepoForbidden) IsCode ¶
func (o *AdminCreateRepoForbidden) IsCode(code int) bool
IsCode returns true when this admin create repo forbidden response a status code equal to that given
func (*AdminCreateRepoForbidden) IsRedirect ¶
func (o *AdminCreateRepoForbidden) IsRedirect() bool
IsRedirect returns true when this admin create repo forbidden response has a 3xx status code
func (*AdminCreateRepoForbidden) IsServerError ¶
func (o *AdminCreateRepoForbidden) IsServerError() bool
IsServerError returns true when this admin create repo forbidden response has a 5xx status code
func (*AdminCreateRepoForbidden) IsSuccess ¶
func (o *AdminCreateRepoForbidden) IsSuccess() bool
IsSuccess returns true when this admin create repo forbidden response has a 2xx status code
func (*AdminCreateRepoForbidden) String ¶
func (o *AdminCreateRepoForbidden) String() string
type AdminCreateRepoNotFound ¶
type AdminCreateRepoNotFound struct {
}
AdminCreateRepoNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminCreateRepoNotFound ¶
func NewAdminCreateRepoNotFound() *AdminCreateRepoNotFound
NewAdminCreateRepoNotFound creates a AdminCreateRepoNotFound with default headers values
func (*AdminCreateRepoNotFound) Code ¶
func (o *AdminCreateRepoNotFound) Code() int
Code gets the status code for the admin create repo not found response
func (*AdminCreateRepoNotFound) Error ¶
func (o *AdminCreateRepoNotFound) Error() string
func (*AdminCreateRepoNotFound) IsClientError ¶
func (o *AdminCreateRepoNotFound) IsClientError() bool
IsClientError returns true when this admin create repo not found response has a 4xx status code
func (*AdminCreateRepoNotFound) IsCode ¶
func (o *AdminCreateRepoNotFound) IsCode(code int) bool
IsCode returns true when this admin create repo not found response a status code equal to that given
func (*AdminCreateRepoNotFound) IsRedirect ¶
func (o *AdminCreateRepoNotFound) IsRedirect() bool
IsRedirect returns true when this admin create repo not found response has a 3xx status code
func (*AdminCreateRepoNotFound) IsServerError ¶
func (o *AdminCreateRepoNotFound) IsServerError() bool
IsServerError returns true when this admin create repo not found response has a 5xx status code
func (*AdminCreateRepoNotFound) IsSuccess ¶
func (o *AdminCreateRepoNotFound) IsSuccess() bool
IsSuccess returns true when this admin create repo not found response has a 2xx status code
func (*AdminCreateRepoNotFound) String ¶
func (o *AdminCreateRepoNotFound) String() string
type AdminCreateRepoParams ¶
type AdminCreateRepoParams struct {
// Repository.
Repository *models.CreateRepoOption
/* Username.
username of the user. This user will own the created repository
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCreateRepoParams contains all the parameters to send to the API endpoint
for the admin create repo operation. Typically these are written to a http.Request.
func NewAdminCreateRepoParams ¶
func NewAdminCreateRepoParams() *AdminCreateRepoParams
NewAdminCreateRepoParams creates a new AdminCreateRepoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCreateRepoParamsWithContext ¶
func NewAdminCreateRepoParamsWithContext(ctx context.Context) *AdminCreateRepoParams
NewAdminCreateRepoParamsWithContext creates a new AdminCreateRepoParams object with the ability to set a context for a request.
func NewAdminCreateRepoParamsWithHTTPClient ¶
func NewAdminCreateRepoParamsWithHTTPClient(client *http.Client) *AdminCreateRepoParams
NewAdminCreateRepoParamsWithHTTPClient creates a new AdminCreateRepoParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreateRepoParamsWithTimeout ¶
func NewAdminCreateRepoParamsWithTimeout(timeout time.Duration) *AdminCreateRepoParams
NewAdminCreateRepoParamsWithTimeout creates a new AdminCreateRepoParams object with the ability to set a timeout on a request.
func (*AdminCreateRepoParams) SetContext ¶
func (o *AdminCreateRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create repo params
func (*AdminCreateRepoParams) SetDefaults ¶
func (o *AdminCreateRepoParams) SetDefaults()
SetDefaults hydrates default values in the admin create repo params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateRepoParams) SetHTTPClient ¶
func (o *AdminCreateRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create repo params
func (*AdminCreateRepoParams) SetRepository ¶
func (o *AdminCreateRepoParams) SetRepository(repository *models.CreateRepoOption)
SetRepository adds the repository to the admin create repo params
func (*AdminCreateRepoParams) SetTimeout ¶
func (o *AdminCreateRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create repo params
func (*AdminCreateRepoParams) SetUsername ¶
func (o *AdminCreateRepoParams) SetUsername(username string)
SetUsername adds the username to the admin create repo params
func (*AdminCreateRepoParams) WithContext ¶
func (o *AdminCreateRepoParams) WithContext(ctx context.Context) *AdminCreateRepoParams
WithContext adds the context to the admin create repo params
func (*AdminCreateRepoParams) WithDefaults ¶
func (o *AdminCreateRepoParams) WithDefaults() *AdminCreateRepoParams
WithDefaults hydrates default values in the admin create repo params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateRepoParams) WithHTTPClient ¶
func (o *AdminCreateRepoParams) WithHTTPClient(client *http.Client) *AdminCreateRepoParams
WithHTTPClient adds the HTTPClient to the admin create repo params
func (*AdminCreateRepoParams) WithRepository ¶
func (o *AdminCreateRepoParams) WithRepository(repository *models.CreateRepoOption) *AdminCreateRepoParams
WithRepository adds the repository to the admin create repo params
func (*AdminCreateRepoParams) WithTimeout ¶
func (o *AdminCreateRepoParams) WithTimeout(timeout time.Duration) *AdminCreateRepoParams
WithTimeout adds the timeout to the admin create repo params
func (*AdminCreateRepoParams) WithUsername ¶
func (o *AdminCreateRepoParams) WithUsername(username string) *AdminCreateRepoParams
WithUsername adds the username to the admin create repo params
func (*AdminCreateRepoParams) WriteToRequest ¶
func (o *AdminCreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateRepoReader ¶
type AdminCreateRepoReader struct {
// contains filtered or unexported fields
}
AdminCreateRepoReader is a Reader for the AdminCreateRepo structure.
func (*AdminCreateRepoReader) ReadResponse ¶
func (o *AdminCreateRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateRepoUnprocessableEntity ¶
AdminCreateRepoUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminCreateRepoUnprocessableEntity ¶
func NewAdminCreateRepoUnprocessableEntity() *AdminCreateRepoUnprocessableEntity
NewAdminCreateRepoUnprocessableEntity creates a AdminCreateRepoUnprocessableEntity with default headers values
func (*AdminCreateRepoUnprocessableEntity) Code ¶
func (o *AdminCreateRepoUnprocessableEntity) Code() int
Code gets the status code for the admin create repo unprocessable entity response
func (*AdminCreateRepoUnprocessableEntity) Error ¶
func (o *AdminCreateRepoUnprocessableEntity) Error() string
func (*AdminCreateRepoUnprocessableEntity) IsClientError ¶
func (o *AdminCreateRepoUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin create repo unprocessable entity response has a 4xx status code
func (*AdminCreateRepoUnprocessableEntity) IsCode ¶
func (o *AdminCreateRepoUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin create repo unprocessable entity response a status code equal to that given
func (*AdminCreateRepoUnprocessableEntity) IsRedirect ¶
func (o *AdminCreateRepoUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin create repo unprocessable entity response has a 3xx status code
func (*AdminCreateRepoUnprocessableEntity) IsServerError ¶
func (o *AdminCreateRepoUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin create repo unprocessable entity response has a 5xx status code
func (*AdminCreateRepoUnprocessableEntity) IsSuccess ¶
func (o *AdminCreateRepoUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin create repo unprocessable entity response has a 2xx status code
func (*AdminCreateRepoUnprocessableEntity) String ¶
func (o *AdminCreateRepoUnprocessableEntity) String() string
type AdminCreateUserBadRequest ¶
AdminCreateUserBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewAdminCreateUserBadRequest ¶
func NewAdminCreateUserBadRequest() *AdminCreateUserBadRequest
NewAdminCreateUserBadRequest creates a AdminCreateUserBadRequest with default headers values
func (*AdminCreateUserBadRequest) Code ¶
func (o *AdminCreateUserBadRequest) Code() int
Code gets the status code for the admin create user bad request response
func (*AdminCreateUserBadRequest) Error ¶
func (o *AdminCreateUserBadRequest) Error() string
func (*AdminCreateUserBadRequest) IsClientError ¶
func (o *AdminCreateUserBadRequest) IsClientError() bool
IsClientError returns true when this admin create user bad request response has a 4xx status code
func (*AdminCreateUserBadRequest) IsCode ¶
func (o *AdminCreateUserBadRequest) IsCode(code int) bool
IsCode returns true when this admin create user bad request response a status code equal to that given
func (*AdminCreateUserBadRequest) IsRedirect ¶
func (o *AdminCreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this admin create user bad request response has a 3xx status code
func (*AdminCreateUserBadRequest) IsServerError ¶
func (o *AdminCreateUserBadRequest) IsServerError() bool
IsServerError returns true when this admin create user bad request response has a 5xx status code
func (*AdminCreateUserBadRequest) IsSuccess ¶
func (o *AdminCreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this admin create user bad request response has a 2xx status code
func (*AdminCreateUserBadRequest) String ¶
func (o *AdminCreateUserBadRequest) String() string
type AdminCreateUserCreated ¶
AdminCreateUserCreated describes a response with status code 201, with default header values.
User
func NewAdminCreateUserCreated ¶
func NewAdminCreateUserCreated() *AdminCreateUserCreated
NewAdminCreateUserCreated creates a AdminCreateUserCreated with default headers values
func (*AdminCreateUserCreated) Code ¶
func (o *AdminCreateUserCreated) Code() int
Code gets the status code for the admin create user created response
func (*AdminCreateUserCreated) Error ¶
func (o *AdminCreateUserCreated) Error() string
func (*AdminCreateUserCreated) GetPayload ¶
func (o *AdminCreateUserCreated) GetPayload() *models.User
func (*AdminCreateUserCreated) IsClientError ¶
func (o *AdminCreateUserCreated) IsClientError() bool
IsClientError returns true when this admin create user created response has a 4xx status code
func (*AdminCreateUserCreated) IsCode ¶
func (o *AdminCreateUserCreated) IsCode(code int) bool
IsCode returns true when this admin create user created response a status code equal to that given
func (*AdminCreateUserCreated) IsRedirect ¶
func (o *AdminCreateUserCreated) IsRedirect() bool
IsRedirect returns true when this admin create user created response has a 3xx status code
func (*AdminCreateUserCreated) IsServerError ¶
func (o *AdminCreateUserCreated) IsServerError() bool
IsServerError returns true when this admin create user created response has a 5xx status code
func (*AdminCreateUserCreated) IsSuccess ¶
func (o *AdminCreateUserCreated) IsSuccess() bool
IsSuccess returns true when this admin create user created response has a 2xx status code
func (*AdminCreateUserCreated) String ¶
func (o *AdminCreateUserCreated) String() string
type AdminCreateUserForbidden ¶
AdminCreateUserForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminCreateUserForbidden ¶
func NewAdminCreateUserForbidden() *AdminCreateUserForbidden
NewAdminCreateUserForbidden creates a AdminCreateUserForbidden with default headers values
func (*AdminCreateUserForbidden) Code ¶
func (o *AdminCreateUserForbidden) Code() int
Code gets the status code for the admin create user forbidden response
func (*AdminCreateUserForbidden) Error ¶
func (o *AdminCreateUserForbidden) Error() string
func (*AdminCreateUserForbidden) IsClientError ¶
func (o *AdminCreateUserForbidden) IsClientError() bool
IsClientError returns true when this admin create user forbidden response has a 4xx status code
func (*AdminCreateUserForbidden) IsCode ¶
func (o *AdminCreateUserForbidden) IsCode(code int) bool
IsCode returns true when this admin create user forbidden response a status code equal to that given
func (*AdminCreateUserForbidden) IsRedirect ¶
func (o *AdminCreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin create user forbidden response has a 3xx status code
func (*AdminCreateUserForbidden) IsServerError ¶
func (o *AdminCreateUserForbidden) IsServerError() bool
IsServerError returns true when this admin create user forbidden response has a 5xx status code
func (*AdminCreateUserForbidden) IsSuccess ¶
func (o *AdminCreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin create user forbidden response has a 2xx status code
func (*AdminCreateUserForbidden) String ¶
func (o *AdminCreateUserForbidden) String() string
type AdminCreateUserParams ¶
type AdminCreateUserParams struct {
// Body.
Body *models.CreateUserOption
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCreateUserParams contains all the parameters to send to the API endpoint
for the admin create user operation. Typically these are written to a http.Request.
func NewAdminCreateUserParams ¶
func NewAdminCreateUserParams() *AdminCreateUserParams
NewAdminCreateUserParams creates a new AdminCreateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCreateUserParamsWithContext ¶
func NewAdminCreateUserParamsWithContext(ctx context.Context) *AdminCreateUserParams
NewAdminCreateUserParamsWithContext creates a new AdminCreateUserParams object with the ability to set a context for a request.
func NewAdminCreateUserParamsWithHTTPClient ¶
func NewAdminCreateUserParamsWithHTTPClient(client *http.Client) *AdminCreateUserParams
NewAdminCreateUserParamsWithHTTPClient creates a new AdminCreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCreateUserParamsWithTimeout ¶
func NewAdminCreateUserParamsWithTimeout(timeout time.Duration) *AdminCreateUserParams
NewAdminCreateUserParamsWithTimeout creates a new AdminCreateUserParams object with the ability to set a timeout on a request.
func (*AdminCreateUserParams) SetBody ¶
func (o *AdminCreateUserParams) SetBody(body *models.CreateUserOption)
SetBody adds the body to the admin create user params
func (*AdminCreateUserParams) SetContext ¶
func (o *AdminCreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create user params
func (*AdminCreateUserParams) SetDefaults ¶
func (o *AdminCreateUserParams) SetDefaults()
SetDefaults hydrates default values in the admin create user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateUserParams) SetHTTPClient ¶
func (o *AdminCreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create user params
func (*AdminCreateUserParams) SetTimeout ¶
func (o *AdminCreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create user params
func (*AdminCreateUserParams) WithBody ¶
func (o *AdminCreateUserParams) WithBody(body *models.CreateUserOption) *AdminCreateUserParams
WithBody adds the body to the admin create user params
func (*AdminCreateUserParams) WithContext ¶
func (o *AdminCreateUserParams) WithContext(ctx context.Context) *AdminCreateUserParams
WithContext adds the context to the admin create user params
func (*AdminCreateUserParams) WithDefaults ¶
func (o *AdminCreateUserParams) WithDefaults() *AdminCreateUserParams
WithDefaults hydrates default values in the admin create user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCreateUserParams) WithHTTPClient ¶
func (o *AdminCreateUserParams) WithHTTPClient(client *http.Client) *AdminCreateUserParams
WithHTTPClient adds the HTTPClient to the admin create user params
func (*AdminCreateUserParams) WithTimeout ¶
func (o *AdminCreateUserParams) WithTimeout(timeout time.Duration) *AdminCreateUserParams
WithTimeout adds the timeout to the admin create user params
func (*AdminCreateUserParams) WriteToRequest ¶
func (o *AdminCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateUserReader ¶
type AdminCreateUserReader struct {
// contains filtered or unexported fields
}
AdminCreateUserReader is a Reader for the AdminCreateUser structure.
func (*AdminCreateUserReader) ReadResponse ¶
func (o *AdminCreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateUserUnprocessableEntity ¶
AdminCreateUserUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminCreateUserUnprocessableEntity ¶
func NewAdminCreateUserUnprocessableEntity() *AdminCreateUserUnprocessableEntity
NewAdminCreateUserUnprocessableEntity creates a AdminCreateUserUnprocessableEntity with default headers values
func (*AdminCreateUserUnprocessableEntity) Code ¶
func (o *AdminCreateUserUnprocessableEntity) Code() int
Code gets the status code for the admin create user unprocessable entity response
func (*AdminCreateUserUnprocessableEntity) Error ¶
func (o *AdminCreateUserUnprocessableEntity) Error() string
func (*AdminCreateUserUnprocessableEntity) IsClientError ¶
func (o *AdminCreateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin create user unprocessable entity response has a 4xx status code
func (*AdminCreateUserUnprocessableEntity) IsCode ¶
func (o *AdminCreateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin create user unprocessable entity response a status code equal to that given
func (*AdminCreateUserUnprocessableEntity) IsRedirect ¶
func (o *AdminCreateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin create user unprocessable entity response has a 3xx status code
func (*AdminCreateUserUnprocessableEntity) IsServerError ¶
func (o *AdminCreateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin create user unprocessable entity response has a 5xx status code
func (*AdminCreateUserUnprocessableEntity) IsSuccess ¶
func (o *AdminCreateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin create user unprocessable entity response has a 2xx status code
func (*AdminCreateUserUnprocessableEntity) String ¶
func (o *AdminCreateUserUnprocessableEntity) String() string
type AdminCronListForbidden ¶
AdminCronListForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminCronListForbidden ¶
func NewAdminCronListForbidden() *AdminCronListForbidden
NewAdminCronListForbidden creates a AdminCronListForbidden with default headers values
func (*AdminCronListForbidden) Code ¶
func (o *AdminCronListForbidden) Code() int
Code gets the status code for the admin cron list forbidden response
func (*AdminCronListForbidden) Error ¶
func (o *AdminCronListForbidden) Error() string
func (*AdminCronListForbidden) IsClientError ¶
func (o *AdminCronListForbidden) IsClientError() bool
IsClientError returns true when this admin cron list forbidden response has a 4xx status code
func (*AdminCronListForbidden) IsCode ¶
func (o *AdminCronListForbidden) IsCode(code int) bool
IsCode returns true when this admin cron list forbidden response a status code equal to that given
func (*AdminCronListForbidden) IsRedirect ¶
func (o *AdminCronListForbidden) IsRedirect() bool
IsRedirect returns true when this admin cron list forbidden response has a 3xx status code
func (*AdminCronListForbidden) IsServerError ¶
func (o *AdminCronListForbidden) IsServerError() bool
IsServerError returns true when this admin cron list forbidden response has a 5xx status code
func (*AdminCronListForbidden) IsSuccess ¶
func (o *AdminCronListForbidden) IsSuccess() bool
IsSuccess returns true when this admin cron list forbidden response has a 2xx status code
func (*AdminCronListForbidden) String ¶
func (o *AdminCronListForbidden) String() string
type AdminCronListOK ¶
AdminCronListOK describes a response with status code 200, with default header values.
CronList
func NewAdminCronListOK ¶
func NewAdminCronListOK() *AdminCronListOK
NewAdminCronListOK creates a AdminCronListOK with default headers values
func (*AdminCronListOK) Code ¶
func (o *AdminCronListOK) Code() int
Code gets the status code for the admin cron list o k response
func (*AdminCronListOK) Error ¶
func (o *AdminCronListOK) Error() string
func (*AdminCronListOK) GetPayload ¶
func (o *AdminCronListOK) GetPayload() []*models.Cron
func (*AdminCronListOK) IsClientError ¶
func (o *AdminCronListOK) IsClientError() bool
IsClientError returns true when this admin cron list o k response has a 4xx status code
func (*AdminCronListOK) IsCode ¶
func (o *AdminCronListOK) IsCode(code int) bool
IsCode returns true when this admin cron list o k response a status code equal to that given
func (*AdminCronListOK) IsRedirect ¶
func (o *AdminCronListOK) IsRedirect() bool
IsRedirect returns true when this admin cron list o k response has a 3xx status code
func (*AdminCronListOK) IsServerError ¶
func (o *AdminCronListOK) IsServerError() bool
IsServerError returns true when this admin cron list o k response has a 5xx status code
func (*AdminCronListOK) IsSuccess ¶
func (o *AdminCronListOK) IsSuccess() bool
IsSuccess returns true when this admin cron list o k response has a 2xx status code
func (*AdminCronListOK) String ¶
func (o *AdminCronListOK) String() string
type AdminCronListParams ¶
type AdminCronListParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCronListParams contains all the parameters to send to the API endpoint
for the admin cron list operation. Typically these are written to a http.Request.
func NewAdminCronListParams ¶
func NewAdminCronListParams() *AdminCronListParams
NewAdminCronListParams creates a new AdminCronListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCronListParamsWithContext ¶
func NewAdminCronListParamsWithContext(ctx context.Context) *AdminCronListParams
NewAdminCronListParamsWithContext creates a new AdminCronListParams object with the ability to set a context for a request.
func NewAdminCronListParamsWithHTTPClient ¶
func NewAdminCronListParamsWithHTTPClient(client *http.Client) *AdminCronListParams
NewAdminCronListParamsWithHTTPClient creates a new AdminCronListParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCronListParamsWithTimeout ¶
func NewAdminCronListParamsWithTimeout(timeout time.Duration) *AdminCronListParams
NewAdminCronListParamsWithTimeout creates a new AdminCronListParams object with the ability to set a timeout on a request.
func (*AdminCronListParams) SetContext ¶
func (o *AdminCronListParams) SetContext(ctx context.Context)
SetContext adds the context to the admin cron list params
func (*AdminCronListParams) SetDefaults ¶
func (o *AdminCronListParams) SetDefaults()
SetDefaults hydrates default values in the admin cron list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCronListParams) SetHTTPClient ¶
func (o *AdminCronListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin cron list params
func (*AdminCronListParams) SetLimit ¶
func (o *AdminCronListParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin cron list params
func (*AdminCronListParams) SetPage ¶
func (o *AdminCronListParams) SetPage(page *int64)
SetPage adds the page to the admin cron list params
func (*AdminCronListParams) SetTimeout ¶
func (o *AdminCronListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin cron list params
func (*AdminCronListParams) WithContext ¶
func (o *AdminCronListParams) WithContext(ctx context.Context) *AdminCronListParams
WithContext adds the context to the admin cron list params
func (*AdminCronListParams) WithDefaults ¶
func (o *AdminCronListParams) WithDefaults() *AdminCronListParams
WithDefaults hydrates default values in the admin cron list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCronListParams) WithHTTPClient ¶
func (o *AdminCronListParams) WithHTTPClient(client *http.Client) *AdminCronListParams
WithHTTPClient adds the HTTPClient to the admin cron list params
func (*AdminCronListParams) WithLimit ¶
func (o *AdminCronListParams) WithLimit(limit *int64) *AdminCronListParams
WithLimit adds the limit to the admin cron list params
func (*AdminCronListParams) WithPage ¶
func (o *AdminCronListParams) WithPage(page *int64) *AdminCronListParams
WithPage adds the page to the admin cron list params
func (*AdminCronListParams) WithTimeout ¶
func (o *AdminCronListParams) WithTimeout(timeout time.Duration) *AdminCronListParams
WithTimeout adds the timeout to the admin cron list params
func (*AdminCronListParams) WriteToRequest ¶
func (o *AdminCronListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCronListReader ¶
type AdminCronListReader struct {
// contains filtered or unexported fields
}
AdminCronListReader is a Reader for the AdminCronList structure.
func (*AdminCronListReader) ReadResponse ¶
func (o *AdminCronListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCronRunNoContent ¶
type AdminCronRunNoContent struct {
}
AdminCronRunNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminCronRunNoContent ¶
func NewAdminCronRunNoContent() *AdminCronRunNoContent
NewAdminCronRunNoContent creates a AdminCronRunNoContent with default headers values
func (*AdminCronRunNoContent) Code ¶
func (o *AdminCronRunNoContent) Code() int
Code gets the status code for the admin cron run no content response
func (*AdminCronRunNoContent) Error ¶
func (o *AdminCronRunNoContent) Error() string
func (*AdminCronRunNoContent) IsClientError ¶
func (o *AdminCronRunNoContent) IsClientError() bool
IsClientError returns true when this admin cron run no content response has a 4xx status code
func (*AdminCronRunNoContent) IsCode ¶
func (o *AdminCronRunNoContent) IsCode(code int) bool
IsCode returns true when this admin cron run no content response a status code equal to that given
func (*AdminCronRunNoContent) IsRedirect ¶
func (o *AdminCronRunNoContent) IsRedirect() bool
IsRedirect returns true when this admin cron run no content response has a 3xx status code
func (*AdminCronRunNoContent) IsServerError ¶
func (o *AdminCronRunNoContent) IsServerError() bool
IsServerError returns true when this admin cron run no content response has a 5xx status code
func (*AdminCronRunNoContent) IsSuccess ¶
func (o *AdminCronRunNoContent) IsSuccess() bool
IsSuccess returns true when this admin cron run no content response has a 2xx status code
func (*AdminCronRunNoContent) String ¶
func (o *AdminCronRunNoContent) String() string
type AdminCronRunNotFound ¶
type AdminCronRunNotFound struct {
}
AdminCronRunNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminCronRunNotFound ¶
func NewAdminCronRunNotFound() *AdminCronRunNotFound
NewAdminCronRunNotFound creates a AdminCronRunNotFound with default headers values
func (*AdminCronRunNotFound) Code ¶
func (o *AdminCronRunNotFound) Code() int
Code gets the status code for the admin cron run not found response
func (*AdminCronRunNotFound) Error ¶
func (o *AdminCronRunNotFound) Error() string
func (*AdminCronRunNotFound) IsClientError ¶
func (o *AdminCronRunNotFound) IsClientError() bool
IsClientError returns true when this admin cron run not found response has a 4xx status code
func (*AdminCronRunNotFound) IsCode ¶
func (o *AdminCronRunNotFound) IsCode(code int) bool
IsCode returns true when this admin cron run not found response a status code equal to that given
func (*AdminCronRunNotFound) IsRedirect ¶
func (o *AdminCronRunNotFound) IsRedirect() bool
IsRedirect returns true when this admin cron run not found response has a 3xx status code
func (*AdminCronRunNotFound) IsServerError ¶
func (o *AdminCronRunNotFound) IsServerError() bool
IsServerError returns true when this admin cron run not found response has a 5xx status code
func (*AdminCronRunNotFound) IsSuccess ¶
func (o *AdminCronRunNotFound) IsSuccess() bool
IsSuccess returns true when this admin cron run not found response has a 2xx status code
func (*AdminCronRunNotFound) String ¶
func (o *AdminCronRunNotFound) String() string
type AdminCronRunParams ¶
type AdminCronRunParams struct {
/* Task.
task to run
*/
Task string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminCronRunParams contains all the parameters to send to the API endpoint
for the admin cron run operation. Typically these are written to a http.Request.
func NewAdminCronRunParams ¶
func NewAdminCronRunParams() *AdminCronRunParams
NewAdminCronRunParams creates a new AdminCronRunParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminCronRunParamsWithContext ¶
func NewAdminCronRunParamsWithContext(ctx context.Context) *AdminCronRunParams
NewAdminCronRunParamsWithContext creates a new AdminCronRunParams object with the ability to set a context for a request.
func NewAdminCronRunParamsWithHTTPClient ¶
func NewAdminCronRunParamsWithHTTPClient(client *http.Client) *AdminCronRunParams
NewAdminCronRunParamsWithHTTPClient creates a new AdminCronRunParams object with the ability to set a custom HTTPClient for a request.
func NewAdminCronRunParamsWithTimeout ¶
func NewAdminCronRunParamsWithTimeout(timeout time.Duration) *AdminCronRunParams
NewAdminCronRunParamsWithTimeout creates a new AdminCronRunParams object with the ability to set a timeout on a request.
func (*AdminCronRunParams) SetContext ¶
func (o *AdminCronRunParams) SetContext(ctx context.Context)
SetContext adds the context to the admin cron run params
func (*AdminCronRunParams) SetDefaults ¶
func (o *AdminCronRunParams) SetDefaults()
SetDefaults hydrates default values in the admin cron run params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCronRunParams) SetHTTPClient ¶
func (o *AdminCronRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin cron run params
func (*AdminCronRunParams) SetTask ¶
func (o *AdminCronRunParams) SetTask(task string)
SetTask adds the task to the admin cron run params
func (*AdminCronRunParams) SetTimeout ¶
func (o *AdminCronRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin cron run params
func (*AdminCronRunParams) WithContext ¶
func (o *AdminCronRunParams) WithContext(ctx context.Context) *AdminCronRunParams
WithContext adds the context to the admin cron run params
func (*AdminCronRunParams) WithDefaults ¶
func (o *AdminCronRunParams) WithDefaults() *AdminCronRunParams
WithDefaults hydrates default values in the admin cron run params (not the query body).
All values with no default are reset to their zero value.
func (*AdminCronRunParams) WithHTTPClient ¶
func (o *AdminCronRunParams) WithHTTPClient(client *http.Client) *AdminCronRunParams
WithHTTPClient adds the HTTPClient to the admin cron run params
func (*AdminCronRunParams) WithTask ¶
func (o *AdminCronRunParams) WithTask(task string) *AdminCronRunParams
WithTask adds the task to the admin cron run params
func (*AdminCronRunParams) WithTimeout ¶
func (o *AdminCronRunParams) WithTimeout(timeout time.Duration) *AdminCronRunParams
WithTimeout adds the timeout to the admin cron run params
func (*AdminCronRunParams) WriteToRequest ¶
func (o *AdminCronRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCronRunReader ¶
type AdminCronRunReader struct {
// contains filtered or unexported fields
}
AdminCronRunReader is a Reader for the AdminCronRun structure.
func (*AdminCronRunReader) ReadResponse ¶
func (o *AdminCronRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteHookNoContent ¶
type AdminDeleteHookNoContent struct {
}
AdminDeleteHookNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminDeleteHookNoContent ¶
func NewAdminDeleteHookNoContent() *AdminDeleteHookNoContent
NewAdminDeleteHookNoContent creates a AdminDeleteHookNoContent with default headers values
func (*AdminDeleteHookNoContent) Code ¶
func (o *AdminDeleteHookNoContent) Code() int
Code gets the status code for the admin delete hook no content response
func (*AdminDeleteHookNoContent) Error ¶
func (o *AdminDeleteHookNoContent) Error() string
func (*AdminDeleteHookNoContent) IsClientError ¶
func (o *AdminDeleteHookNoContent) IsClientError() bool
IsClientError returns true when this admin delete hook no content response has a 4xx status code
func (*AdminDeleteHookNoContent) IsCode ¶
func (o *AdminDeleteHookNoContent) IsCode(code int) bool
IsCode returns true when this admin delete hook no content response a status code equal to that given
func (*AdminDeleteHookNoContent) IsRedirect ¶
func (o *AdminDeleteHookNoContent) IsRedirect() bool
IsRedirect returns true when this admin delete hook no content response has a 3xx status code
func (*AdminDeleteHookNoContent) IsServerError ¶
func (o *AdminDeleteHookNoContent) IsServerError() bool
IsServerError returns true when this admin delete hook no content response has a 5xx status code
func (*AdminDeleteHookNoContent) IsSuccess ¶
func (o *AdminDeleteHookNoContent) IsSuccess() bool
IsSuccess returns true when this admin delete hook no content response has a 2xx status code
func (*AdminDeleteHookNoContent) String ¶
func (o *AdminDeleteHookNoContent) String() string
type AdminDeleteHookParams ¶
type AdminDeleteHookParams struct {
/* ID.
id of the hook to delete
Format: int64
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminDeleteHookParams contains all the parameters to send to the API endpoint
for the admin delete hook operation. Typically these are written to a http.Request.
func NewAdminDeleteHookParams ¶
func NewAdminDeleteHookParams() *AdminDeleteHookParams
NewAdminDeleteHookParams creates a new AdminDeleteHookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminDeleteHookParamsWithContext ¶
func NewAdminDeleteHookParamsWithContext(ctx context.Context) *AdminDeleteHookParams
NewAdminDeleteHookParamsWithContext creates a new AdminDeleteHookParams object with the ability to set a context for a request.
func NewAdminDeleteHookParamsWithHTTPClient ¶
func NewAdminDeleteHookParamsWithHTTPClient(client *http.Client) *AdminDeleteHookParams
NewAdminDeleteHookParamsWithHTTPClient creates a new AdminDeleteHookParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteHookParamsWithTimeout ¶
func NewAdminDeleteHookParamsWithTimeout(timeout time.Duration) *AdminDeleteHookParams
NewAdminDeleteHookParamsWithTimeout creates a new AdminDeleteHookParams object with the ability to set a timeout on a request.
func (*AdminDeleteHookParams) SetContext ¶
func (o *AdminDeleteHookParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete hook params
func (*AdminDeleteHookParams) SetDefaults ¶
func (o *AdminDeleteHookParams) SetDefaults()
SetDefaults hydrates default values in the admin delete hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteHookParams) SetHTTPClient ¶
func (o *AdminDeleteHookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete hook params
func (*AdminDeleteHookParams) SetID ¶
func (o *AdminDeleteHookParams) SetID(id int64)
SetID adds the id to the admin delete hook params
func (*AdminDeleteHookParams) SetTimeout ¶
func (o *AdminDeleteHookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete hook params
func (*AdminDeleteHookParams) WithContext ¶
func (o *AdminDeleteHookParams) WithContext(ctx context.Context) *AdminDeleteHookParams
WithContext adds the context to the admin delete hook params
func (*AdminDeleteHookParams) WithDefaults ¶
func (o *AdminDeleteHookParams) WithDefaults() *AdminDeleteHookParams
WithDefaults hydrates default values in the admin delete hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteHookParams) WithHTTPClient ¶
func (o *AdminDeleteHookParams) WithHTTPClient(client *http.Client) *AdminDeleteHookParams
WithHTTPClient adds the HTTPClient to the admin delete hook params
func (*AdminDeleteHookParams) WithID ¶
func (o *AdminDeleteHookParams) WithID(id int64) *AdminDeleteHookParams
WithID adds the id to the admin delete hook params
func (*AdminDeleteHookParams) WithTimeout ¶
func (o *AdminDeleteHookParams) WithTimeout(timeout time.Duration) *AdminDeleteHookParams
WithTimeout adds the timeout to the admin delete hook params
func (*AdminDeleteHookParams) WriteToRequest ¶
func (o *AdminDeleteHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteHookReader ¶
type AdminDeleteHookReader struct {
// contains filtered or unexported fields
}
AdminDeleteHookReader is a Reader for the AdminDeleteHook structure.
func (*AdminDeleteHookReader) ReadResponse ¶
func (o *AdminDeleteHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUnadoptedRepositoryForbidden ¶
AdminDeleteUnadoptedRepositoryForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminDeleteUnadoptedRepositoryForbidden ¶
func NewAdminDeleteUnadoptedRepositoryForbidden() *AdminDeleteUnadoptedRepositoryForbidden
NewAdminDeleteUnadoptedRepositoryForbidden creates a AdminDeleteUnadoptedRepositoryForbidden with default headers values
func (*AdminDeleteUnadoptedRepositoryForbidden) Code ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) Code() int
Code gets the status code for the admin delete unadopted repository forbidden response
func (*AdminDeleteUnadoptedRepositoryForbidden) Error ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) Error() string
func (*AdminDeleteUnadoptedRepositoryForbidden) IsClientError ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) IsClientError() bool
IsClientError returns true when this admin delete unadopted repository forbidden response has a 4xx status code
func (*AdminDeleteUnadoptedRepositoryForbidden) IsCode ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) IsCode(code int) bool
IsCode returns true when this admin delete unadopted repository forbidden response a status code equal to that given
func (*AdminDeleteUnadoptedRepositoryForbidden) IsRedirect ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) IsRedirect() bool
IsRedirect returns true when this admin delete unadopted repository forbidden response has a 3xx status code
func (*AdminDeleteUnadoptedRepositoryForbidden) IsServerError ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) IsServerError() bool
IsServerError returns true when this admin delete unadopted repository forbidden response has a 5xx status code
func (*AdminDeleteUnadoptedRepositoryForbidden) IsSuccess ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) IsSuccess() bool
IsSuccess returns true when this admin delete unadopted repository forbidden response has a 2xx status code
func (*AdminDeleteUnadoptedRepositoryForbidden) String ¶
func (o *AdminDeleteUnadoptedRepositoryForbidden) String() string
type AdminDeleteUnadoptedRepositoryNoContent ¶
type AdminDeleteUnadoptedRepositoryNoContent struct {
}
AdminDeleteUnadoptedRepositoryNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminDeleteUnadoptedRepositoryNoContent ¶
func NewAdminDeleteUnadoptedRepositoryNoContent() *AdminDeleteUnadoptedRepositoryNoContent
NewAdminDeleteUnadoptedRepositoryNoContent creates a AdminDeleteUnadoptedRepositoryNoContent with default headers values
func (*AdminDeleteUnadoptedRepositoryNoContent) Code ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) Code() int
Code gets the status code for the admin delete unadopted repository no content response
func (*AdminDeleteUnadoptedRepositoryNoContent) Error ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) Error() string
func (*AdminDeleteUnadoptedRepositoryNoContent) IsClientError ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) IsClientError() bool
IsClientError returns true when this admin delete unadopted repository no content response has a 4xx status code
func (*AdminDeleteUnadoptedRepositoryNoContent) IsCode ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) IsCode(code int) bool
IsCode returns true when this admin delete unadopted repository no content response a status code equal to that given
func (*AdminDeleteUnadoptedRepositoryNoContent) IsRedirect ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) IsRedirect() bool
IsRedirect returns true when this admin delete unadopted repository no content response has a 3xx status code
func (*AdminDeleteUnadoptedRepositoryNoContent) IsServerError ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) IsServerError() bool
IsServerError returns true when this admin delete unadopted repository no content response has a 5xx status code
func (*AdminDeleteUnadoptedRepositoryNoContent) IsSuccess ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) IsSuccess() bool
IsSuccess returns true when this admin delete unadopted repository no content response has a 2xx status code
func (*AdminDeleteUnadoptedRepositoryNoContent) String ¶
func (o *AdminDeleteUnadoptedRepositoryNoContent) String() string
type AdminDeleteUnadoptedRepositoryParams ¶
type AdminDeleteUnadoptedRepositoryParams struct {
/* Owner.
owner of the repo
*/
Owner string
/* Repo.
name of the repo
*/
Repo string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminDeleteUnadoptedRepositoryParams contains all the parameters to send to the API endpoint
for the admin delete unadopted repository operation. Typically these are written to a http.Request.
func NewAdminDeleteUnadoptedRepositoryParams ¶
func NewAdminDeleteUnadoptedRepositoryParams() *AdminDeleteUnadoptedRepositoryParams
NewAdminDeleteUnadoptedRepositoryParams creates a new AdminDeleteUnadoptedRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminDeleteUnadoptedRepositoryParamsWithContext ¶
func NewAdminDeleteUnadoptedRepositoryParamsWithContext(ctx context.Context) *AdminDeleteUnadoptedRepositoryParams
NewAdminDeleteUnadoptedRepositoryParamsWithContext creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a context for a request.
func NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient ¶
func NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient(client *http.Client) *AdminDeleteUnadoptedRepositoryParams
NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteUnadoptedRepositoryParamsWithTimeout ¶
func NewAdminDeleteUnadoptedRepositoryParamsWithTimeout(timeout time.Duration) *AdminDeleteUnadoptedRepositoryParams
NewAdminDeleteUnadoptedRepositoryParamsWithTimeout creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a timeout on a request.
func (*AdminDeleteUnadoptedRepositoryParams) SetContext ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) SetDefaults ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the admin delete unadopted repository params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUnadoptedRepositoryParams) SetHTTPClient ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) SetOwner ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetOwner(owner string)
SetOwner adds the owner to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) SetRepo ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetRepo(repo string)
SetRepo adds the repo to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) SetTimeout ¶
func (o *AdminDeleteUnadoptedRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WithContext ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithContext(ctx context.Context) *AdminDeleteUnadoptedRepositoryParams
WithContext adds the context to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WithDefaults ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithDefaults() *AdminDeleteUnadoptedRepositoryParams
WithDefaults hydrates default values in the admin delete unadopted repository params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUnadoptedRepositoryParams) WithHTTPClient ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithHTTPClient(client *http.Client) *AdminDeleteUnadoptedRepositoryParams
WithHTTPClient adds the HTTPClient to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WithOwner ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithOwner(owner string) *AdminDeleteUnadoptedRepositoryParams
WithOwner adds the owner to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WithRepo ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithRepo(repo string) *AdminDeleteUnadoptedRepositoryParams
WithRepo adds the repo to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WithTimeout ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WithTimeout(timeout time.Duration) *AdminDeleteUnadoptedRepositoryParams
WithTimeout adds the timeout to the admin delete unadopted repository params
func (*AdminDeleteUnadoptedRepositoryParams) WriteToRequest ¶
func (o *AdminDeleteUnadoptedRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUnadoptedRepositoryReader ¶
type AdminDeleteUnadoptedRepositoryReader struct {
// contains filtered or unexported fields
}
AdminDeleteUnadoptedRepositoryReader is a Reader for the AdminDeleteUnadoptedRepository structure.
func (*AdminDeleteUnadoptedRepositoryReader) ReadResponse ¶
func (o *AdminDeleteUnadoptedRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserBadgesForbidden ¶
AdminDeleteUserBadgesForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminDeleteUserBadgesForbidden ¶
func NewAdminDeleteUserBadgesForbidden() *AdminDeleteUserBadgesForbidden
NewAdminDeleteUserBadgesForbidden creates a AdminDeleteUserBadgesForbidden with default headers values
func (*AdminDeleteUserBadgesForbidden) Code ¶
func (o *AdminDeleteUserBadgesForbidden) Code() int
Code gets the status code for the admin delete user badges forbidden response
func (*AdminDeleteUserBadgesForbidden) Error ¶
func (o *AdminDeleteUserBadgesForbidden) Error() string
func (*AdminDeleteUserBadgesForbidden) IsClientError ¶
func (o *AdminDeleteUserBadgesForbidden) IsClientError() bool
IsClientError returns true when this admin delete user badges forbidden response has a 4xx status code
func (*AdminDeleteUserBadgesForbidden) IsCode ¶
func (o *AdminDeleteUserBadgesForbidden) IsCode(code int) bool
IsCode returns true when this admin delete user badges forbidden response a status code equal to that given
func (*AdminDeleteUserBadgesForbidden) IsRedirect ¶
func (o *AdminDeleteUserBadgesForbidden) IsRedirect() bool
IsRedirect returns true when this admin delete user badges forbidden response has a 3xx status code
func (*AdminDeleteUserBadgesForbidden) IsServerError ¶
func (o *AdminDeleteUserBadgesForbidden) IsServerError() bool
IsServerError returns true when this admin delete user badges forbidden response has a 5xx status code
func (*AdminDeleteUserBadgesForbidden) IsSuccess ¶
func (o *AdminDeleteUserBadgesForbidden) IsSuccess() bool
IsSuccess returns true when this admin delete user badges forbidden response has a 2xx status code
func (*AdminDeleteUserBadgesForbidden) String ¶
func (o *AdminDeleteUserBadgesForbidden) String() string
type AdminDeleteUserBadgesNoContent ¶
type AdminDeleteUserBadgesNoContent struct {
}
AdminDeleteUserBadgesNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminDeleteUserBadgesNoContent ¶
func NewAdminDeleteUserBadgesNoContent() *AdminDeleteUserBadgesNoContent
NewAdminDeleteUserBadgesNoContent creates a AdminDeleteUserBadgesNoContent with default headers values
func (*AdminDeleteUserBadgesNoContent) Code ¶
func (o *AdminDeleteUserBadgesNoContent) Code() int
Code gets the status code for the admin delete user badges no content response
func (*AdminDeleteUserBadgesNoContent) Error ¶
func (o *AdminDeleteUserBadgesNoContent) Error() string
func (*AdminDeleteUserBadgesNoContent) IsClientError ¶
func (o *AdminDeleteUserBadgesNoContent) IsClientError() bool
IsClientError returns true when this admin delete user badges no content response has a 4xx status code
func (*AdminDeleteUserBadgesNoContent) IsCode ¶
func (o *AdminDeleteUserBadgesNoContent) IsCode(code int) bool
IsCode returns true when this admin delete user badges no content response a status code equal to that given
func (*AdminDeleteUserBadgesNoContent) IsRedirect ¶
func (o *AdminDeleteUserBadgesNoContent) IsRedirect() bool
IsRedirect returns true when this admin delete user badges no content response has a 3xx status code
func (*AdminDeleteUserBadgesNoContent) IsServerError ¶
func (o *AdminDeleteUserBadgesNoContent) IsServerError() bool
IsServerError returns true when this admin delete user badges no content response has a 5xx status code
func (*AdminDeleteUserBadgesNoContent) IsSuccess ¶
func (o *AdminDeleteUserBadgesNoContent) IsSuccess() bool
IsSuccess returns true when this admin delete user badges no content response has a 2xx status code
func (*AdminDeleteUserBadgesNoContent) String ¶
func (o *AdminDeleteUserBadgesNoContent) String() string
type AdminDeleteUserBadgesParams ¶
type AdminDeleteUserBadgesParams struct {
// Body.
Body *models.UserBadgeOption
/* Username.
username of user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminDeleteUserBadgesParams contains all the parameters to send to the API endpoint
for the admin delete user badges operation. Typically these are written to a http.Request.
func NewAdminDeleteUserBadgesParams ¶
func NewAdminDeleteUserBadgesParams() *AdminDeleteUserBadgesParams
NewAdminDeleteUserBadgesParams creates a new AdminDeleteUserBadgesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminDeleteUserBadgesParamsWithContext ¶
func NewAdminDeleteUserBadgesParamsWithContext(ctx context.Context) *AdminDeleteUserBadgesParams
NewAdminDeleteUserBadgesParamsWithContext creates a new AdminDeleteUserBadgesParams object with the ability to set a context for a request.
func NewAdminDeleteUserBadgesParamsWithHTTPClient ¶
func NewAdminDeleteUserBadgesParamsWithHTTPClient(client *http.Client) *AdminDeleteUserBadgesParams
NewAdminDeleteUserBadgesParamsWithHTTPClient creates a new AdminDeleteUserBadgesParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteUserBadgesParamsWithTimeout ¶
func NewAdminDeleteUserBadgesParamsWithTimeout(timeout time.Duration) *AdminDeleteUserBadgesParams
NewAdminDeleteUserBadgesParamsWithTimeout creates a new AdminDeleteUserBadgesParams object with the ability to set a timeout on a request.
func (*AdminDeleteUserBadgesParams) SetBody ¶
func (o *AdminDeleteUserBadgesParams) SetBody(body *models.UserBadgeOption)
SetBody adds the body to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) SetContext ¶
func (o *AdminDeleteUserBadgesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) SetDefaults ¶
func (o *AdminDeleteUserBadgesParams) SetDefaults()
SetDefaults hydrates default values in the admin delete user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserBadgesParams) SetHTTPClient ¶
func (o *AdminDeleteUserBadgesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) SetTimeout ¶
func (o *AdminDeleteUserBadgesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) SetUsername ¶
func (o *AdminDeleteUserBadgesParams) SetUsername(username string)
SetUsername adds the username to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WithBody ¶
func (o *AdminDeleteUserBadgesParams) WithBody(body *models.UserBadgeOption) *AdminDeleteUserBadgesParams
WithBody adds the body to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WithContext ¶
func (o *AdminDeleteUserBadgesParams) WithContext(ctx context.Context) *AdminDeleteUserBadgesParams
WithContext adds the context to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WithDefaults ¶
func (o *AdminDeleteUserBadgesParams) WithDefaults() *AdminDeleteUserBadgesParams
WithDefaults hydrates default values in the admin delete user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserBadgesParams) WithHTTPClient ¶
func (o *AdminDeleteUserBadgesParams) WithHTTPClient(client *http.Client) *AdminDeleteUserBadgesParams
WithHTTPClient adds the HTTPClient to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WithTimeout ¶
func (o *AdminDeleteUserBadgesParams) WithTimeout(timeout time.Duration) *AdminDeleteUserBadgesParams
WithTimeout adds the timeout to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WithUsername ¶
func (o *AdminDeleteUserBadgesParams) WithUsername(username string) *AdminDeleteUserBadgesParams
WithUsername adds the username to the admin delete user badges params
func (*AdminDeleteUserBadgesParams) WriteToRequest ¶
func (o *AdminDeleteUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUserBadgesReader ¶
type AdminDeleteUserBadgesReader struct {
// contains filtered or unexported fields
}
AdminDeleteUserBadgesReader is a Reader for the AdminDeleteUserBadges structure.
func (*AdminDeleteUserBadgesReader) ReadResponse ¶
func (o *AdminDeleteUserBadgesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserBadgesUnprocessableEntity ¶
AdminDeleteUserBadgesUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminDeleteUserBadgesUnprocessableEntity ¶
func NewAdminDeleteUserBadgesUnprocessableEntity() *AdminDeleteUserBadgesUnprocessableEntity
NewAdminDeleteUserBadgesUnprocessableEntity creates a AdminDeleteUserBadgesUnprocessableEntity with default headers values
func (*AdminDeleteUserBadgesUnprocessableEntity) Code ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) Code() int
Code gets the status code for the admin delete user badges unprocessable entity response
func (*AdminDeleteUserBadgesUnprocessableEntity) Error ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) Error() string
func (*AdminDeleteUserBadgesUnprocessableEntity) IsClientError ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin delete user badges unprocessable entity response has a 4xx status code
func (*AdminDeleteUserBadgesUnprocessableEntity) IsCode ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin delete user badges unprocessable entity response a status code equal to that given
func (*AdminDeleteUserBadgesUnprocessableEntity) IsRedirect ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin delete user badges unprocessable entity response has a 3xx status code
func (*AdminDeleteUserBadgesUnprocessableEntity) IsServerError ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin delete user badges unprocessable entity response has a 5xx status code
func (*AdminDeleteUserBadgesUnprocessableEntity) IsSuccess ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin delete user badges unprocessable entity response has a 2xx status code
func (*AdminDeleteUserBadgesUnprocessableEntity) String ¶
func (o *AdminDeleteUserBadgesUnprocessableEntity) String() string
type AdminDeleteUserForbidden ¶
AdminDeleteUserForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminDeleteUserForbidden ¶
func NewAdminDeleteUserForbidden() *AdminDeleteUserForbidden
NewAdminDeleteUserForbidden creates a AdminDeleteUserForbidden with default headers values
func (*AdminDeleteUserForbidden) Code ¶
func (o *AdminDeleteUserForbidden) Code() int
Code gets the status code for the admin delete user forbidden response
func (*AdminDeleteUserForbidden) Error ¶
func (o *AdminDeleteUserForbidden) Error() string
func (*AdminDeleteUserForbidden) IsClientError ¶
func (o *AdminDeleteUserForbidden) IsClientError() bool
IsClientError returns true when this admin delete user forbidden response has a 4xx status code
func (*AdminDeleteUserForbidden) IsCode ¶
func (o *AdminDeleteUserForbidden) IsCode(code int) bool
IsCode returns true when this admin delete user forbidden response a status code equal to that given
func (*AdminDeleteUserForbidden) IsRedirect ¶
func (o *AdminDeleteUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin delete user forbidden response has a 3xx status code
func (*AdminDeleteUserForbidden) IsServerError ¶
func (o *AdminDeleteUserForbidden) IsServerError() bool
IsServerError returns true when this admin delete user forbidden response has a 5xx status code
func (*AdminDeleteUserForbidden) IsSuccess ¶
func (o *AdminDeleteUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin delete user forbidden response has a 2xx status code
func (*AdminDeleteUserForbidden) String ¶
func (o *AdminDeleteUserForbidden) String() string
type AdminDeleteUserNoContent ¶
type AdminDeleteUserNoContent struct {
}
AdminDeleteUserNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminDeleteUserNoContent ¶
func NewAdminDeleteUserNoContent() *AdminDeleteUserNoContent
NewAdminDeleteUserNoContent creates a AdminDeleteUserNoContent with default headers values
func (*AdminDeleteUserNoContent) Code ¶
func (o *AdminDeleteUserNoContent) Code() int
Code gets the status code for the admin delete user no content response
func (*AdminDeleteUserNoContent) Error ¶
func (o *AdminDeleteUserNoContent) Error() string
func (*AdminDeleteUserNoContent) IsClientError ¶
func (o *AdminDeleteUserNoContent) IsClientError() bool
IsClientError returns true when this admin delete user no content response has a 4xx status code
func (*AdminDeleteUserNoContent) IsCode ¶
func (o *AdminDeleteUserNoContent) IsCode(code int) bool
IsCode returns true when this admin delete user no content response a status code equal to that given
func (*AdminDeleteUserNoContent) IsRedirect ¶
func (o *AdminDeleteUserNoContent) IsRedirect() bool
IsRedirect returns true when this admin delete user no content response has a 3xx status code
func (*AdminDeleteUserNoContent) IsServerError ¶
func (o *AdminDeleteUserNoContent) IsServerError() bool
IsServerError returns true when this admin delete user no content response has a 5xx status code
func (*AdminDeleteUserNoContent) IsSuccess ¶
func (o *AdminDeleteUserNoContent) IsSuccess() bool
IsSuccess returns true when this admin delete user no content response has a 2xx status code
func (*AdminDeleteUserNoContent) String ¶
func (o *AdminDeleteUserNoContent) String() string
type AdminDeleteUserNotFound ¶
type AdminDeleteUserNotFound struct {
}
AdminDeleteUserNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminDeleteUserNotFound ¶
func NewAdminDeleteUserNotFound() *AdminDeleteUserNotFound
NewAdminDeleteUserNotFound creates a AdminDeleteUserNotFound with default headers values
func (*AdminDeleteUserNotFound) Code ¶
func (o *AdminDeleteUserNotFound) Code() int
Code gets the status code for the admin delete user not found response
func (*AdminDeleteUserNotFound) Error ¶
func (o *AdminDeleteUserNotFound) Error() string
func (*AdminDeleteUserNotFound) IsClientError ¶
func (o *AdminDeleteUserNotFound) IsClientError() bool
IsClientError returns true when this admin delete user not found response has a 4xx status code
func (*AdminDeleteUserNotFound) IsCode ¶
func (o *AdminDeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this admin delete user not found response a status code equal to that given
func (*AdminDeleteUserNotFound) IsRedirect ¶
func (o *AdminDeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this admin delete user not found response has a 3xx status code
func (*AdminDeleteUserNotFound) IsServerError ¶
func (o *AdminDeleteUserNotFound) IsServerError() bool
IsServerError returns true when this admin delete user not found response has a 5xx status code
func (*AdminDeleteUserNotFound) IsSuccess ¶
func (o *AdminDeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this admin delete user not found response has a 2xx status code
func (*AdminDeleteUserNotFound) String ¶
func (o *AdminDeleteUserNotFound) String() string
type AdminDeleteUserParams ¶
type AdminDeleteUserParams struct {
/* Purge.
purge the user from the system completely
*/
Purge *bool
/* Username.
username of user to delete
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminDeleteUserParams contains all the parameters to send to the API endpoint
for the admin delete user operation. Typically these are written to a http.Request.
func NewAdminDeleteUserParams ¶
func NewAdminDeleteUserParams() *AdminDeleteUserParams
NewAdminDeleteUserParams creates a new AdminDeleteUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminDeleteUserParamsWithContext ¶
func NewAdminDeleteUserParamsWithContext(ctx context.Context) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithContext creates a new AdminDeleteUserParams object with the ability to set a context for a request.
func NewAdminDeleteUserParamsWithHTTPClient ¶
func NewAdminDeleteUserParamsWithHTTPClient(client *http.Client) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithHTTPClient creates a new AdminDeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteUserParamsWithTimeout ¶
func NewAdminDeleteUserParamsWithTimeout(timeout time.Duration) *AdminDeleteUserParams
NewAdminDeleteUserParamsWithTimeout creates a new AdminDeleteUserParams object with the ability to set a timeout on a request.
func (*AdminDeleteUserParams) SetContext ¶
func (o *AdminDeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete user params
func (*AdminDeleteUserParams) SetDefaults ¶
func (o *AdminDeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the admin delete user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserParams) SetHTTPClient ¶
func (o *AdminDeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete user params
func (*AdminDeleteUserParams) SetPurge ¶
func (o *AdminDeleteUserParams) SetPurge(purge *bool)
SetPurge adds the purge to the admin delete user params
func (*AdminDeleteUserParams) SetTimeout ¶
func (o *AdminDeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete user params
func (*AdminDeleteUserParams) SetUsername ¶
func (o *AdminDeleteUserParams) SetUsername(username string)
SetUsername adds the username to the admin delete user params
func (*AdminDeleteUserParams) WithContext ¶
func (o *AdminDeleteUserParams) WithContext(ctx context.Context) *AdminDeleteUserParams
WithContext adds the context to the admin delete user params
func (*AdminDeleteUserParams) WithDefaults ¶
func (o *AdminDeleteUserParams) WithDefaults() *AdminDeleteUserParams
WithDefaults hydrates default values in the admin delete user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserParams) WithHTTPClient ¶
func (o *AdminDeleteUserParams) WithHTTPClient(client *http.Client) *AdminDeleteUserParams
WithHTTPClient adds the HTTPClient to the admin delete user params
func (*AdminDeleteUserParams) WithPurge ¶
func (o *AdminDeleteUserParams) WithPurge(purge *bool) *AdminDeleteUserParams
WithPurge adds the purge to the admin delete user params
func (*AdminDeleteUserParams) WithTimeout ¶
func (o *AdminDeleteUserParams) WithTimeout(timeout time.Duration) *AdminDeleteUserParams
WithTimeout adds the timeout to the admin delete user params
func (*AdminDeleteUserParams) WithUsername ¶
func (o *AdminDeleteUserParams) WithUsername(username string) *AdminDeleteUserParams
WithUsername adds the username to the admin delete user params
func (*AdminDeleteUserParams) WriteToRequest ¶
func (o *AdminDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUserPublicKeyForbidden ¶
AdminDeleteUserPublicKeyForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminDeleteUserPublicKeyForbidden ¶
func NewAdminDeleteUserPublicKeyForbidden() *AdminDeleteUserPublicKeyForbidden
NewAdminDeleteUserPublicKeyForbidden creates a AdminDeleteUserPublicKeyForbidden with default headers values
func (*AdminDeleteUserPublicKeyForbidden) Code ¶
func (o *AdminDeleteUserPublicKeyForbidden) Code() int
Code gets the status code for the admin delete user public key forbidden response
func (*AdminDeleteUserPublicKeyForbidden) Error ¶
func (o *AdminDeleteUserPublicKeyForbidden) Error() string
func (*AdminDeleteUserPublicKeyForbidden) IsClientError ¶
func (o *AdminDeleteUserPublicKeyForbidden) IsClientError() bool
IsClientError returns true when this admin delete user public key forbidden response has a 4xx status code
func (*AdminDeleteUserPublicKeyForbidden) IsCode ¶
func (o *AdminDeleteUserPublicKeyForbidden) IsCode(code int) bool
IsCode returns true when this admin delete user public key forbidden response a status code equal to that given
func (*AdminDeleteUserPublicKeyForbidden) IsRedirect ¶
func (o *AdminDeleteUserPublicKeyForbidden) IsRedirect() bool
IsRedirect returns true when this admin delete user public key forbidden response has a 3xx status code
func (*AdminDeleteUserPublicKeyForbidden) IsServerError ¶
func (o *AdminDeleteUserPublicKeyForbidden) IsServerError() bool
IsServerError returns true when this admin delete user public key forbidden response has a 5xx status code
func (*AdminDeleteUserPublicKeyForbidden) IsSuccess ¶
func (o *AdminDeleteUserPublicKeyForbidden) IsSuccess() bool
IsSuccess returns true when this admin delete user public key forbidden response has a 2xx status code
func (*AdminDeleteUserPublicKeyForbidden) String ¶
func (o *AdminDeleteUserPublicKeyForbidden) String() string
type AdminDeleteUserPublicKeyNoContent ¶
type AdminDeleteUserPublicKeyNoContent struct {
}
AdminDeleteUserPublicKeyNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminDeleteUserPublicKeyNoContent ¶
func NewAdminDeleteUserPublicKeyNoContent() *AdminDeleteUserPublicKeyNoContent
NewAdminDeleteUserPublicKeyNoContent creates a AdminDeleteUserPublicKeyNoContent with default headers values
func (*AdminDeleteUserPublicKeyNoContent) Code ¶
func (o *AdminDeleteUserPublicKeyNoContent) Code() int
Code gets the status code for the admin delete user public key no content response
func (*AdminDeleteUserPublicKeyNoContent) Error ¶
func (o *AdminDeleteUserPublicKeyNoContent) Error() string
func (*AdminDeleteUserPublicKeyNoContent) IsClientError ¶
func (o *AdminDeleteUserPublicKeyNoContent) IsClientError() bool
IsClientError returns true when this admin delete user public key no content response has a 4xx status code
func (*AdminDeleteUserPublicKeyNoContent) IsCode ¶
func (o *AdminDeleteUserPublicKeyNoContent) IsCode(code int) bool
IsCode returns true when this admin delete user public key no content response a status code equal to that given
func (*AdminDeleteUserPublicKeyNoContent) IsRedirect ¶
func (o *AdminDeleteUserPublicKeyNoContent) IsRedirect() bool
IsRedirect returns true when this admin delete user public key no content response has a 3xx status code
func (*AdminDeleteUserPublicKeyNoContent) IsServerError ¶
func (o *AdminDeleteUserPublicKeyNoContent) IsServerError() bool
IsServerError returns true when this admin delete user public key no content response has a 5xx status code
func (*AdminDeleteUserPublicKeyNoContent) IsSuccess ¶
func (o *AdminDeleteUserPublicKeyNoContent) IsSuccess() bool
IsSuccess returns true when this admin delete user public key no content response has a 2xx status code
func (*AdminDeleteUserPublicKeyNoContent) String ¶
func (o *AdminDeleteUserPublicKeyNoContent) String() string
type AdminDeleteUserPublicKeyNotFound ¶
type AdminDeleteUserPublicKeyNotFound struct {
}
AdminDeleteUserPublicKeyNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminDeleteUserPublicKeyNotFound ¶
func NewAdminDeleteUserPublicKeyNotFound() *AdminDeleteUserPublicKeyNotFound
NewAdminDeleteUserPublicKeyNotFound creates a AdminDeleteUserPublicKeyNotFound with default headers values
func (*AdminDeleteUserPublicKeyNotFound) Code ¶
func (o *AdminDeleteUserPublicKeyNotFound) Code() int
Code gets the status code for the admin delete user public key not found response
func (*AdminDeleteUserPublicKeyNotFound) Error ¶
func (o *AdminDeleteUserPublicKeyNotFound) Error() string
func (*AdminDeleteUserPublicKeyNotFound) IsClientError ¶
func (o *AdminDeleteUserPublicKeyNotFound) IsClientError() bool
IsClientError returns true when this admin delete user public key not found response has a 4xx status code
func (*AdminDeleteUserPublicKeyNotFound) IsCode ¶
func (o *AdminDeleteUserPublicKeyNotFound) IsCode(code int) bool
IsCode returns true when this admin delete user public key not found response a status code equal to that given
func (*AdminDeleteUserPublicKeyNotFound) IsRedirect ¶
func (o *AdminDeleteUserPublicKeyNotFound) IsRedirect() bool
IsRedirect returns true when this admin delete user public key not found response has a 3xx status code
func (*AdminDeleteUserPublicKeyNotFound) IsServerError ¶
func (o *AdminDeleteUserPublicKeyNotFound) IsServerError() bool
IsServerError returns true when this admin delete user public key not found response has a 5xx status code
func (*AdminDeleteUserPublicKeyNotFound) IsSuccess ¶
func (o *AdminDeleteUserPublicKeyNotFound) IsSuccess() bool
IsSuccess returns true when this admin delete user public key not found response has a 2xx status code
func (*AdminDeleteUserPublicKeyNotFound) String ¶
func (o *AdminDeleteUserPublicKeyNotFound) String() string
type AdminDeleteUserPublicKeyParams ¶
type AdminDeleteUserPublicKeyParams struct {
/* ID.
id of the key to delete
Format: int64
*/
ID int64
/* Username.
username of user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminDeleteUserPublicKeyParams contains all the parameters to send to the API endpoint
for the admin delete user public key operation. Typically these are written to a http.Request.
func NewAdminDeleteUserPublicKeyParams ¶
func NewAdminDeleteUserPublicKeyParams() *AdminDeleteUserPublicKeyParams
NewAdminDeleteUserPublicKeyParams creates a new AdminDeleteUserPublicKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminDeleteUserPublicKeyParamsWithContext ¶
func NewAdminDeleteUserPublicKeyParamsWithContext(ctx context.Context) *AdminDeleteUserPublicKeyParams
NewAdminDeleteUserPublicKeyParamsWithContext creates a new AdminDeleteUserPublicKeyParams object with the ability to set a context for a request.
func NewAdminDeleteUserPublicKeyParamsWithHTTPClient ¶
func NewAdminDeleteUserPublicKeyParamsWithHTTPClient(client *http.Client) *AdminDeleteUserPublicKeyParams
NewAdminDeleteUserPublicKeyParamsWithHTTPClient creates a new AdminDeleteUserPublicKeyParams object with the ability to set a custom HTTPClient for a request.
func NewAdminDeleteUserPublicKeyParamsWithTimeout ¶
func NewAdminDeleteUserPublicKeyParamsWithTimeout(timeout time.Duration) *AdminDeleteUserPublicKeyParams
NewAdminDeleteUserPublicKeyParamsWithTimeout creates a new AdminDeleteUserPublicKeyParams object with the ability to set a timeout on a request.
func (*AdminDeleteUserPublicKeyParams) SetContext ¶
func (o *AdminDeleteUserPublicKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) SetDefaults ¶
func (o *AdminDeleteUserPublicKeyParams) SetDefaults()
SetDefaults hydrates default values in the admin delete user public key params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserPublicKeyParams) SetHTTPClient ¶
func (o *AdminDeleteUserPublicKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) SetID ¶
func (o *AdminDeleteUserPublicKeyParams) SetID(id int64)
SetID adds the id to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) SetTimeout ¶
func (o *AdminDeleteUserPublicKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) SetUsername ¶
func (o *AdminDeleteUserPublicKeyParams) SetUsername(username string)
SetUsername adds the username to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WithContext ¶
func (o *AdminDeleteUserPublicKeyParams) WithContext(ctx context.Context) *AdminDeleteUserPublicKeyParams
WithContext adds the context to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WithDefaults ¶
func (o *AdminDeleteUserPublicKeyParams) WithDefaults() *AdminDeleteUserPublicKeyParams
WithDefaults hydrates default values in the admin delete user public key params (not the query body).
All values with no default are reset to their zero value.
func (*AdminDeleteUserPublicKeyParams) WithHTTPClient ¶
func (o *AdminDeleteUserPublicKeyParams) WithHTTPClient(client *http.Client) *AdminDeleteUserPublicKeyParams
WithHTTPClient adds the HTTPClient to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WithID ¶
func (o *AdminDeleteUserPublicKeyParams) WithID(id int64) *AdminDeleteUserPublicKeyParams
WithID adds the id to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WithTimeout ¶
func (o *AdminDeleteUserPublicKeyParams) WithTimeout(timeout time.Duration) *AdminDeleteUserPublicKeyParams
WithTimeout adds the timeout to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WithUsername ¶
func (o *AdminDeleteUserPublicKeyParams) WithUsername(username string) *AdminDeleteUserPublicKeyParams
WithUsername adds the username to the admin delete user public key params
func (*AdminDeleteUserPublicKeyParams) WriteToRequest ¶
func (o *AdminDeleteUserPublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUserPublicKeyReader ¶
type AdminDeleteUserPublicKeyReader struct {
// contains filtered or unexported fields
}
AdminDeleteUserPublicKeyReader is a Reader for the AdminDeleteUserPublicKey structure.
func (*AdminDeleteUserPublicKeyReader) ReadResponse ¶
func (o *AdminDeleteUserPublicKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserReader ¶
type AdminDeleteUserReader struct {
// contains filtered or unexported fields
}
AdminDeleteUserReader is a Reader for the AdminDeleteUser structure.
func (*AdminDeleteUserReader) ReadResponse ¶
func (o *AdminDeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserUnprocessableEntity ¶
AdminDeleteUserUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminDeleteUserUnprocessableEntity ¶
func NewAdminDeleteUserUnprocessableEntity() *AdminDeleteUserUnprocessableEntity
NewAdminDeleteUserUnprocessableEntity creates a AdminDeleteUserUnprocessableEntity with default headers values
func (*AdminDeleteUserUnprocessableEntity) Code ¶
func (o *AdminDeleteUserUnprocessableEntity) Code() int
Code gets the status code for the admin delete user unprocessable entity response
func (*AdminDeleteUserUnprocessableEntity) Error ¶
func (o *AdminDeleteUserUnprocessableEntity) Error() string
func (*AdminDeleteUserUnprocessableEntity) IsClientError ¶
func (o *AdminDeleteUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin delete user unprocessable entity response has a 4xx status code
func (*AdminDeleteUserUnprocessableEntity) IsCode ¶
func (o *AdminDeleteUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin delete user unprocessable entity response a status code equal to that given
func (*AdminDeleteUserUnprocessableEntity) IsRedirect ¶
func (o *AdminDeleteUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin delete user unprocessable entity response has a 3xx status code
func (*AdminDeleteUserUnprocessableEntity) IsServerError ¶
func (o *AdminDeleteUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin delete user unprocessable entity response has a 5xx status code
func (*AdminDeleteUserUnprocessableEntity) IsSuccess ¶
func (o *AdminDeleteUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin delete user unprocessable entity response has a 2xx status code
func (*AdminDeleteUserUnprocessableEntity) String ¶
func (o *AdminDeleteUserUnprocessableEntity) String() string
type AdminEditHookOK ¶
AdminEditHookOK describes a response with status code 200, with default header values.
Hook
func NewAdminEditHookOK ¶
func NewAdminEditHookOK() *AdminEditHookOK
NewAdminEditHookOK creates a AdminEditHookOK with default headers values
func (*AdminEditHookOK) Code ¶
func (o *AdminEditHookOK) Code() int
Code gets the status code for the admin edit hook o k response
func (*AdminEditHookOK) Error ¶
func (o *AdminEditHookOK) Error() string
func (*AdminEditHookOK) GetPayload ¶
func (o *AdminEditHookOK) GetPayload() *models.Hook
func (*AdminEditHookOK) IsClientError ¶
func (o *AdminEditHookOK) IsClientError() bool
IsClientError returns true when this admin edit hook o k response has a 4xx status code
func (*AdminEditHookOK) IsCode ¶
func (o *AdminEditHookOK) IsCode(code int) bool
IsCode returns true when this admin edit hook o k response a status code equal to that given
func (*AdminEditHookOK) IsRedirect ¶
func (o *AdminEditHookOK) IsRedirect() bool
IsRedirect returns true when this admin edit hook o k response has a 3xx status code
func (*AdminEditHookOK) IsServerError ¶
func (o *AdminEditHookOK) IsServerError() bool
IsServerError returns true when this admin edit hook o k response has a 5xx status code
func (*AdminEditHookOK) IsSuccess ¶
func (o *AdminEditHookOK) IsSuccess() bool
IsSuccess returns true when this admin edit hook o k response has a 2xx status code
func (*AdminEditHookOK) String ¶
func (o *AdminEditHookOK) String() string
type AdminEditHookParams ¶
type AdminEditHookParams struct {
// Body.
Body *models.EditHookOption
/* ID.
id of the hook to update
Format: int64
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminEditHookParams contains all the parameters to send to the API endpoint
for the admin edit hook operation. Typically these are written to a http.Request.
func NewAdminEditHookParams ¶
func NewAdminEditHookParams() *AdminEditHookParams
NewAdminEditHookParams creates a new AdminEditHookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminEditHookParamsWithContext ¶
func NewAdminEditHookParamsWithContext(ctx context.Context) *AdminEditHookParams
NewAdminEditHookParamsWithContext creates a new AdminEditHookParams object with the ability to set a context for a request.
func NewAdminEditHookParamsWithHTTPClient ¶
func NewAdminEditHookParamsWithHTTPClient(client *http.Client) *AdminEditHookParams
NewAdminEditHookParamsWithHTTPClient creates a new AdminEditHookParams object with the ability to set a custom HTTPClient for a request.
func NewAdminEditHookParamsWithTimeout ¶
func NewAdminEditHookParamsWithTimeout(timeout time.Duration) *AdminEditHookParams
NewAdminEditHookParamsWithTimeout creates a new AdminEditHookParams object with the ability to set a timeout on a request.
func (*AdminEditHookParams) SetBody ¶
func (o *AdminEditHookParams) SetBody(body *models.EditHookOption)
SetBody adds the body to the admin edit hook params
func (*AdminEditHookParams) SetContext ¶
func (o *AdminEditHookParams) SetContext(ctx context.Context)
SetContext adds the context to the admin edit hook params
func (*AdminEditHookParams) SetDefaults ¶
func (o *AdminEditHookParams) SetDefaults()
SetDefaults hydrates default values in the admin edit hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEditHookParams) SetHTTPClient ¶
func (o *AdminEditHookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin edit hook params
func (*AdminEditHookParams) SetID ¶
func (o *AdminEditHookParams) SetID(id int64)
SetID adds the id to the admin edit hook params
func (*AdminEditHookParams) SetTimeout ¶
func (o *AdminEditHookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin edit hook params
func (*AdminEditHookParams) WithBody ¶
func (o *AdminEditHookParams) WithBody(body *models.EditHookOption) *AdminEditHookParams
WithBody adds the body to the admin edit hook params
func (*AdminEditHookParams) WithContext ¶
func (o *AdminEditHookParams) WithContext(ctx context.Context) *AdminEditHookParams
WithContext adds the context to the admin edit hook params
func (*AdminEditHookParams) WithDefaults ¶
func (o *AdminEditHookParams) WithDefaults() *AdminEditHookParams
WithDefaults hydrates default values in the admin edit hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEditHookParams) WithHTTPClient ¶
func (o *AdminEditHookParams) WithHTTPClient(client *http.Client) *AdminEditHookParams
WithHTTPClient adds the HTTPClient to the admin edit hook params
func (*AdminEditHookParams) WithID ¶
func (o *AdminEditHookParams) WithID(id int64) *AdminEditHookParams
WithID adds the id to the admin edit hook params
func (*AdminEditHookParams) WithTimeout ¶
func (o *AdminEditHookParams) WithTimeout(timeout time.Duration) *AdminEditHookParams
WithTimeout adds the timeout to the admin edit hook params
func (*AdminEditHookParams) WriteToRequest ¶
func (o *AdminEditHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminEditHookReader ¶
type AdminEditHookReader struct {
// contains filtered or unexported fields
}
AdminEditHookReader is a Reader for the AdminEditHook structure.
func (*AdminEditHookReader) ReadResponse ¶
func (o *AdminEditHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminEditUserBadRequest ¶
AdminEditUserBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewAdminEditUserBadRequest ¶
func NewAdminEditUserBadRequest() *AdminEditUserBadRequest
NewAdminEditUserBadRequest creates a AdminEditUserBadRequest with default headers values
func (*AdminEditUserBadRequest) Code ¶
func (o *AdminEditUserBadRequest) Code() int
Code gets the status code for the admin edit user bad request response
func (*AdminEditUserBadRequest) Error ¶
func (o *AdminEditUserBadRequest) Error() string
func (*AdminEditUserBadRequest) IsClientError ¶
func (o *AdminEditUserBadRequest) IsClientError() bool
IsClientError returns true when this admin edit user bad request response has a 4xx status code
func (*AdminEditUserBadRequest) IsCode ¶
func (o *AdminEditUserBadRequest) IsCode(code int) bool
IsCode returns true when this admin edit user bad request response a status code equal to that given
func (*AdminEditUserBadRequest) IsRedirect ¶
func (o *AdminEditUserBadRequest) IsRedirect() bool
IsRedirect returns true when this admin edit user bad request response has a 3xx status code
func (*AdminEditUserBadRequest) IsServerError ¶
func (o *AdminEditUserBadRequest) IsServerError() bool
IsServerError returns true when this admin edit user bad request response has a 5xx status code
func (*AdminEditUserBadRequest) IsSuccess ¶
func (o *AdminEditUserBadRequest) IsSuccess() bool
IsSuccess returns true when this admin edit user bad request response has a 2xx status code
func (*AdminEditUserBadRequest) String ¶
func (o *AdminEditUserBadRequest) String() string
type AdminEditUserForbidden ¶
AdminEditUserForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminEditUserForbidden ¶
func NewAdminEditUserForbidden() *AdminEditUserForbidden
NewAdminEditUserForbidden creates a AdminEditUserForbidden with default headers values
func (*AdminEditUserForbidden) Code ¶
func (o *AdminEditUserForbidden) Code() int
Code gets the status code for the admin edit user forbidden response
func (*AdminEditUserForbidden) Error ¶
func (o *AdminEditUserForbidden) Error() string
func (*AdminEditUserForbidden) IsClientError ¶
func (o *AdminEditUserForbidden) IsClientError() bool
IsClientError returns true when this admin edit user forbidden response has a 4xx status code
func (*AdminEditUserForbidden) IsCode ¶
func (o *AdminEditUserForbidden) IsCode(code int) bool
IsCode returns true when this admin edit user forbidden response a status code equal to that given
func (*AdminEditUserForbidden) IsRedirect ¶
func (o *AdminEditUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin edit user forbidden response has a 3xx status code
func (*AdminEditUserForbidden) IsServerError ¶
func (o *AdminEditUserForbidden) IsServerError() bool
IsServerError returns true when this admin edit user forbidden response has a 5xx status code
func (*AdminEditUserForbidden) IsSuccess ¶
func (o *AdminEditUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin edit user forbidden response has a 2xx status code
func (*AdminEditUserForbidden) String ¶
func (o *AdminEditUserForbidden) String() string
type AdminEditUserOK ¶
AdminEditUserOK describes a response with status code 200, with default header values.
User
func NewAdminEditUserOK ¶
func NewAdminEditUserOK() *AdminEditUserOK
NewAdminEditUserOK creates a AdminEditUserOK with default headers values
func (*AdminEditUserOK) Code ¶
func (o *AdminEditUserOK) Code() int
Code gets the status code for the admin edit user o k response
func (*AdminEditUserOK) Error ¶
func (o *AdminEditUserOK) Error() string
func (*AdminEditUserOK) GetPayload ¶
func (o *AdminEditUserOK) GetPayload() *models.User
func (*AdminEditUserOK) IsClientError ¶
func (o *AdminEditUserOK) IsClientError() bool
IsClientError returns true when this admin edit user o k response has a 4xx status code
func (*AdminEditUserOK) IsCode ¶
func (o *AdminEditUserOK) IsCode(code int) bool
IsCode returns true when this admin edit user o k response a status code equal to that given
func (*AdminEditUserOK) IsRedirect ¶
func (o *AdminEditUserOK) IsRedirect() bool
IsRedirect returns true when this admin edit user o k response has a 3xx status code
func (*AdminEditUserOK) IsServerError ¶
func (o *AdminEditUserOK) IsServerError() bool
IsServerError returns true when this admin edit user o k response has a 5xx status code
func (*AdminEditUserOK) IsSuccess ¶
func (o *AdminEditUserOK) IsSuccess() bool
IsSuccess returns true when this admin edit user o k response has a 2xx status code
func (*AdminEditUserOK) String ¶
func (o *AdminEditUserOK) String() string
type AdminEditUserParams ¶
type AdminEditUserParams struct {
// Body.
Body *models.EditUserOption
/* Username.
username of user to edit
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminEditUserParams contains all the parameters to send to the API endpoint
for the admin edit user operation. Typically these are written to a http.Request.
func NewAdminEditUserParams ¶
func NewAdminEditUserParams() *AdminEditUserParams
NewAdminEditUserParams creates a new AdminEditUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminEditUserParamsWithContext ¶
func NewAdminEditUserParamsWithContext(ctx context.Context) *AdminEditUserParams
NewAdminEditUserParamsWithContext creates a new AdminEditUserParams object with the ability to set a context for a request.
func NewAdminEditUserParamsWithHTTPClient ¶
func NewAdminEditUserParamsWithHTTPClient(client *http.Client) *AdminEditUserParams
NewAdminEditUserParamsWithHTTPClient creates a new AdminEditUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminEditUserParamsWithTimeout ¶
func NewAdminEditUserParamsWithTimeout(timeout time.Duration) *AdminEditUserParams
NewAdminEditUserParamsWithTimeout creates a new AdminEditUserParams object with the ability to set a timeout on a request.
func (*AdminEditUserParams) SetBody ¶
func (o *AdminEditUserParams) SetBody(body *models.EditUserOption)
SetBody adds the body to the admin edit user params
func (*AdminEditUserParams) SetContext ¶
func (o *AdminEditUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin edit user params
func (*AdminEditUserParams) SetDefaults ¶
func (o *AdminEditUserParams) SetDefaults()
SetDefaults hydrates default values in the admin edit user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEditUserParams) SetHTTPClient ¶
func (o *AdminEditUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin edit user params
func (*AdminEditUserParams) SetTimeout ¶
func (o *AdminEditUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin edit user params
func (*AdminEditUserParams) SetUsername ¶
func (o *AdminEditUserParams) SetUsername(username string)
SetUsername adds the username to the admin edit user params
func (*AdminEditUserParams) WithBody ¶
func (o *AdminEditUserParams) WithBody(body *models.EditUserOption) *AdminEditUserParams
WithBody adds the body to the admin edit user params
func (*AdminEditUserParams) WithContext ¶
func (o *AdminEditUserParams) WithContext(ctx context.Context) *AdminEditUserParams
WithContext adds the context to the admin edit user params
func (*AdminEditUserParams) WithDefaults ¶
func (o *AdminEditUserParams) WithDefaults() *AdminEditUserParams
WithDefaults hydrates default values in the admin edit user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminEditUserParams) WithHTTPClient ¶
func (o *AdminEditUserParams) WithHTTPClient(client *http.Client) *AdminEditUserParams
WithHTTPClient adds the HTTPClient to the admin edit user params
func (*AdminEditUserParams) WithTimeout ¶
func (o *AdminEditUserParams) WithTimeout(timeout time.Duration) *AdminEditUserParams
WithTimeout adds the timeout to the admin edit user params
func (*AdminEditUserParams) WithUsername ¶
func (o *AdminEditUserParams) WithUsername(username string) *AdminEditUserParams
WithUsername adds the username to the admin edit user params
func (*AdminEditUserParams) WriteToRequest ¶
func (o *AdminEditUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminEditUserReader ¶
type AdminEditUserReader struct {
// contains filtered or unexported fields
}
AdminEditUserReader is a Reader for the AdminEditUser structure.
func (*AdminEditUserReader) ReadResponse ¶
func (o *AdminEditUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminEditUserUnprocessableEntity ¶
AdminEditUserUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminEditUserUnprocessableEntity ¶
func NewAdminEditUserUnprocessableEntity() *AdminEditUserUnprocessableEntity
NewAdminEditUserUnprocessableEntity creates a AdminEditUserUnprocessableEntity with default headers values
func (*AdminEditUserUnprocessableEntity) Code ¶
func (o *AdminEditUserUnprocessableEntity) Code() int
Code gets the status code for the admin edit user unprocessable entity response
func (*AdminEditUserUnprocessableEntity) Error ¶
func (o *AdminEditUserUnprocessableEntity) Error() string
func (*AdminEditUserUnprocessableEntity) IsClientError ¶
func (o *AdminEditUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin edit user unprocessable entity response has a 4xx status code
func (*AdminEditUserUnprocessableEntity) IsCode ¶
func (o *AdminEditUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin edit user unprocessable entity response a status code equal to that given
func (*AdminEditUserUnprocessableEntity) IsRedirect ¶
func (o *AdminEditUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin edit user unprocessable entity response has a 3xx status code
func (*AdminEditUserUnprocessableEntity) IsServerError ¶
func (o *AdminEditUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin edit user unprocessable entity response has a 5xx status code
func (*AdminEditUserUnprocessableEntity) IsSuccess ¶
func (o *AdminEditUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin edit user unprocessable entity response has a 2xx status code
func (*AdminEditUserUnprocessableEntity) String ¶
func (o *AdminEditUserUnprocessableEntity) String() string
type AdminGetAllEmailsForbidden ¶
AdminGetAllEmailsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminGetAllEmailsForbidden ¶
func NewAdminGetAllEmailsForbidden() *AdminGetAllEmailsForbidden
NewAdminGetAllEmailsForbidden creates a AdminGetAllEmailsForbidden with default headers values
func (*AdminGetAllEmailsForbidden) Code ¶
func (o *AdminGetAllEmailsForbidden) Code() int
Code gets the status code for the admin get all emails forbidden response
func (*AdminGetAllEmailsForbidden) Error ¶
func (o *AdminGetAllEmailsForbidden) Error() string
func (*AdminGetAllEmailsForbidden) IsClientError ¶
func (o *AdminGetAllEmailsForbidden) IsClientError() bool
IsClientError returns true when this admin get all emails forbidden response has a 4xx status code
func (*AdminGetAllEmailsForbidden) IsCode ¶
func (o *AdminGetAllEmailsForbidden) IsCode(code int) bool
IsCode returns true when this admin get all emails forbidden response a status code equal to that given
func (*AdminGetAllEmailsForbidden) IsRedirect ¶
func (o *AdminGetAllEmailsForbidden) IsRedirect() bool
IsRedirect returns true when this admin get all emails forbidden response has a 3xx status code
func (*AdminGetAllEmailsForbidden) IsServerError ¶
func (o *AdminGetAllEmailsForbidden) IsServerError() bool
IsServerError returns true when this admin get all emails forbidden response has a 5xx status code
func (*AdminGetAllEmailsForbidden) IsSuccess ¶
func (o *AdminGetAllEmailsForbidden) IsSuccess() bool
IsSuccess returns true when this admin get all emails forbidden response has a 2xx status code
func (*AdminGetAllEmailsForbidden) String ¶
func (o *AdminGetAllEmailsForbidden) String() string
type AdminGetAllEmailsOK ¶
AdminGetAllEmailsOK describes a response with status code 200, with default header values.
EmailList
func NewAdminGetAllEmailsOK ¶
func NewAdminGetAllEmailsOK() *AdminGetAllEmailsOK
NewAdminGetAllEmailsOK creates a AdminGetAllEmailsOK with default headers values
func (*AdminGetAllEmailsOK) Code ¶
func (o *AdminGetAllEmailsOK) Code() int
Code gets the status code for the admin get all emails o k response
func (*AdminGetAllEmailsOK) Error ¶
func (o *AdminGetAllEmailsOK) Error() string
func (*AdminGetAllEmailsOK) GetPayload ¶
func (o *AdminGetAllEmailsOK) GetPayload() []*models.Email
func (*AdminGetAllEmailsOK) IsClientError ¶
func (o *AdminGetAllEmailsOK) IsClientError() bool
IsClientError returns true when this admin get all emails o k response has a 4xx status code
func (*AdminGetAllEmailsOK) IsCode ¶
func (o *AdminGetAllEmailsOK) IsCode(code int) bool
IsCode returns true when this admin get all emails o k response a status code equal to that given
func (*AdminGetAllEmailsOK) IsRedirect ¶
func (o *AdminGetAllEmailsOK) IsRedirect() bool
IsRedirect returns true when this admin get all emails o k response has a 3xx status code
func (*AdminGetAllEmailsOK) IsServerError ¶
func (o *AdminGetAllEmailsOK) IsServerError() bool
IsServerError returns true when this admin get all emails o k response has a 5xx status code
func (*AdminGetAllEmailsOK) IsSuccess ¶
func (o *AdminGetAllEmailsOK) IsSuccess() bool
IsSuccess returns true when this admin get all emails o k response has a 2xx status code
func (*AdminGetAllEmailsOK) String ¶
func (o *AdminGetAllEmailsOK) String() string
type AdminGetAllEmailsParams ¶
type AdminGetAllEmailsParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminGetAllEmailsParams contains all the parameters to send to the API endpoint
for the admin get all emails operation. Typically these are written to a http.Request.
func NewAdminGetAllEmailsParams ¶
func NewAdminGetAllEmailsParams() *AdminGetAllEmailsParams
NewAdminGetAllEmailsParams creates a new AdminGetAllEmailsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminGetAllEmailsParamsWithContext ¶
func NewAdminGetAllEmailsParamsWithContext(ctx context.Context) *AdminGetAllEmailsParams
NewAdminGetAllEmailsParamsWithContext creates a new AdminGetAllEmailsParams object with the ability to set a context for a request.
func NewAdminGetAllEmailsParamsWithHTTPClient ¶
func NewAdminGetAllEmailsParamsWithHTTPClient(client *http.Client) *AdminGetAllEmailsParams
NewAdminGetAllEmailsParamsWithHTTPClient creates a new AdminGetAllEmailsParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGetAllEmailsParamsWithTimeout ¶
func NewAdminGetAllEmailsParamsWithTimeout(timeout time.Duration) *AdminGetAllEmailsParams
NewAdminGetAllEmailsParamsWithTimeout creates a new AdminGetAllEmailsParams object with the ability to set a timeout on a request.
func (*AdminGetAllEmailsParams) SetContext ¶
func (o *AdminGetAllEmailsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get all emails params
func (*AdminGetAllEmailsParams) SetDefaults ¶
func (o *AdminGetAllEmailsParams) SetDefaults()
SetDefaults hydrates default values in the admin get all emails params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetAllEmailsParams) SetHTTPClient ¶
func (o *AdminGetAllEmailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get all emails params
func (*AdminGetAllEmailsParams) SetLimit ¶
func (o *AdminGetAllEmailsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get all emails params
func (*AdminGetAllEmailsParams) SetPage ¶
func (o *AdminGetAllEmailsParams) SetPage(page *int64)
SetPage adds the page to the admin get all emails params
func (*AdminGetAllEmailsParams) SetTimeout ¶
func (o *AdminGetAllEmailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get all emails params
func (*AdminGetAllEmailsParams) WithContext ¶
func (o *AdminGetAllEmailsParams) WithContext(ctx context.Context) *AdminGetAllEmailsParams
WithContext adds the context to the admin get all emails params
func (*AdminGetAllEmailsParams) WithDefaults ¶
func (o *AdminGetAllEmailsParams) WithDefaults() *AdminGetAllEmailsParams
WithDefaults hydrates default values in the admin get all emails params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetAllEmailsParams) WithHTTPClient ¶
func (o *AdminGetAllEmailsParams) WithHTTPClient(client *http.Client) *AdminGetAllEmailsParams
WithHTTPClient adds the HTTPClient to the admin get all emails params
func (*AdminGetAllEmailsParams) WithLimit ¶
func (o *AdminGetAllEmailsParams) WithLimit(limit *int64) *AdminGetAllEmailsParams
WithLimit adds the limit to the admin get all emails params
func (*AdminGetAllEmailsParams) WithPage ¶
func (o *AdminGetAllEmailsParams) WithPage(page *int64) *AdminGetAllEmailsParams
WithPage adds the page to the admin get all emails params
func (*AdminGetAllEmailsParams) WithTimeout ¶
func (o *AdminGetAllEmailsParams) WithTimeout(timeout time.Duration) *AdminGetAllEmailsParams
WithTimeout adds the timeout to the admin get all emails params
func (*AdminGetAllEmailsParams) WriteToRequest ¶
func (o *AdminGetAllEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetAllEmailsReader ¶
type AdminGetAllEmailsReader struct {
// contains filtered or unexported fields
}
AdminGetAllEmailsReader is a Reader for the AdminGetAllEmails structure.
func (*AdminGetAllEmailsReader) ReadResponse ¶
func (o *AdminGetAllEmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetAllOrgsForbidden ¶
AdminGetAllOrgsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminGetAllOrgsForbidden ¶
func NewAdminGetAllOrgsForbidden() *AdminGetAllOrgsForbidden
NewAdminGetAllOrgsForbidden creates a AdminGetAllOrgsForbidden with default headers values
func (*AdminGetAllOrgsForbidden) Code ¶
func (o *AdminGetAllOrgsForbidden) Code() int
Code gets the status code for the admin get all orgs forbidden response
func (*AdminGetAllOrgsForbidden) Error ¶
func (o *AdminGetAllOrgsForbidden) Error() string
func (*AdminGetAllOrgsForbidden) IsClientError ¶
func (o *AdminGetAllOrgsForbidden) IsClientError() bool
IsClientError returns true when this admin get all orgs forbidden response has a 4xx status code
func (*AdminGetAllOrgsForbidden) IsCode ¶
func (o *AdminGetAllOrgsForbidden) IsCode(code int) bool
IsCode returns true when this admin get all orgs forbidden response a status code equal to that given
func (*AdminGetAllOrgsForbidden) IsRedirect ¶
func (o *AdminGetAllOrgsForbidden) IsRedirect() bool
IsRedirect returns true when this admin get all orgs forbidden response has a 3xx status code
func (*AdminGetAllOrgsForbidden) IsServerError ¶
func (o *AdminGetAllOrgsForbidden) IsServerError() bool
IsServerError returns true when this admin get all orgs forbidden response has a 5xx status code
func (*AdminGetAllOrgsForbidden) IsSuccess ¶
func (o *AdminGetAllOrgsForbidden) IsSuccess() bool
IsSuccess returns true when this admin get all orgs forbidden response has a 2xx status code
func (*AdminGetAllOrgsForbidden) String ¶
func (o *AdminGetAllOrgsForbidden) String() string
type AdminGetAllOrgsOK ¶
type AdminGetAllOrgsOK struct {
Payload []*models.Organization
}
AdminGetAllOrgsOK describes a response with status code 200, with default header values.
OrganizationList
func NewAdminGetAllOrgsOK ¶
func NewAdminGetAllOrgsOK() *AdminGetAllOrgsOK
NewAdminGetAllOrgsOK creates a AdminGetAllOrgsOK with default headers values
func (*AdminGetAllOrgsOK) Code ¶
func (o *AdminGetAllOrgsOK) Code() int
Code gets the status code for the admin get all orgs o k response
func (*AdminGetAllOrgsOK) Error ¶
func (o *AdminGetAllOrgsOK) Error() string
func (*AdminGetAllOrgsOK) GetPayload ¶
func (o *AdminGetAllOrgsOK) GetPayload() []*models.Organization
func (*AdminGetAllOrgsOK) IsClientError ¶
func (o *AdminGetAllOrgsOK) IsClientError() bool
IsClientError returns true when this admin get all orgs o k response has a 4xx status code
func (*AdminGetAllOrgsOK) IsCode ¶
func (o *AdminGetAllOrgsOK) IsCode(code int) bool
IsCode returns true when this admin get all orgs o k response a status code equal to that given
func (*AdminGetAllOrgsOK) IsRedirect ¶
func (o *AdminGetAllOrgsOK) IsRedirect() bool
IsRedirect returns true when this admin get all orgs o k response has a 3xx status code
func (*AdminGetAllOrgsOK) IsServerError ¶
func (o *AdminGetAllOrgsOK) IsServerError() bool
IsServerError returns true when this admin get all orgs o k response has a 5xx status code
func (*AdminGetAllOrgsOK) IsSuccess ¶
func (o *AdminGetAllOrgsOK) IsSuccess() bool
IsSuccess returns true when this admin get all orgs o k response has a 2xx status code
func (*AdminGetAllOrgsOK) String ¶
func (o *AdminGetAllOrgsOK) String() string
type AdminGetAllOrgsParams ¶
type AdminGetAllOrgsParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminGetAllOrgsParams contains all the parameters to send to the API endpoint
for the admin get all orgs operation. Typically these are written to a http.Request.
func NewAdminGetAllOrgsParams ¶
func NewAdminGetAllOrgsParams() *AdminGetAllOrgsParams
NewAdminGetAllOrgsParams creates a new AdminGetAllOrgsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminGetAllOrgsParamsWithContext ¶
func NewAdminGetAllOrgsParamsWithContext(ctx context.Context) *AdminGetAllOrgsParams
NewAdminGetAllOrgsParamsWithContext creates a new AdminGetAllOrgsParams object with the ability to set a context for a request.
func NewAdminGetAllOrgsParamsWithHTTPClient ¶
func NewAdminGetAllOrgsParamsWithHTTPClient(client *http.Client) *AdminGetAllOrgsParams
NewAdminGetAllOrgsParamsWithHTTPClient creates a new AdminGetAllOrgsParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGetAllOrgsParamsWithTimeout ¶
func NewAdminGetAllOrgsParamsWithTimeout(timeout time.Duration) *AdminGetAllOrgsParams
NewAdminGetAllOrgsParamsWithTimeout creates a new AdminGetAllOrgsParams object with the ability to set a timeout on a request.
func (*AdminGetAllOrgsParams) SetContext ¶
func (o *AdminGetAllOrgsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get all orgs params
func (*AdminGetAllOrgsParams) SetDefaults ¶
func (o *AdminGetAllOrgsParams) SetDefaults()
SetDefaults hydrates default values in the admin get all orgs params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetAllOrgsParams) SetHTTPClient ¶
func (o *AdminGetAllOrgsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get all orgs params
func (*AdminGetAllOrgsParams) SetLimit ¶
func (o *AdminGetAllOrgsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get all orgs params
func (*AdminGetAllOrgsParams) SetPage ¶
func (o *AdminGetAllOrgsParams) SetPage(page *int64)
SetPage adds the page to the admin get all orgs params
func (*AdminGetAllOrgsParams) SetTimeout ¶
func (o *AdminGetAllOrgsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get all orgs params
func (*AdminGetAllOrgsParams) WithContext ¶
func (o *AdminGetAllOrgsParams) WithContext(ctx context.Context) *AdminGetAllOrgsParams
WithContext adds the context to the admin get all orgs params
func (*AdminGetAllOrgsParams) WithDefaults ¶
func (o *AdminGetAllOrgsParams) WithDefaults() *AdminGetAllOrgsParams
WithDefaults hydrates default values in the admin get all orgs params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetAllOrgsParams) WithHTTPClient ¶
func (o *AdminGetAllOrgsParams) WithHTTPClient(client *http.Client) *AdminGetAllOrgsParams
WithHTTPClient adds the HTTPClient to the admin get all orgs params
func (*AdminGetAllOrgsParams) WithLimit ¶
func (o *AdminGetAllOrgsParams) WithLimit(limit *int64) *AdminGetAllOrgsParams
WithLimit adds the limit to the admin get all orgs params
func (*AdminGetAllOrgsParams) WithPage ¶
func (o *AdminGetAllOrgsParams) WithPage(page *int64) *AdminGetAllOrgsParams
WithPage adds the page to the admin get all orgs params
func (*AdminGetAllOrgsParams) WithTimeout ¶
func (o *AdminGetAllOrgsParams) WithTimeout(timeout time.Duration) *AdminGetAllOrgsParams
WithTimeout adds the timeout to the admin get all orgs params
func (*AdminGetAllOrgsParams) WriteToRequest ¶
func (o *AdminGetAllOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetAllOrgsReader ¶
type AdminGetAllOrgsReader struct {
// contains filtered or unexported fields
}
AdminGetAllOrgsReader is a Reader for the AdminGetAllOrgs structure.
func (*AdminGetAllOrgsReader) ReadResponse ¶
func (o *AdminGetAllOrgsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetHookOK ¶
AdminGetHookOK describes a response with status code 200, with default header values.
Hook
func NewAdminGetHookOK ¶
func NewAdminGetHookOK() *AdminGetHookOK
NewAdminGetHookOK creates a AdminGetHookOK with default headers values
func (*AdminGetHookOK) Code ¶
func (o *AdminGetHookOK) Code() int
Code gets the status code for the admin get hook o k response
func (*AdminGetHookOK) Error ¶
func (o *AdminGetHookOK) Error() string
func (*AdminGetHookOK) GetPayload ¶
func (o *AdminGetHookOK) GetPayload() *models.Hook
func (*AdminGetHookOK) IsClientError ¶
func (o *AdminGetHookOK) IsClientError() bool
IsClientError returns true when this admin get hook o k response has a 4xx status code
func (*AdminGetHookOK) IsCode ¶
func (o *AdminGetHookOK) IsCode(code int) bool
IsCode returns true when this admin get hook o k response a status code equal to that given
func (*AdminGetHookOK) IsRedirect ¶
func (o *AdminGetHookOK) IsRedirect() bool
IsRedirect returns true when this admin get hook o k response has a 3xx status code
func (*AdminGetHookOK) IsServerError ¶
func (o *AdminGetHookOK) IsServerError() bool
IsServerError returns true when this admin get hook o k response has a 5xx status code
func (*AdminGetHookOK) IsSuccess ¶
func (o *AdminGetHookOK) IsSuccess() bool
IsSuccess returns true when this admin get hook o k response has a 2xx status code
func (*AdminGetHookOK) String ¶
func (o *AdminGetHookOK) String() string
type AdminGetHookParams ¶
type AdminGetHookParams struct {
/* ID.
id of the hook to get
Format: int64
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminGetHookParams contains all the parameters to send to the API endpoint
for the admin get hook operation. Typically these are written to a http.Request.
func NewAdminGetHookParams ¶
func NewAdminGetHookParams() *AdminGetHookParams
NewAdminGetHookParams creates a new AdminGetHookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminGetHookParamsWithContext ¶
func NewAdminGetHookParamsWithContext(ctx context.Context) *AdminGetHookParams
NewAdminGetHookParamsWithContext creates a new AdminGetHookParams object with the ability to set a context for a request.
func NewAdminGetHookParamsWithHTTPClient ¶
func NewAdminGetHookParamsWithHTTPClient(client *http.Client) *AdminGetHookParams
NewAdminGetHookParamsWithHTTPClient creates a new AdminGetHookParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGetHookParamsWithTimeout ¶
func NewAdminGetHookParamsWithTimeout(timeout time.Duration) *AdminGetHookParams
NewAdminGetHookParamsWithTimeout creates a new AdminGetHookParams object with the ability to set a timeout on a request.
func (*AdminGetHookParams) SetContext ¶
func (o *AdminGetHookParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get hook params
func (*AdminGetHookParams) SetDefaults ¶
func (o *AdminGetHookParams) SetDefaults()
SetDefaults hydrates default values in the admin get hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetHookParams) SetHTTPClient ¶
func (o *AdminGetHookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get hook params
func (*AdminGetHookParams) SetID ¶
func (o *AdminGetHookParams) SetID(id int64)
SetID adds the id to the admin get hook params
func (*AdminGetHookParams) SetTimeout ¶
func (o *AdminGetHookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get hook params
func (*AdminGetHookParams) WithContext ¶
func (o *AdminGetHookParams) WithContext(ctx context.Context) *AdminGetHookParams
WithContext adds the context to the admin get hook params
func (*AdminGetHookParams) WithDefaults ¶
func (o *AdminGetHookParams) WithDefaults() *AdminGetHookParams
WithDefaults hydrates default values in the admin get hook params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetHookParams) WithHTTPClient ¶
func (o *AdminGetHookParams) WithHTTPClient(client *http.Client) *AdminGetHookParams
WithHTTPClient adds the HTTPClient to the admin get hook params
func (*AdminGetHookParams) WithID ¶
func (o *AdminGetHookParams) WithID(id int64) *AdminGetHookParams
WithID adds the id to the admin get hook params
func (*AdminGetHookParams) WithTimeout ¶
func (o *AdminGetHookParams) WithTimeout(timeout time.Duration) *AdminGetHookParams
WithTimeout adds the timeout to the admin get hook params
func (*AdminGetHookParams) WriteToRequest ¶
func (o *AdminGetHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetHookReader ¶
type AdminGetHookReader struct {
// contains filtered or unexported fields
}
AdminGetHookReader is a Reader for the AdminGetHook structure.
func (*AdminGetHookReader) ReadResponse ¶
func (o *AdminGetHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetRunnerRegistrationTokenOK ¶
type AdminGetRunnerRegistrationTokenOK struct {
Token string
}
AdminGetRunnerRegistrationTokenOK describes a response with status code 200, with default header values.
RegistrationToken is response related to registration token
func NewAdminGetRunnerRegistrationTokenOK ¶
func NewAdminGetRunnerRegistrationTokenOK() *AdminGetRunnerRegistrationTokenOK
NewAdminGetRunnerRegistrationTokenOK creates a AdminGetRunnerRegistrationTokenOK with default headers values
func (*AdminGetRunnerRegistrationTokenOK) Code ¶
func (o *AdminGetRunnerRegistrationTokenOK) Code() int
Code gets the status code for the admin get runner registration token o k response
func (*AdminGetRunnerRegistrationTokenOK) Error ¶
func (o *AdminGetRunnerRegistrationTokenOK) Error() string
func (*AdminGetRunnerRegistrationTokenOK) IsClientError ¶
func (o *AdminGetRunnerRegistrationTokenOK) IsClientError() bool
IsClientError returns true when this admin get runner registration token o k response has a 4xx status code
func (*AdminGetRunnerRegistrationTokenOK) IsCode ¶
func (o *AdminGetRunnerRegistrationTokenOK) IsCode(code int) bool
IsCode returns true when this admin get runner registration token o k response a status code equal to that given
func (*AdminGetRunnerRegistrationTokenOK) IsRedirect ¶
func (o *AdminGetRunnerRegistrationTokenOK) IsRedirect() bool
IsRedirect returns true when this admin get runner registration token o k response has a 3xx status code
func (*AdminGetRunnerRegistrationTokenOK) IsServerError ¶
func (o *AdminGetRunnerRegistrationTokenOK) IsServerError() bool
IsServerError returns true when this admin get runner registration token o k response has a 5xx status code
func (*AdminGetRunnerRegistrationTokenOK) IsSuccess ¶
func (o *AdminGetRunnerRegistrationTokenOK) IsSuccess() bool
IsSuccess returns true when this admin get runner registration token o k response has a 2xx status code
func (*AdminGetRunnerRegistrationTokenOK) String ¶
func (o *AdminGetRunnerRegistrationTokenOK) String() string
type AdminGetRunnerRegistrationTokenParams ¶
type AdminGetRunnerRegistrationTokenParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminGetRunnerRegistrationTokenParams contains all the parameters to send to the API endpoint
for the admin get runner registration token operation. Typically these are written to a http.Request.
func NewAdminGetRunnerRegistrationTokenParams ¶
func NewAdminGetRunnerRegistrationTokenParams() *AdminGetRunnerRegistrationTokenParams
NewAdminGetRunnerRegistrationTokenParams creates a new AdminGetRunnerRegistrationTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminGetRunnerRegistrationTokenParamsWithContext ¶
func NewAdminGetRunnerRegistrationTokenParamsWithContext(ctx context.Context) *AdminGetRunnerRegistrationTokenParams
NewAdminGetRunnerRegistrationTokenParamsWithContext creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a context for a request.
func NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient ¶
func NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient(client *http.Client) *AdminGetRunnerRegistrationTokenParams
NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGetRunnerRegistrationTokenParamsWithTimeout ¶
func NewAdminGetRunnerRegistrationTokenParamsWithTimeout(timeout time.Duration) *AdminGetRunnerRegistrationTokenParams
NewAdminGetRunnerRegistrationTokenParamsWithTimeout creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a timeout on a request.
func (*AdminGetRunnerRegistrationTokenParams) SetContext ¶
func (o *AdminGetRunnerRegistrationTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) SetDefaults ¶
func (o *AdminGetRunnerRegistrationTokenParams) SetDefaults()
SetDefaults hydrates default values in the admin get runner registration token params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetRunnerRegistrationTokenParams) SetHTTPClient ¶
func (o *AdminGetRunnerRegistrationTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) SetTimeout ¶
func (o *AdminGetRunnerRegistrationTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) WithContext ¶
func (o *AdminGetRunnerRegistrationTokenParams) WithContext(ctx context.Context) *AdminGetRunnerRegistrationTokenParams
WithContext adds the context to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) WithDefaults ¶
func (o *AdminGetRunnerRegistrationTokenParams) WithDefaults() *AdminGetRunnerRegistrationTokenParams
WithDefaults hydrates default values in the admin get runner registration token params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGetRunnerRegistrationTokenParams) WithHTTPClient ¶
func (o *AdminGetRunnerRegistrationTokenParams) WithHTTPClient(client *http.Client) *AdminGetRunnerRegistrationTokenParams
WithHTTPClient adds the HTTPClient to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) WithTimeout ¶
func (o *AdminGetRunnerRegistrationTokenParams) WithTimeout(timeout time.Duration) *AdminGetRunnerRegistrationTokenParams
WithTimeout adds the timeout to the admin get runner registration token params
func (*AdminGetRunnerRegistrationTokenParams) WriteToRequest ¶
func (o *AdminGetRunnerRegistrationTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetRunnerRegistrationTokenReader ¶
type AdminGetRunnerRegistrationTokenReader struct {
// contains filtered or unexported fields
}
AdminGetRunnerRegistrationTokenReader is a Reader for the AdminGetRunnerRegistrationToken structure.
func (*AdminGetRunnerRegistrationTokenReader) ReadResponse ¶
func (o *AdminGetRunnerRegistrationTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListHooksOK ¶
AdminListHooksOK describes a response with status code 200, with default header values.
HookList
func NewAdminListHooksOK ¶
func NewAdminListHooksOK() *AdminListHooksOK
NewAdminListHooksOK creates a AdminListHooksOK with default headers values
func (*AdminListHooksOK) Code ¶
func (o *AdminListHooksOK) Code() int
Code gets the status code for the admin list hooks o k response
func (*AdminListHooksOK) Error ¶
func (o *AdminListHooksOK) Error() string
func (*AdminListHooksOK) GetPayload ¶
func (o *AdminListHooksOK) GetPayload() []*models.Hook
func (*AdminListHooksOK) IsClientError ¶
func (o *AdminListHooksOK) IsClientError() bool
IsClientError returns true when this admin list hooks o k response has a 4xx status code
func (*AdminListHooksOK) IsCode ¶
func (o *AdminListHooksOK) IsCode(code int) bool
IsCode returns true when this admin list hooks o k response a status code equal to that given
func (*AdminListHooksOK) IsRedirect ¶
func (o *AdminListHooksOK) IsRedirect() bool
IsRedirect returns true when this admin list hooks o k response has a 3xx status code
func (*AdminListHooksOK) IsServerError ¶
func (o *AdminListHooksOK) IsServerError() bool
IsServerError returns true when this admin list hooks o k response has a 5xx status code
func (*AdminListHooksOK) IsSuccess ¶
func (o *AdminListHooksOK) IsSuccess() bool
IsSuccess returns true when this admin list hooks o k response has a 2xx status code
func (*AdminListHooksOK) String ¶
func (o *AdminListHooksOK) String() string
type AdminListHooksParams ¶
type AdminListHooksParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminListHooksParams contains all the parameters to send to the API endpoint
for the admin list hooks operation. Typically these are written to a http.Request.
func NewAdminListHooksParams ¶
func NewAdminListHooksParams() *AdminListHooksParams
NewAdminListHooksParams creates a new AdminListHooksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminListHooksParamsWithContext ¶
func NewAdminListHooksParamsWithContext(ctx context.Context) *AdminListHooksParams
NewAdminListHooksParamsWithContext creates a new AdminListHooksParams object with the ability to set a context for a request.
func NewAdminListHooksParamsWithHTTPClient ¶
func NewAdminListHooksParamsWithHTTPClient(client *http.Client) *AdminListHooksParams
NewAdminListHooksParamsWithHTTPClient creates a new AdminListHooksParams object with the ability to set a custom HTTPClient for a request.
func NewAdminListHooksParamsWithTimeout ¶
func NewAdminListHooksParamsWithTimeout(timeout time.Duration) *AdminListHooksParams
NewAdminListHooksParamsWithTimeout creates a new AdminListHooksParams object with the ability to set a timeout on a request.
func (*AdminListHooksParams) SetContext ¶
func (o *AdminListHooksParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list hooks params
func (*AdminListHooksParams) SetDefaults ¶
func (o *AdminListHooksParams) SetDefaults()
SetDefaults hydrates default values in the admin list hooks params (not the query body).
All values with no default are reset to their zero value.
func (*AdminListHooksParams) SetHTTPClient ¶
func (o *AdminListHooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list hooks params
func (*AdminListHooksParams) SetLimit ¶
func (o *AdminListHooksParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list hooks params
func (*AdminListHooksParams) SetPage ¶
func (o *AdminListHooksParams) SetPage(page *int64)
SetPage adds the page to the admin list hooks params
func (*AdminListHooksParams) SetTimeout ¶
func (o *AdminListHooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list hooks params
func (*AdminListHooksParams) WithContext ¶
func (o *AdminListHooksParams) WithContext(ctx context.Context) *AdminListHooksParams
WithContext adds the context to the admin list hooks params
func (*AdminListHooksParams) WithDefaults ¶
func (o *AdminListHooksParams) WithDefaults() *AdminListHooksParams
WithDefaults hydrates default values in the admin list hooks params (not the query body).
All values with no default are reset to their zero value.
func (*AdminListHooksParams) WithHTTPClient ¶
func (o *AdminListHooksParams) WithHTTPClient(client *http.Client) *AdminListHooksParams
WithHTTPClient adds the HTTPClient to the admin list hooks params
func (*AdminListHooksParams) WithLimit ¶
func (o *AdminListHooksParams) WithLimit(limit *int64) *AdminListHooksParams
WithLimit adds the limit to the admin list hooks params
func (*AdminListHooksParams) WithPage ¶
func (o *AdminListHooksParams) WithPage(page *int64) *AdminListHooksParams
WithPage adds the page to the admin list hooks params
func (*AdminListHooksParams) WithTimeout ¶
func (o *AdminListHooksParams) WithTimeout(timeout time.Duration) *AdminListHooksParams
WithTimeout adds the timeout to the admin list hooks params
func (*AdminListHooksParams) WriteToRequest ¶
func (o *AdminListHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListHooksReader ¶
type AdminListHooksReader struct {
// contains filtered or unexported fields
}
AdminListHooksReader is a Reader for the AdminListHooks structure.
func (*AdminListHooksReader) ReadResponse ¶
func (o *AdminListHooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListUserBadgesNotFound ¶
type AdminListUserBadgesNotFound struct {
}
AdminListUserBadgesNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewAdminListUserBadgesNotFound ¶
func NewAdminListUserBadgesNotFound() *AdminListUserBadgesNotFound
NewAdminListUserBadgesNotFound creates a AdminListUserBadgesNotFound with default headers values
func (*AdminListUserBadgesNotFound) Code ¶
func (o *AdminListUserBadgesNotFound) Code() int
Code gets the status code for the admin list user badges not found response
func (*AdminListUserBadgesNotFound) Error ¶
func (o *AdminListUserBadgesNotFound) Error() string
func (*AdminListUserBadgesNotFound) IsClientError ¶
func (o *AdminListUserBadgesNotFound) IsClientError() bool
IsClientError returns true when this admin list user badges not found response has a 4xx status code
func (*AdminListUserBadgesNotFound) IsCode ¶
func (o *AdminListUserBadgesNotFound) IsCode(code int) bool
IsCode returns true when this admin list user badges not found response a status code equal to that given
func (*AdminListUserBadgesNotFound) IsRedirect ¶
func (o *AdminListUserBadgesNotFound) IsRedirect() bool
IsRedirect returns true when this admin list user badges not found response has a 3xx status code
func (*AdminListUserBadgesNotFound) IsServerError ¶
func (o *AdminListUserBadgesNotFound) IsServerError() bool
IsServerError returns true when this admin list user badges not found response has a 5xx status code
func (*AdminListUserBadgesNotFound) IsSuccess ¶
func (o *AdminListUserBadgesNotFound) IsSuccess() bool
IsSuccess returns true when this admin list user badges not found response has a 2xx status code
func (*AdminListUserBadgesNotFound) String ¶
func (o *AdminListUserBadgesNotFound) String() string
type AdminListUserBadgesOK ¶
AdminListUserBadgesOK describes a response with status code 200, with default header values.
BadgeList
func NewAdminListUserBadgesOK ¶
func NewAdminListUserBadgesOK() *AdminListUserBadgesOK
NewAdminListUserBadgesOK creates a AdminListUserBadgesOK with default headers values
func (*AdminListUserBadgesOK) Code ¶
func (o *AdminListUserBadgesOK) Code() int
Code gets the status code for the admin list user badges o k response
func (*AdminListUserBadgesOK) Error ¶
func (o *AdminListUserBadgesOK) Error() string
func (*AdminListUserBadgesOK) GetPayload ¶
func (o *AdminListUserBadgesOK) GetPayload() []*models.Badge
func (*AdminListUserBadgesOK) IsClientError ¶
func (o *AdminListUserBadgesOK) IsClientError() bool
IsClientError returns true when this admin list user badges o k response has a 4xx status code
func (*AdminListUserBadgesOK) IsCode ¶
func (o *AdminListUserBadgesOK) IsCode(code int) bool
IsCode returns true when this admin list user badges o k response a status code equal to that given
func (*AdminListUserBadgesOK) IsRedirect ¶
func (o *AdminListUserBadgesOK) IsRedirect() bool
IsRedirect returns true when this admin list user badges o k response has a 3xx status code
func (*AdminListUserBadgesOK) IsServerError ¶
func (o *AdminListUserBadgesOK) IsServerError() bool
IsServerError returns true when this admin list user badges o k response has a 5xx status code
func (*AdminListUserBadgesOK) IsSuccess ¶
func (o *AdminListUserBadgesOK) IsSuccess() bool
IsSuccess returns true when this admin list user badges o k response has a 2xx status code
func (*AdminListUserBadgesOK) String ¶
func (o *AdminListUserBadgesOK) String() string
type AdminListUserBadgesParams ¶
type AdminListUserBadgesParams struct {
/* Username.
username of user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminListUserBadgesParams contains all the parameters to send to the API endpoint
for the admin list user badges operation. Typically these are written to a http.Request.
func NewAdminListUserBadgesParams ¶
func NewAdminListUserBadgesParams() *AdminListUserBadgesParams
NewAdminListUserBadgesParams creates a new AdminListUserBadgesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminListUserBadgesParamsWithContext ¶
func NewAdminListUserBadgesParamsWithContext(ctx context.Context) *AdminListUserBadgesParams
NewAdminListUserBadgesParamsWithContext creates a new AdminListUserBadgesParams object with the ability to set a context for a request.
func NewAdminListUserBadgesParamsWithHTTPClient ¶
func NewAdminListUserBadgesParamsWithHTTPClient(client *http.Client) *AdminListUserBadgesParams
NewAdminListUserBadgesParamsWithHTTPClient creates a new AdminListUserBadgesParams object with the ability to set a custom HTTPClient for a request.
func NewAdminListUserBadgesParamsWithTimeout ¶
func NewAdminListUserBadgesParamsWithTimeout(timeout time.Duration) *AdminListUserBadgesParams
NewAdminListUserBadgesParamsWithTimeout creates a new AdminListUserBadgesParams object with the ability to set a timeout on a request.
func (*AdminListUserBadgesParams) SetContext ¶
func (o *AdminListUserBadgesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list user badges params
func (*AdminListUserBadgesParams) SetDefaults ¶
func (o *AdminListUserBadgesParams) SetDefaults()
SetDefaults hydrates default values in the admin list user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminListUserBadgesParams) SetHTTPClient ¶
func (o *AdminListUserBadgesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list user badges params
func (*AdminListUserBadgesParams) SetTimeout ¶
func (o *AdminListUserBadgesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list user badges params
func (*AdminListUserBadgesParams) SetUsername ¶
func (o *AdminListUserBadgesParams) SetUsername(username string)
SetUsername adds the username to the admin list user badges params
func (*AdminListUserBadgesParams) WithContext ¶
func (o *AdminListUserBadgesParams) WithContext(ctx context.Context) *AdminListUserBadgesParams
WithContext adds the context to the admin list user badges params
func (*AdminListUserBadgesParams) WithDefaults ¶
func (o *AdminListUserBadgesParams) WithDefaults() *AdminListUserBadgesParams
WithDefaults hydrates default values in the admin list user badges params (not the query body).
All values with no default are reset to their zero value.
func (*AdminListUserBadgesParams) WithHTTPClient ¶
func (o *AdminListUserBadgesParams) WithHTTPClient(client *http.Client) *AdminListUserBadgesParams
WithHTTPClient adds the HTTPClient to the admin list user badges params
func (*AdminListUserBadgesParams) WithTimeout ¶
func (o *AdminListUserBadgesParams) WithTimeout(timeout time.Duration) *AdminListUserBadgesParams
WithTimeout adds the timeout to the admin list user badges params
func (*AdminListUserBadgesParams) WithUsername ¶
func (o *AdminListUserBadgesParams) WithUsername(username string) *AdminListUserBadgesParams
WithUsername adds the username to the admin list user badges params
func (*AdminListUserBadgesParams) WriteToRequest ¶
func (o *AdminListUserBadgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListUserBadgesReader ¶
type AdminListUserBadgesReader struct {
// contains filtered or unexported fields
}
AdminListUserBadgesReader is a Reader for the AdminListUserBadges structure.
func (*AdminListUserBadgesReader) ReadResponse ¶
func (o *AdminListUserBadgesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminRenameUserForbidden ¶
AdminRenameUserForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminRenameUserForbidden ¶
func NewAdminRenameUserForbidden() *AdminRenameUserForbidden
NewAdminRenameUserForbidden creates a AdminRenameUserForbidden with default headers values
func (*AdminRenameUserForbidden) Code ¶
func (o *AdminRenameUserForbidden) Code() int
Code gets the status code for the admin rename user forbidden response
func (*AdminRenameUserForbidden) Error ¶
func (o *AdminRenameUserForbidden) Error() string
func (*AdminRenameUserForbidden) IsClientError ¶
func (o *AdminRenameUserForbidden) IsClientError() bool
IsClientError returns true when this admin rename user forbidden response has a 4xx status code
func (*AdminRenameUserForbidden) IsCode ¶
func (o *AdminRenameUserForbidden) IsCode(code int) bool
IsCode returns true when this admin rename user forbidden response a status code equal to that given
func (*AdminRenameUserForbidden) IsRedirect ¶
func (o *AdminRenameUserForbidden) IsRedirect() bool
IsRedirect returns true when this admin rename user forbidden response has a 3xx status code
func (*AdminRenameUserForbidden) IsServerError ¶
func (o *AdminRenameUserForbidden) IsServerError() bool
IsServerError returns true when this admin rename user forbidden response has a 5xx status code
func (*AdminRenameUserForbidden) IsSuccess ¶
func (o *AdminRenameUserForbidden) IsSuccess() bool
IsSuccess returns true when this admin rename user forbidden response has a 2xx status code
func (*AdminRenameUserForbidden) String ¶
func (o *AdminRenameUserForbidden) String() string
type AdminRenameUserNoContent ¶
type AdminRenameUserNoContent struct {
}
AdminRenameUserNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewAdminRenameUserNoContent ¶
func NewAdminRenameUserNoContent() *AdminRenameUserNoContent
NewAdminRenameUserNoContent creates a AdminRenameUserNoContent with default headers values
func (*AdminRenameUserNoContent) Code ¶
func (o *AdminRenameUserNoContent) Code() int
Code gets the status code for the admin rename user no content response
func (*AdminRenameUserNoContent) Error ¶
func (o *AdminRenameUserNoContent) Error() string
func (*AdminRenameUserNoContent) IsClientError ¶
func (o *AdminRenameUserNoContent) IsClientError() bool
IsClientError returns true when this admin rename user no content response has a 4xx status code
func (*AdminRenameUserNoContent) IsCode ¶
func (o *AdminRenameUserNoContent) IsCode(code int) bool
IsCode returns true when this admin rename user no content response a status code equal to that given
func (*AdminRenameUserNoContent) IsRedirect ¶
func (o *AdminRenameUserNoContent) IsRedirect() bool
IsRedirect returns true when this admin rename user no content response has a 3xx status code
func (*AdminRenameUserNoContent) IsServerError ¶
func (o *AdminRenameUserNoContent) IsServerError() bool
IsServerError returns true when this admin rename user no content response has a 5xx status code
func (*AdminRenameUserNoContent) IsSuccess ¶
func (o *AdminRenameUserNoContent) IsSuccess() bool
IsSuccess returns true when this admin rename user no content response has a 2xx status code
func (*AdminRenameUserNoContent) String ¶
func (o *AdminRenameUserNoContent) String() string
type AdminRenameUserParams ¶
type AdminRenameUserParams struct {
// Body.
Body *models.RenameUserOption
/* Username.
existing username of user
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminRenameUserParams contains all the parameters to send to the API endpoint
for the admin rename user operation. Typically these are written to a http.Request.
func NewAdminRenameUserParams ¶
func NewAdminRenameUserParams() *AdminRenameUserParams
NewAdminRenameUserParams creates a new AdminRenameUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminRenameUserParamsWithContext ¶
func NewAdminRenameUserParamsWithContext(ctx context.Context) *AdminRenameUserParams
NewAdminRenameUserParamsWithContext creates a new AdminRenameUserParams object with the ability to set a context for a request.
func NewAdminRenameUserParamsWithHTTPClient ¶
func NewAdminRenameUserParamsWithHTTPClient(client *http.Client) *AdminRenameUserParams
NewAdminRenameUserParamsWithHTTPClient creates a new AdminRenameUserParams object with the ability to set a custom HTTPClient for a request.
func NewAdminRenameUserParamsWithTimeout ¶
func NewAdminRenameUserParamsWithTimeout(timeout time.Duration) *AdminRenameUserParams
NewAdminRenameUserParamsWithTimeout creates a new AdminRenameUserParams object with the ability to set a timeout on a request.
func (*AdminRenameUserParams) SetBody ¶
func (o *AdminRenameUserParams) SetBody(body *models.RenameUserOption)
SetBody adds the body to the admin rename user params
func (*AdminRenameUserParams) SetContext ¶
func (o *AdminRenameUserParams) SetContext(ctx context.Context)
SetContext adds the context to the admin rename user params
func (*AdminRenameUserParams) SetDefaults ¶
func (o *AdminRenameUserParams) SetDefaults()
SetDefaults hydrates default values in the admin rename user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminRenameUserParams) SetHTTPClient ¶
func (o *AdminRenameUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin rename user params
func (*AdminRenameUserParams) SetTimeout ¶
func (o *AdminRenameUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin rename user params
func (*AdminRenameUserParams) SetUsername ¶
func (o *AdminRenameUserParams) SetUsername(username string)
SetUsername adds the username to the admin rename user params
func (*AdminRenameUserParams) WithBody ¶
func (o *AdminRenameUserParams) WithBody(body *models.RenameUserOption) *AdminRenameUserParams
WithBody adds the body to the admin rename user params
func (*AdminRenameUserParams) WithContext ¶
func (o *AdminRenameUserParams) WithContext(ctx context.Context) *AdminRenameUserParams
WithContext adds the context to the admin rename user params
func (*AdminRenameUserParams) WithDefaults ¶
func (o *AdminRenameUserParams) WithDefaults() *AdminRenameUserParams
WithDefaults hydrates default values in the admin rename user params (not the query body).
All values with no default are reset to their zero value.
func (*AdminRenameUserParams) WithHTTPClient ¶
func (o *AdminRenameUserParams) WithHTTPClient(client *http.Client) *AdminRenameUserParams
WithHTTPClient adds the HTTPClient to the admin rename user params
func (*AdminRenameUserParams) WithTimeout ¶
func (o *AdminRenameUserParams) WithTimeout(timeout time.Duration) *AdminRenameUserParams
WithTimeout adds the timeout to the admin rename user params
func (*AdminRenameUserParams) WithUsername ¶
func (o *AdminRenameUserParams) WithUsername(username string) *AdminRenameUserParams
WithUsername adds the username to the admin rename user params
func (*AdminRenameUserParams) WriteToRequest ¶
func (o *AdminRenameUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminRenameUserReader ¶
type AdminRenameUserReader struct {
// contains filtered or unexported fields
}
AdminRenameUserReader is a Reader for the AdminRenameUser structure.
func (*AdminRenameUserReader) ReadResponse ¶
func (o *AdminRenameUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminRenameUserUnprocessableEntity ¶
AdminRenameUserUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewAdminRenameUserUnprocessableEntity ¶
func NewAdminRenameUserUnprocessableEntity() *AdminRenameUserUnprocessableEntity
NewAdminRenameUserUnprocessableEntity creates a AdminRenameUserUnprocessableEntity with default headers values
func (*AdminRenameUserUnprocessableEntity) Code ¶
func (o *AdminRenameUserUnprocessableEntity) Code() int
Code gets the status code for the admin rename user unprocessable entity response
func (*AdminRenameUserUnprocessableEntity) Error ¶
func (o *AdminRenameUserUnprocessableEntity) Error() string
func (*AdminRenameUserUnprocessableEntity) IsClientError ¶
func (o *AdminRenameUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this admin rename user unprocessable entity response has a 4xx status code
func (*AdminRenameUserUnprocessableEntity) IsCode ¶
func (o *AdminRenameUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this admin rename user unprocessable entity response a status code equal to that given
func (*AdminRenameUserUnprocessableEntity) IsRedirect ¶
func (o *AdminRenameUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this admin rename user unprocessable entity response has a 3xx status code
func (*AdminRenameUserUnprocessableEntity) IsServerError ¶
func (o *AdminRenameUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this admin rename user unprocessable entity response has a 5xx status code
func (*AdminRenameUserUnprocessableEntity) IsSuccess ¶
func (o *AdminRenameUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this admin rename user unprocessable entity response has a 2xx status code
func (*AdminRenameUserUnprocessableEntity) String ¶
func (o *AdminRenameUserUnprocessableEntity) String() string
type AdminSearchEmailsForbidden ¶
AdminSearchEmailsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminSearchEmailsForbidden ¶
func NewAdminSearchEmailsForbidden() *AdminSearchEmailsForbidden
NewAdminSearchEmailsForbidden creates a AdminSearchEmailsForbidden with default headers values
func (*AdminSearchEmailsForbidden) Code ¶
func (o *AdminSearchEmailsForbidden) Code() int
Code gets the status code for the admin search emails forbidden response
func (*AdminSearchEmailsForbidden) Error ¶
func (o *AdminSearchEmailsForbidden) Error() string
func (*AdminSearchEmailsForbidden) IsClientError ¶
func (o *AdminSearchEmailsForbidden) IsClientError() bool
IsClientError returns true when this admin search emails forbidden response has a 4xx status code
func (*AdminSearchEmailsForbidden) IsCode ¶
func (o *AdminSearchEmailsForbidden) IsCode(code int) bool
IsCode returns true when this admin search emails forbidden response a status code equal to that given
func (*AdminSearchEmailsForbidden) IsRedirect ¶
func (o *AdminSearchEmailsForbidden) IsRedirect() bool
IsRedirect returns true when this admin search emails forbidden response has a 3xx status code
func (*AdminSearchEmailsForbidden) IsServerError ¶
func (o *AdminSearchEmailsForbidden) IsServerError() bool
IsServerError returns true when this admin search emails forbidden response has a 5xx status code
func (*AdminSearchEmailsForbidden) IsSuccess ¶
func (o *AdminSearchEmailsForbidden) IsSuccess() bool
IsSuccess returns true when this admin search emails forbidden response has a 2xx status code
func (*AdminSearchEmailsForbidden) String ¶
func (o *AdminSearchEmailsForbidden) String() string
type AdminSearchEmailsOK ¶
AdminSearchEmailsOK describes a response with status code 200, with default header values.
EmailList
func NewAdminSearchEmailsOK ¶
func NewAdminSearchEmailsOK() *AdminSearchEmailsOK
NewAdminSearchEmailsOK creates a AdminSearchEmailsOK with default headers values
func (*AdminSearchEmailsOK) Code ¶
func (o *AdminSearchEmailsOK) Code() int
Code gets the status code for the admin search emails o k response
func (*AdminSearchEmailsOK) Error ¶
func (o *AdminSearchEmailsOK) Error() string
func (*AdminSearchEmailsOK) GetPayload ¶
func (o *AdminSearchEmailsOK) GetPayload() []*models.Email
func (*AdminSearchEmailsOK) IsClientError ¶
func (o *AdminSearchEmailsOK) IsClientError() bool
IsClientError returns true when this admin search emails o k response has a 4xx status code
func (*AdminSearchEmailsOK) IsCode ¶
func (o *AdminSearchEmailsOK) IsCode(code int) bool
IsCode returns true when this admin search emails o k response a status code equal to that given
func (*AdminSearchEmailsOK) IsRedirect ¶
func (o *AdminSearchEmailsOK) IsRedirect() bool
IsRedirect returns true when this admin search emails o k response has a 3xx status code
func (*AdminSearchEmailsOK) IsServerError ¶
func (o *AdminSearchEmailsOK) IsServerError() bool
IsServerError returns true when this admin search emails o k response has a 5xx status code
func (*AdminSearchEmailsOK) IsSuccess ¶
func (o *AdminSearchEmailsOK) IsSuccess() bool
IsSuccess returns true when this admin search emails o k response has a 2xx status code
func (*AdminSearchEmailsOK) String ¶
func (o *AdminSearchEmailsOK) String() string
type AdminSearchEmailsParams ¶
type AdminSearchEmailsParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
/* Q.
keyword
*/
Q *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminSearchEmailsParams contains all the parameters to send to the API endpoint
for the admin search emails operation. Typically these are written to a http.Request.
func NewAdminSearchEmailsParams ¶
func NewAdminSearchEmailsParams() *AdminSearchEmailsParams
NewAdminSearchEmailsParams creates a new AdminSearchEmailsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminSearchEmailsParamsWithContext ¶
func NewAdminSearchEmailsParamsWithContext(ctx context.Context) *AdminSearchEmailsParams
NewAdminSearchEmailsParamsWithContext creates a new AdminSearchEmailsParams object with the ability to set a context for a request.
func NewAdminSearchEmailsParamsWithHTTPClient ¶
func NewAdminSearchEmailsParamsWithHTTPClient(client *http.Client) *AdminSearchEmailsParams
NewAdminSearchEmailsParamsWithHTTPClient creates a new AdminSearchEmailsParams object with the ability to set a custom HTTPClient for a request.
func NewAdminSearchEmailsParamsWithTimeout ¶
func NewAdminSearchEmailsParamsWithTimeout(timeout time.Duration) *AdminSearchEmailsParams
NewAdminSearchEmailsParamsWithTimeout creates a new AdminSearchEmailsParams object with the ability to set a timeout on a request.
func (*AdminSearchEmailsParams) SetContext ¶
func (o *AdminSearchEmailsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin search emails params
func (*AdminSearchEmailsParams) SetDefaults ¶
func (o *AdminSearchEmailsParams) SetDefaults()
SetDefaults hydrates default values in the admin search emails params (not the query body).
All values with no default are reset to their zero value.
func (*AdminSearchEmailsParams) SetHTTPClient ¶
func (o *AdminSearchEmailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin search emails params
func (*AdminSearchEmailsParams) SetLimit ¶
func (o *AdminSearchEmailsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin search emails params
func (*AdminSearchEmailsParams) SetPage ¶
func (o *AdminSearchEmailsParams) SetPage(page *int64)
SetPage adds the page to the admin search emails params
func (*AdminSearchEmailsParams) SetQ ¶
func (o *AdminSearchEmailsParams) SetQ(q *string)
SetQ adds the q to the admin search emails params
func (*AdminSearchEmailsParams) SetTimeout ¶
func (o *AdminSearchEmailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin search emails params
func (*AdminSearchEmailsParams) WithContext ¶
func (o *AdminSearchEmailsParams) WithContext(ctx context.Context) *AdminSearchEmailsParams
WithContext adds the context to the admin search emails params
func (*AdminSearchEmailsParams) WithDefaults ¶
func (o *AdminSearchEmailsParams) WithDefaults() *AdminSearchEmailsParams
WithDefaults hydrates default values in the admin search emails params (not the query body).
All values with no default are reset to their zero value.
func (*AdminSearchEmailsParams) WithHTTPClient ¶
func (o *AdminSearchEmailsParams) WithHTTPClient(client *http.Client) *AdminSearchEmailsParams
WithHTTPClient adds the HTTPClient to the admin search emails params
func (*AdminSearchEmailsParams) WithLimit ¶
func (o *AdminSearchEmailsParams) WithLimit(limit *int64) *AdminSearchEmailsParams
WithLimit adds the limit to the admin search emails params
func (*AdminSearchEmailsParams) WithPage ¶
func (o *AdminSearchEmailsParams) WithPage(page *int64) *AdminSearchEmailsParams
WithPage adds the page to the admin search emails params
func (*AdminSearchEmailsParams) WithQ ¶
func (o *AdminSearchEmailsParams) WithQ(q *string) *AdminSearchEmailsParams
WithQ adds the q to the admin search emails params
func (*AdminSearchEmailsParams) WithTimeout ¶
func (o *AdminSearchEmailsParams) WithTimeout(timeout time.Duration) *AdminSearchEmailsParams
WithTimeout adds the timeout to the admin search emails params
func (*AdminSearchEmailsParams) WriteToRequest ¶
func (o *AdminSearchEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSearchEmailsReader ¶
type AdminSearchEmailsReader struct {
// contains filtered or unexported fields
}
AdminSearchEmailsReader is a Reader for the AdminSearchEmails structure.
func (*AdminSearchEmailsReader) ReadResponse ¶
func (o *AdminSearchEmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSearchUsersForbidden ¶
AdminSearchUsersForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminSearchUsersForbidden ¶
func NewAdminSearchUsersForbidden() *AdminSearchUsersForbidden
NewAdminSearchUsersForbidden creates a AdminSearchUsersForbidden with default headers values
func (*AdminSearchUsersForbidden) Code ¶
func (o *AdminSearchUsersForbidden) Code() int
Code gets the status code for the admin search users forbidden response
func (*AdminSearchUsersForbidden) Error ¶
func (o *AdminSearchUsersForbidden) Error() string
func (*AdminSearchUsersForbidden) IsClientError ¶
func (o *AdminSearchUsersForbidden) IsClientError() bool
IsClientError returns true when this admin search users forbidden response has a 4xx status code
func (*AdminSearchUsersForbidden) IsCode ¶
func (o *AdminSearchUsersForbidden) IsCode(code int) bool
IsCode returns true when this admin search users forbidden response a status code equal to that given
func (*AdminSearchUsersForbidden) IsRedirect ¶
func (o *AdminSearchUsersForbidden) IsRedirect() bool
IsRedirect returns true when this admin search users forbidden response has a 3xx status code
func (*AdminSearchUsersForbidden) IsServerError ¶
func (o *AdminSearchUsersForbidden) IsServerError() bool
IsServerError returns true when this admin search users forbidden response has a 5xx status code
func (*AdminSearchUsersForbidden) IsSuccess ¶
func (o *AdminSearchUsersForbidden) IsSuccess() bool
IsSuccess returns true when this admin search users forbidden response has a 2xx status code
func (*AdminSearchUsersForbidden) String ¶
func (o *AdminSearchUsersForbidden) String() string
type AdminSearchUsersOK ¶
AdminSearchUsersOK describes a response with status code 200, with default header values.
UserList
func NewAdminSearchUsersOK ¶
func NewAdminSearchUsersOK() *AdminSearchUsersOK
NewAdminSearchUsersOK creates a AdminSearchUsersOK with default headers values
func (*AdminSearchUsersOK) Code ¶
func (o *AdminSearchUsersOK) Code() int
Code gets the status code for the admin search users o k response
func (*AdminSearchUsersOK) Error ¶
func (o *AdminSearchUsersOK) Error() string
func (*AdminSearchUsersOK) GetPayload ¶
func (o *AdminSearchUsersOK) GetPayload() []*models.User
func (*AdminSearchUsersOK) IsClientError ¶
func (o *AdminSearchUsersOK) IsClientError() bool
IsClientError returns true when this admin search users o k response has a 4xx status code
func (*AdminSearchUsersOK) IsCode ¶
func (o *AdminSearchUsersOK) IsCode(code int) bool
IsCode returns true when this admin search users o k response a status code equal to that given
func (*AdminSearchUsersOK) IsRedirect ¶
func (o *AdminSearchUsersOK) IsRedirect() bool
IsRedirect returns true when this admin search users o k response has a 3xx status code
func (*AdminSearchUsersOK) IsServerError ¶
func (o *AdminSearchUsersOK) IsServerError() bool
IsServerError returns true when this admin search users o k response has a 5xx status code
func (*AdminSearchUsersOK) IsSuccess ¶
func (o *AdminSearchUsersOK) IsSuccess() bool
IsSuccess returns true when this admin search users o k response has a 2xx status code
func (*AdminSearchUsersOK) String ¶
func (o *AdminSearchUsersOK) String() string
type AdminSearchUsersParams ¶
type AdminSearchUsersParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* LoginName.
user's login name to search for
*/
LoginName *string
/* Page.
page number of results to return (1-based)
*/
Page *int64
/* SourceID.
ID of the user's login source to search for
Format: int64
*/
SourceID *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminSearchUsersParams contains all the parameters to send to the API endpoint
for the admin search users operation. Typically these are written to a http.Request.
func NewAdminSearchUsersParams ¶
func NewAdminSearchUsersParams() *AdminSearchUsersParams
NewAdminSearchUsersParams creates a new AdminSearchUsersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminSearchUsersParamsWithContext ¶
func NewAdminSearchUsersParamsWithContext(ctx context.Context) *AdminSearchUsersParams
NewAdminSearchUsersParamsWithContext creates a new AdminSearchUsersParams object with the ability to set a context for a request.
func NewAdminSearchUsersParamsWithHTTPClient ¶
func NewAdminSearchUsersParamsWithHTTPClient(client *http.Client) *AdminSearchUsersParams
NewAdminSearchUsersParamsWithHTTPClient creates a new AdminSearchUsersParams object with the ability to set a custom HTTPClient for a request.
func NewAdminSearchUsersParamsWithTimeout ¶
func NewAdminSearchUsersParamsWithTimeout(timeout time.Duration) *AdminSearchUsersParams
NewAdminSearchUsersParamsWithTimeout creates a new AdminSearchUsersParams object with the ability to set a timeout on a request.
func (*AdminSearchUsersParams) SetContext ¶
func (o *AdminSearchUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the admin search users params
func (*AdminSearchUsersParams) SetDefaults ¶
func (o *AdminSearchUsersParams) SetDefaults()
SetDefaults hydrates default values in the admin search users params (not the query body).
All values with no default are reset to their zero value.
func (*AdminSearchUsersParams) SetHTTPClient ¶
func (o *AdminSearchUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin search users params
func (*AdminSearchUsersParams) SetLimit ¶
func (o *AdminSearchUsersParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin search users params
func (*AdminSearchUsersParams) SetLoginName ¶
func (o *AdminSearchUsersParams) SetLoginName(loginName *string)
SetLoginName adds the loginName to the admin search users params
func (*AdminSearchUsersParams) SetPage ¶
func (o *AdminSearchUsersParams) SetPage(page *int64)
SetPage adds the page to the admin search users params
func (*AdminSearchUsersParams) SetSourceID ¶
func (o *AdminSearchUsersParams) SetSourceID(sourceID *int64)
SetSourceID adds the sourceId to the admin search users params
func (*AdminSearchUsersParams) SetTimeout ¶
func (o *AdminSearchUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin search users params
func (*AdminSearchUsersParams) WithContext ¶
func (o *AdminSearchUsersParams) WithContext(ctx context.Context) *AdminSearchUsersParams
WithContext adds the context to the admin search users params
func (*AdminSearchUsersParams) WithDefaults ¶
func (o *AdminSearchUsersParams) WithDefaults() *AdminSearchUsersParams
WithDefaults hydrates default values in the admin search users params (not the query body).
All values with no default are reset to their zero value.
func (*AdminSearchUsersParams) WithHTTPClient ¶
func (o *AdminSearchUsersParams) WithHTTPClient(client *http.Client) *AdminSearchUsersParams
WithHTTPClient adds the HTTPClient to the admin search users params
func (*AdminSearchUsersParams) WithLimit ¶
func (o *AdminSearchUsersParams) WithLimit(limit *int64) *AdminSearchUsersParams
WithLimit adds the limit to the admin search users params
func (*AdminSearchUsersParams) WithLoginName ¶
func (o *AdminSearchUsersParams) WithLoginName(loginName *string) *AdminSearchUsersParams
WithLoginName adds the loginName to the admin search users params
func (*AdminSearchUsersParams) WithPage ¶
func (o *AdminSearchUsersParams) WithPage(page *int64) *AdminSearchUsersParams
WithPage adds the page to the admin search users params
func (*AdminSearchUsersParams) WithSourceID ¶
func (o *AdminSearchUsersParams) WithSourceID(sourceID *int64) *AdminSearchUsersParams
WithSourceID adds the sourceID to the admin search users params
func (*AdminSearchUsersParams) WithTimeout ¶
func (o *AdminSearchUsersParams) WithTimeout(timeout time.Duration) *AdminSearchUsersParams
WithTimeout adds the timeout to the admin search users params
func (*AdminSearchUsersParams) WriteToRequest ¶
func (o *AdminSearchUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSearchUsersReader ¶
type AdminSearchUsersReader struct {
// contains filtered or unexported fields
}
AdminSearchUsersReader is a Reader for the AdminSearchUsers structure.
func (*AdminSearchUsersReader) ReadResponse ¶
func (o *AdminSearchUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUnadoptedListForbidden ¶
AdminUnadoptedListForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewAdminUnadoptedListForbidden ¶
func NewAdminUnadoptedListForbidden() *AdminUnadoptedListForbidden
NewAdminUnadoptedListForbidden creates a AdminUnadoptedListForbidden with default headers values
func (*AdminUnadoptedListForbidden) Code ¶
func (o *AdminUnadoptedListForbidden) Code() int
Code gets the status code for the admin unadopted list forbidden response
func (*AdminUnadoptedListForbidden) Error ¶
func (o *AdminUnadoptedListForbidden) Error() string
func (*AdminUnadoptedListForbidden) IsClientError ¶
func (o *AdminUnadoptedListForbidden) IsClientError() bool
IsClientError returns true when this admin unadopted list forbidden response has a 4xx status code
func (*AdminUnadoptedListForbidden) IsCode ¶
func (o *AdminUnadoptedListForbidden) IsCode(code int) bool
IsCode returns true when this admin unadopted list forbidden response a status code equal to that given
func (*AdminUnadoptedListForbidden) IsRedirect ¶
func (o *AdminUnadoptedListForbidden) IsRedirect() bool
IsRedirect returns true when this admin unadopted list forbidden response has a 3xx status code
func (*AdminUnadoptedListForbidden) IsServerError ¶
func (o *AdminUnadoptedListForbidden) IsServerError() bool
IsServerError returns true when this admin unadopted list forbidden response has a 5xx status code
func (*AdminUnadoptedListForbidden) IsSuccess ¶
func (o *AdminUnadoptedListForbidden) IsSuccess() bool
IsSuccess returns true when this admin unadopted list forbidden response has a 2xx status code
func (*AdminUnadoptedListForbidden) String ¶
func (o *AdminUnadoptedListForbidden) String() string
type AdminUnadoptedListOK ¶
type AdminUnadoptedListOK struct {
Payload []string
}
AdminUnadoptedListOK describes a response with status code 200, with default header values.
StringSlice
func NewAdminUnadoptedListOK ¶
func NewAdminUnadoptedListOK() *AdminUnadoptedListOK
NewAdminUnadoptedListOK creates a AdminUnadoptedListOK with default headers values
func (*AdminUnadoptedListOK) Code ¶
func (o *AdminUnadoptedListOK) Code() int
Code gets the status code for the admin unadopted list o k response
func (*AdminUnadoptedListOK) Error ¶
func (o *AdminUnadoptedListOK) Error() string
func (*AdminUnadoptedListOK) GetPayload ¶
func (o *AdminUnadoptedListOK) GetPayload() []string
func (*AdminUnadoptedListOK) IsClientError ¶
func (o *AdminUnadoptedListOK) IsClientError() bool
IsClientError returns true when this admin unadopted list o k response has a 4xx status code
func (*AdminUnadoptedListOK) IsCode ¶
func (o *AdminUnadoptedListOK) IsCode(code int) bool
IsCode returns true when this admin unadopted list o k response a status code equal to that given
func (*AdminUnadoptedListOK) IsRedirect ¶
func (o *AdminUnadoptedListOK) IsRedirect() bool
IsRedirect returns true when this admin unadopted list o k response has a 3xx status code
func (*AdminUnadoptedListOK) IsServerError ¶
func (o *AdminUnadoptedListOK) IsServerError() bool
IsServerError returns true when this admin unadopted list o k response has a 5xx status code
func (*AdminUnadoptedListOK) IsSuccess ¶
func (o *AdminUnadoptedListOK) IsSuccess() bool
IsSuccess returns true when this admin unadopted list o k response has a 2xx status code
func (*AdminUnadoptedListOK) String ¶
func (o *AdminUnadoptedListOK) String() string
type AdminUnadoptedListParams ¶
type AdminUnadoptedListParams struct {
/* Limit.
page size of results
*/
Limit *int64
/* Page.
page number of results to return (1-based)
*/
Page *int64
/* Pattern.
pattern of repositories to search for
*/
Pattern *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminUnadoptedListParams contains all the parameters to send to the API endpoint
for the admin unadopted list operation. Typically these are written to a http.Request.
func NewAdminUnadoptedListParams ¶
func NewAdminUnadoptedListParams() *AdminUnadoptedListParams
NewAdminUnadoptedListParams creates a new AdminUnadoptedListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdminUnadoptedListParamsWithContext ¶
func NewAdminUnadoptedListParamsWithContext(ctx context.Context) *AdminUnadoptedListParams
NewAdminUnadoptedListParamsWithContext creates a new AdminUnadoptedListParams object with the ability to set a context for a request.
func NewAdminUnadoptedListParamsWithHTTPClient ¶
func NewAdminUnadoptedListParamsWithHTTPClient(client *http.Client) *AdminUnadoptedListParams
NewAdminUnadoptedListParamsWithHTTPClient creates a new AdminUnadoptedListParams object with the ability to set a custom HTTPClient for a request.
func NewAdminUnadoptedListParamsWithTimeout ¶
func NewAdminUnadoptedListParamsWithTimeout(timeout time.Duration) *AdminUnadoptedListParams
NewAdminUnadoptedListParamsWithTimeout creates a new AdminUnadoptedListParams object with the ability to set a timeout on a request.
func (*AdminUnadoptedListParams) SetContext ¶
func (o *AdminUnadoptedListParams) SetContext(ctx context.Context)
SetContext adds the context to the admin unadopted list params
func (*AdminUnadoptedListParams) SetDefaults ¶
func (o *AdminUnadoptedListParams) SetDefaults()
SetDefaults hydrates default values in the admin unadopted list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUnadoptedListParams) SetHTTPClient ¶
func (o *AdminUnadoptedListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin unadopted list params
func (*AdminUnadoptedListParams) SetLimit ¶
func (o *AdminUnadoptedListParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin unadopted list params
func (*AdminUnadoptedListParams) SetPage ¶
func (o *AdminUnadoptedListParams) SetPage(page *int64)
SetPage adds the page to the admin unadopted list params
func (*AdminUnadoptedListParams) SetPattern ¶
func (o *AdminUnadoptedListParams) SetPattern(pattern *string)
SetPattern adds the pattern to the admin unadopted list params
func (*AdminUnadoptedListParams) SetTimeout ¶
func (o *AdminUnadoptedListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin unadopted list params
func (*AdminUnadoptedListParams) WithContext ¶
func (o *AdminUnadoptedListParams) WithContext(ctx context.Context) *AdminUnadoptedListParams
WithContext adds the context to the admin unadopted list params
func (*AdminUnadoptedListParams) WithDefaults ¶
func (o *AdminUnadoptedListParams) WithDefaults() *AdminUnadoptedListParams
WithDefaults hydrates default values in the admin unadopted list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminUnadoptedListParams) WithHTTPClient ¶
func (o *AdminUnadoptedListParams) WithHTTPClient(client *http.Client) *AdminUnadoptedListParams
WithHTTPClient adds the HTTPClient to the admin unadopted list params
func (*AdminUnadoptedListParams) WithLimit ¶
func (o *AdminUnadoptedListParams) WithLimit(limit *int64) *AdminUnadoptedListParams
WithLimit adds the limit to the admin unadopted list params
func (*AdminUnadoptedListParams) WithPage ¶
func (o *AdminUnadoptedListParams) WithPage(page *int64) *AdminUnadoptedListParams
WithPage adds the page to the admin unadopted list params
func (*AdminUnadoptedListParams) WithPattern ¶
func (o *AdminUnadoptedListParams) WithPattern(pattern *string) *AdminUnadoptedListParams
WithPattern adds the pattern to the admin unadopted list params
func (*AdminUnadoptedListParams) WithTimeout ¶
func (o *AdminUnadoptedListParams) WithTimeout(timeout time.Duration) *AdminUnadoptedListParams
WithTimeout adds the timeout to the admin unadopted list params
func (*AdminUnadoptedListParams) WriteToRequest ¶
func (o *AdminUnadoptedListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUnadoptedListReader ¶
type AdminUnadoptedListReader struct {
// contains filtered or unexported fields
}
AdminUnadoptedListReader is a Reader for the AdminUnadoptedList structure.
func (*AdminUnadoptedListReader) ReadResponse ¶
func (o *AdminUnadoptedListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin API
func (*Client) AdminAddUserBadges ¶
func (a *Client) AdminAddUserBadges(params *AdminAddUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAddUserBadgesNoContent, error)
AdminAddUserBadges adds a badge to a user
func (*Client) AdminAdoptRepository ¶
func (a *Client) AdminAdoptRepository(params *AdminAdoptRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAdoptRepositoryNoContent, error)
AdminAdoptRepository adopts unadopted files as a repository
func (*Client) AdminCreateHook ¶
func (a *Client) AdminCreateHook(params *AdminCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateHookCreated, error)
AdminCreateHook creates a hook
func (*Client) AdminCreateOrg ¶
func (a *Client) AdminCreateOrg(params *AdminCreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateOrgCreated, error)
AdminCreateOrg creates an organization
func (*Client) AdminCreatePublicKey ¶
func (a *Client) AdminCreatePublicKey(params *AdminCreatePublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreatePublicKeyCreated, error)
AdminCreatePublicKey adds a public key on behalf of a user
func (*Client) AdminCreateRepo ¶
func (a *Client) AdminCreateRepo(params *AdminCreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateRepoCreated, error)
AdminCreateRepo creates a repository on behalf of a user
func (*Client) AdminCreateUser ¶
func (a *Client) AdminCreateUser(params *AdminCreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateUserCreated, error)
AdminCreateUser creates a user
func (*Client) AdminCronList ¶
func (a *Client) AdminCronList(params *AdminCronListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronListOK, error)
AdminCronList lists cron tasks
func (*Client) AdminCronRun ¶
func (a *Client) AdminCronRun(params *AdminCronRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronRunNoContent, error)
AdminCronRun runs cron task
func (*Client) AdminDeleteHook ¶
func (a *Client) AdminDeleteHook(params *AdminDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteHookNoContent, error)
AdminDeleteHook deletes a hook
func (*Client) AdminDeleteUnadoptedRepository ¶
func (a *Client) AdminDeleteUnadoptedRepository(params *AdminDeleteUnadoptedRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUnadoptedRepositoryNoContent, error)
AdminDeleteUnadoptedRepository deletes unadopted files
func (*Client) AdminDeleteUser ¶
func (a *Client) AdminDeleteUser(params *AdminDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserNoContent, error)
AdminDeleteUser deletes a user
func (*Client) AdminDeleteUserBadges ¶
func (a *Client) AdminDeleteUserBadges(params *AdminDeleteUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserBadgesNoContent, error)
AdminDeleteUserBadges removes a badge from a user
func (*Client) AdminDeleteUserPublicKey ¶
func (a *Client) AdminDeleteUserPublicKey(params *AdminDeleteUserPublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserPublicKeyNoContent, error)
AdminDeleteUserPublicKey deletes a user s public key
func (*Client) AdminEditHook ¶
func (a *Client) AdminEditHook(params *AdminEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditHookOK, error)
AdminEditHook updates a hook
func (*Client) AdminEditUser ¶
func (a *Client) AdminEditUser(params *AdminEditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditUserOK, error)
AdminEditUser edits an existing user
func (*Client) AdminGetAllEmails ¶
func (a *Client) AdminGetAllEmails(params *AdminGetAllEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllEmailsOK, error)
AdminGetAllEmails lists all emails
func (*Client) AdminGetAllOrgs ¶
func (a *Client) AdminGetAllOrgs(params *AdminGetAllOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllOrgsOK, error)
AdminGetAllOrgs lists all organizations
func (*Client) AdminGetHook ¶
func (a *Client) AdminGetHook(params *AdminGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetHookOK, error)
AdminGetHook gets a hook
func (*Client) AdminGetRunnerRegistrationToken ¶
func (a *Client) AdminGetRunnerRegistrationToken(params *AdminGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetRunnerRegistrationTokenOK, error)
AdminGetRunnerRegistrationToken gets an global actions runner registration token
func (*Client) AdminListHooks ¶
func (a *Client) AdminListHooks(params *AdminListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListHooksOK, error)
AdminListHooks lists system s webhooks
func (*Client) AdminListUserBadges ¶
func (a *Client) AdminListUserBadges(params *AdminListUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListUserBadgesOK, error)
AdminListUserBadges lists a user s badges
func (*Client) AdminRenameUser ¶
func (a *Client) AdminRenameUser(params *AdminRenameUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRenameUserNoContent, error)
AdminRenameUser renames a user
func (*Client) AdminSearchEmails ¶
func (a *Client) AdminSearchEmails(params *AdminSearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchEmailsOK, error)
AdminSearchEmails searches all emails
func (*Client) AdminSearchUsers ¶
func (a *Client) AdminSearchUsers(params *AdminSearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchUsersOK, error)
AdminSearchUsers searches users according filter conditions
func (*Client) AdminUnadoptedList ¶
func (a *Client) AdminUnadoptedList(params *AdminUnadoptedListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminUnadoptedListOK, error)
AdminUnadoptedList lists unadopted repositories
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
AdminAddUserBadges(params *AdminAddUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAddUserBadgesNoContent, error)
AdminAdoptRepository(params *AdminAdoptRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAdoptRepositoryNoContent, error)
AdminCreateHook(params *AdminCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateHookCreated, error)
AdminCreateOrg(params *AdminCreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateOrgCreated, error)
AdminCreatePublicKey(params *AdminCreatePublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreatePublicKeyCreated, error)
AdminCreateRepo(params *AdminCreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateRepoCreated, error)
AdminCreateUser(params *AdminCreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateUserCreated, error)
AdminCronList(params *AdminCronListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronListOK, error)
AdminCronRun(params *AdminCronRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronRunNoContent, error)
AdminDeleteHook(params *AdminDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteHookNoContent, error)
AdminDeleteUnadoptedRepository(params *AdminDeleteUnadoptedRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUnadoptedRepositoryNoContent, error)
AdminDeleteUser(params *AdminDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserNoContent, error)
AdminDeleteUserBadges(params *AdminDeleteUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserBadgesNoContent, error)
AdminDeleteUserPublicKey(params *AdminDeleteUserPublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserPublicKeyNoContent, error)
AdminEditHook(params *AdminEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditHookOK, error)
AdminEditUser(params *AdminEditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditUserOK, error)
AdminGetAllEmails(params *AdminGetAllEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllEmailsOK, error)
AdminGetAllOrgs(params *AdminGetAllOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllOrgsOK, error)
AdminGetHook(params *AdminGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetHookOK, error)
AdminGetRunnerRegistrationToken(params *AdminGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetRunnerRegistrationTokenOK, error)
AdminListHooks(params *AdminListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListHooksOK, error)
AdminListUserBadges(params *AdminListUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListUserBadgesOK, error)
AdminRenameUser(params *AdminRenameUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRenameUserNoContent, error)
AdminSearchEmails(params *AdminSearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchEmailsOK, error)
AdminSearchUsers(params *AdminSearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchUsersOK, error)
AdminUnadoptedList(params *AdminUnadoptedListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminUnadoptedListOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new admin API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new admin API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
Source Files
¶
- admin_add_user_badges_parameters.go
- admin_add_user_badges_responses.go
- admin_adopt_repository_parameters.go
- admin_adopt_repository_responses.go
- admin_client.go
- admin_create_hook_parameters.go
- admin_create_hook_responses.go
- admin_create_org_parameters.go
- admin_create_org_responses.go
- admin_create_public_key_parameters.go
- admin_create_public_key_responses.go
- admin_create_repo_parameters.go
- admin_create_repo_responses.go
- admin_create_user_parameters.go
- admin_create_user_responses.go
- admin_cron_list_parameters.go
- admin_cron_list_responses.go
- admin_cron_run_parameters.go
- admin_cron_run_responses.go
- admin_delete_hook_parameters.go
- admin_delete_hook_responses.go
- admin_delete_unadopted_repository_parameters.go
- admin_delete_unadopted_repository_responses.go
- admin_delete_user_badges_parameters.go
- admin_delete_user_badges_responses.go
- admin_delete_user_parameters.go
- admin_delete_user_public_key_parameters.go
- admin_delete_user_public_key_responses.go
- admin_delete_user_responses.go
- admin_edit_hook_parameters.go
- admin_edit_hook_responses.go
- admin_edit_user_parameters.go
- admin_edit_user_responses.go
- admin_get_all_emails_parameters.go
- admin_get_all_emails_responses.go
- admin_get_all_orgs_parameters.go
- admin_get_all_orgs_responses.go
- admin_get_hook_parameters.go
- admin_get_hook_responses.go
- admin_get_runner_registration_token_parameters.go
- admin_get_runner_registration_token_responses.go
- admin_list_hooks_parameters.go
- admin_list_hooks_responses.go
- admin_list_user_badges_parameters.go
- admin_list_user_badges_responses.go
- admin_rename_user_parameters.go
- admin_rename_user_responses.go
- admin_search_emails_parameters.go
- admin_search_emails_responses.go
- admin_search_users_parameters.go
- admin_search_users_responses.go
- admin_unadopted_list_parameters.go
- admin_unadopted_list_responses.go