Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteV5EnterprisesEnterpriseMembersUsername(params *DeleteV5EnterprisesEnterpriseMembersUsernameParams, ...) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
- func (a *Client) DeleteV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, ...) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
- func (a *Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID(params *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams, ...) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
- func (a *Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext(ctx context.Context, ...) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
- func (a *Client) GetV5EnterpriseEnterprisePullRequests(params *GetV5EnterpriseEnterprisePullRequestsParams, opts ...ClientOption) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
- func (a *Client) GetV5EnterpriseEnterprisePullRequestsContext(ctx context.Context, params *GetV5EnterpriseEnterprisePullRequestsParams, ...) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
- func (a *Client) GetV5EnterprisesEnterprise(params *GetV5EnterprisesEnterpriseParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseContext(ctx context.Context, params *GetV5EnterprisesEnterpriseParams, ...) (*GetV5EnterprisesEnterpriseOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembers(params *GetV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersParams, ...) (*GetV5EnterprisesEnterpriseMembersOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembersSearch(params *GetV5EnterprisesEnterpriseMembersSearchParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembersSearchContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersSearchParams, ...) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembersUsername(params *GetV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersUsernameParams, ...) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReports(params *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams, ...) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext(ctx context.Context, ...) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReports(params *GetV5EnterprisesEnterpriseWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReportsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsParams, ...) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReportsID(params *GetV5EnterprisesEnterpriseWeekReportsIDParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDComments(params *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams, ...) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext(ctx context.Context, ...) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsIDParams, ...) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
- func (a *Client) GetV5UserEnterprises(params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
- func (a *Client) GetV5UserEnterprisesContext(ctx context.Context, params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
- func (a *Client) PatchV5EnterprisesEnterpriseWeekReportID(params *PatchV5EnterprisesEnterpriseWeekReportIDParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
- func (a *Client) PatchV5EnterprisesEnterpriseWeekReportIDContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseWeekReportIDParams, ...) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
- func (a *Client) PostV5EnterprisesEnterpriseMembers(params *PostV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
- func (a *Client) PostV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *PostV5EnterprisesEnterpriseMembersParams, ...) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
- func (a *Client) PostV5EnterprisesEnterpriseWeekReport(params *PostV5EnterprisesEnterpriseWeekReportParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
- func (a *Client) PostV5EnterprisesEnterpriseWeekReportContext(ctx context.Context, params *PostV5EnterprisesEnterpriseWeekReportParams, ...) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
- func (a *Client) PostV5EnterprisesEnterpriseWeekReportsIDComment(params *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams, ...) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
- func (a *Client) PostV5EnterprisesEnterpriseWeekReportsIDCommentContext(ctx context.Context, ...) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
- func (a *Client) PutV5EnterprisesEnterpriseMembersUsername(params *PutV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
- func (a *Client) PutV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *PutV5EnterprisesEnterpriseMembersUsernameParams, ...) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type DeleteV5EnterprisesEnterpriseMembersUsernameForbidden
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Code() int
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Error() string
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode(code int) bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) String() string
- type DeleteV5EnterprisesEnterpriseMembersUsernameNoContent
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Code() int
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Error() string
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsClientError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsCode(code int) bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsRedirect() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsServerError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsSuccess() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) String() string
- type DeleteV5EnterprisesEnterpriseMembersUsernameNotFound
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
- type DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func NewDeleteV5EnterprisesEnterpriseMembersUsernameParams() *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
- func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV5EnterprisesEnterpriseMembersUsernameReader
- type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Code() int
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Error() string
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsClientError() bool
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsCode(code int) bool
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsRedirect() bool
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsServerError() bool
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsSuccess() bool
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) String() string
- type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams() *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsdeprecated
- func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetAccessToken(accessToken *string)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetDefaults()
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetEnterprise(enterprise string)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetID(id int32)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetReportID(reportID int32)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithAccessToken(accessToken *string) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsdeprecated
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithDefaults() *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithEnterprise(enterprise string) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithID(id int32) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithReportID(reportID int32) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
- func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader
- type GetV5EnterpriseEnterprisePullRequestsOK
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) Code() int
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) Error() string
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) GetPayload() []*models.PullRequest
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsClientError() bool
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsCode(code int) bool
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsRedirect() bool
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsServerError() bool
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsSuccess() bool
- func (o *GetV5EnterpriseEnterprisePullRequestsOK) String() string
- type GetV5EnterpriseEnterprisePullRequestsParams
- func NewGetV5EnterpriseEnterprisePullRequestsParams() *GetV5EnterpriseEnterprisePullRequestsParams
- func NewGetV5EnterpriseEnterprisePullRequestsParamsWithContext(ctx context.Context) *GetV5EnterpriseEnterprisePullRequestsParamsdeprecated
- func NewGetV5EnterpriseEnterprisePullRequestsParamsWithHTTPClient(client *http.Client) *GetV5EnterpriseEnterprisePullRequestsParams
- func NewGetV5EnterpriseEnterprisePullRequestsParamsWithTimeout(timeout time.Duration) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetBase(base *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetDefaults()
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetDirection(direction *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetHead(head *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetIssueNumber(issueNumber *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetLabels(labels *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetMilestoneNumber(milestoneNumber *int32)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetPage(page *int32)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetProgramID(programID *int32)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetRepo(repo *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetSince(since *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetSort(sort *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetState(state *string)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithAccessToken(accessToken *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithBase(base *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithContext(ctx context.Context) *GetV5EnterpriseEnterprisePullRequestsParamsdeprecated
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithDefaults() *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithDirection(direction *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithEnterprise(enterprise string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithHTTPClient(client *http.Client) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithHead(head *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithIssueNumber(issueNumber *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithLabels(labels *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithMilestoneNumber(milestoneNumber *int32) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithPage(page *int32) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithPerPage(perPage *int32) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithProgramID(programID *int32) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithRepo(repo *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithSince(since *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithSort(sort *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithState(state *string) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithTimeout(timeout time.Duration) *GetV5EnterpriseEnterprisePullRequestsParams
- func (o *GetV5EnterpriseEnterprisePullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterpriseEnterprisePullRequestsReader
- type GetV5EnterprisesEnterpriseForbidden
- func (o *GetV5EnterprisesEnterpriseForbidden) Code() int
- func (o *GetV5EnterprisesEnterpriseForbidden) Error() string
- func (o *GetV5EnterprisesEnterpriseForbidden) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseForbidden) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseForbidden) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseForbidden) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseForbidden) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseForbidden) String() string
- type GetV5EnterprisesEnterpriseMembersForbidden
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersForbidden) String() string
- type GetV5EnterprisesEnterpriseMembersNotFound
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersNotFound) String() string
- type GetV5EnterprisesEnterpriseMembersOK
- func (o *GetV5EnterprisesEnterpriseMembersOK) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersOK) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersOK) GetPayload() []*models.EnterpriseMember
- func (o *GetV5EnterprisesEnterpriseMembersOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersOK) String() string
- type GetV5EnterprisesEnterpriseMembersParams
- func NewGetV5EnterprisesEnterpriseMembersParams() *GetV5EnterprisesEnterpriseMembersParams
- func NewGetV5EnterprisesEnterpriseMembersParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersParamsdeprecated
- func NewGetV5EnterprisesEnterpriseMembersParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersParams
- func NewGetV5EnterprisesEnterpriseMembersParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetRole(role *string)
- func (o *GetV5EnterprisesEnterpriseMembersParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithRole(role *string) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersParams
- func (o *GetV5EnterprisesEnterpriseMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseMembersReader
- type GetV5EnterprisesEnterpriseMembersSearchOK
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) GetPayload() *models.EnterpriseMember
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersSearchOK) String() string
- type GetV5EnterprisesEnterpriseMembersSearchParams
- func NewGetV5EnterprisesEnterpriseMembersSearchParams() *GetV5EnterprisesEnterpriseMembersSearchParams
- func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersSearchParamsdeprecated
- func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersSearchParams
- func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryType(queryType string)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryValue(queryValue string)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersSearchParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryType(queryType string) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryValue(queryValue string) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersSearchParams
- func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseMembersSearchReader
- type GetV5EnterprisesEnterpriseMembersUsernameNotFound
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
- type GetV5EnterprisesEnterpriseMembersUsernameOK
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) Code() int
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) Error() string
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) GetPayload() *models.EnterpriseMember
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) String() string
- type GetV5EnterprisesEnterpriseMembersUsernameParams
- func NewGetV5EnterprisesEnterpriseMembersUsernameParams() *GetV5EnterprisesEnterpriseMembersUsernameParams
- func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *GetV5EnterprisesEnterpriseMembersUsernameParams
- func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseMembersUsernameReader
- type GetV5EnterprisesEnterpriseNotFound
- func (o *GetV5EnterprisesEnterpriseNotFound) Code() int
- func (o *GetV5EnterprisesEnterpriseNotFound) Error() string
- func (o *GetV5EnterprisesEnterpriseNotFound) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseNotFound) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseNotFound) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseNotFound) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseNotFound) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseNotFound) String() string
- type GetV5EnterprisesEnterpriseOK
- func (o *GetV5EnterprisesEnterpriseOK) Code() int
- func (o *GetV5EnterprisesEnterpriseOK) Error() string
- func (o *GetV5EnterprisesEnterpriseOK) GetPayload() *models.EnterpriseBasic
- func (o *GetV5EnterprisesEnterpriseOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseOK) String() string
- type GetV5EnterprisesEnterpriseParams
- func NewGetV5EnterprisesEnterpriseParams() *GetV5EnterprisesEnterpriseParams
- func NewGetV5EnterprisesEnterpriseParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseParamsdeprecated
- func NewGetV5EnterprisesEnterpriseParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseParams
- func NewGetV5EnterprisesEnterpriseParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseParams) WithDefaults() *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseParams
- func (o *GetV5EnterprisesEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseReader
- type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) GetPayload() []*models.WeekReport
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) String() string
- type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams() *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetUsername(username string)
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithDefaults() *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithUsername(username string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader
- type GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) GetPayload() []*models.Note
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) String() string
- type GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParams() *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetID(id int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithID(id int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader
- type GetV5EnterprisesEnterpriseWeekReportsIDOK
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) Code() int
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) Error() string
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) GetPayload() *models.WeekReport
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) String() string
- type GetV5EnterprisesEnterpriseWeekReportsIDParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDParams() *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDParamsdeprecated
- func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetID(id int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithID(id int32) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseWeekReportsIDReader
- type GetV5EnterprisesEnterpriseWeekReportsOK
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) GetPayload() []*models.WeekReport
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseWeekReportsOK) String() string
- type GetV5EnterprisesEnterpriseWeekReportsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsParams() *GetV5EnterprisesEnterpriseWeekReportsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsParams
- func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetDate(date *string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetUsername(username *string)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetWeekIndex(weekIndex *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetYear(year *int32)
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithDate(date *string) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithUsername(username *string) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithWeekIndex(weekIndex *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithYear(year *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
- func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseWeekReportsReader
- type GetV5UserEnterprisesOK
- func (o *GetV5UserEnterprisesOK) Code() int
- func (o *GetV5UserEnterprisesOK) Error() string
- func (o *GetV5UserEnterprisesOK) GetPayload() []*models.EnterpriseBasic
- func (o *GetV5UserEnterprisesOK) IsClientError() bool
- func (o *GetV5UserEnterprisesOK) IsCode(code int) bool
- func (o *GetV5UserEnterprisesOK) IsRedirect() bool
- func (o *GetV5UserEnterprisesOK) IsServerError() bool
- func (o *GetV5UserEnterprisesOK) IsSuccess() bool
- func (o *GetV5UserEnterprisesOK) String() string
- type GetV5UserEnterprisesParams
- func NewGetV5UserEnterprisesParams() *GetV5UserEnterprisesParams
- func NewGetV5UserEnterprisesParamsWithContext(ctx context.Context) *GetV5UserEnterprisesParamsdeprecated
- func NewGetV5UserEnterprisesParamsWithHTTPClient(client *http.Client) *GetV5UserEnterprisesParams
- func NewGetV5UserEnterprisesParamsWithTimeout(timeout time.Duration) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) SetAccessToken(accessToken *string)
- func (o *GetV5UserEnterprisesParams) SetAdmin(admin *bool)
- func (o *GetV5UserEnterprisesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5UserEnterprisesParams) SetDefaults()
- func (o *GetV5UserEnterprisesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5UserEnterprisesParams) SetPage(page *int32)
- func (o *GetV5UserEnterprisesParams) SetPerPage(perPage *int32)
- func (o *GetV5UserEnterprisesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5UserEnterprisesParams) WithAccessToken(accessToken *string) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithAdmin(admin *bool) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithContext(ctx context.Context) *GetV5UserEnterprisesParamsdeprecated
- func (o *GetV5UserEnterprisesParams) WithDefaults() *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithHTTPClient(client *http.Client) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithPage(page *int32) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithPerPage(perPage *int32) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WithTimeout(timeout time.Duration) *GetV5UserEnterprisesParams
- func (o *GetV5UserEnterprisesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5UserEnterprisesReader
- type PatchV5EnterprisesEnterpriseWeekReportIDOK
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) Code() int
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) Error() string
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) GetPayload() *models.WeekReport
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsClientError() bool
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsCode(code int) bool
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsRedirect() bool
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsServerError() bool
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsSuccess() bool
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) String() string
- type PatchV5EnterprisesEnterpriseWeekReportIDParams
- func NewPatchV5EnterprisesEnterpriseWeekReportIDParams() *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseWeekReportIDParamsdeprecated
- func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetAccessToken(accessToken *string)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContent(content string)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContext(ctx context.Context)deprecated
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetDefaults()
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetEnterprise(enterprise string)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetID(id int32)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithAccessToken(accessToken *string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContent(content string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseWeekReportIDParamsdeprecated
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithDefaults() *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithEnterprise(enterprise string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithID(id int32) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseWeekReportIDParams
- func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV5EnterprisesEnterpriseWeekReportIDReader
- type PostV5EnterprisesEnterpriseMembersForbidden
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) Code() int
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) Error() string
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsClientError() bool
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsCode(code int) bool
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsRedirect() bool
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsServerError() bool
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsSuccess() bool
- func (o *PostV5EnterprisesEnterpriseMembersForbidden) String() string
- type PostV5EnterprisesEnterpriseMembersNoContent
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) Code() int
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) Error() string
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsClientError() bool
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsCode(code int) bool
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsRedirect() bool
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsServerError() bool
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsSuccess() bool
- func (o *PostV5EnterprisesEnterpriseMembersNoContent) String() string
- type PostV5EnterprisesEnterpriseMembersNotFound
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) Code() int
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) Error() string
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsClientError() bool
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsCode(code int) bool
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsRedirect() bool
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsServerError() bool
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsSuccess() bool
- func (o *PostV5EnterprisesEnterpriseMembersNotFound) String() string
- type PostV5EnterprisesEnterpriseMembersParams
- func NewPostV5EnterprisesEnterpriseMembersParams() *PostV5EnterprisesEnterpriseMembersParams
- func NewPostV5EnterprisesEnterpriseMembersParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseMembersParamsdeprecated
- func NewPostV5EnterprisesEnterpriseMembersParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseMembersParams
- func NewPostV5EnterprisesEnterpriseMembersParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetAccessToken(accessToken *string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetContext(ctx context.Context)deprecated
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetDefaults()
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetEmail(email *string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetEnterprise(enterprise string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetHTTPClient(client *http.Client)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetName(name *string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetRole(role *string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetTimeout(timeout time.Duration)
- func (o *PostV5EnterprisesEnterpriseMembersParams) SetUsername(username *string)
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseMembersParamsdeprecated
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithDefaults() *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithEmail(email *string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithName(name *string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithRole(role *string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WithUsername(username *string) *PostV5EnterprisesEnterpriseMembersParams
- func (o *PostV5EnterprisesEnterpriseMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV5EnterprisesEnterpriseMembersReader
- type PostV5EnterprisesEnterpriseWeekReportCreated
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) Code() int
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) Error() string
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) GetPayload() *models.WeekReport
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsClientError() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsCode(code int) bool
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsRedirect() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsServerError() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsSuccess() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportCreated) String() string
- type PostV5EnterprisesEnterpriseWeekReportParams
- func NewPostV5EnterprisesEnterpriseWeekReportParams() *PostV5EnterprisesEnterpriseWeekReportParams
- func NewPostV5EnterprisesEnterpriseWeekReportParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportParamsdeprecated
- func NewPostV5EnterprisesEnterpriseWeekReportParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportParams
- func NewPostV5EnterprisesEnterpriseWeekReportParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetAccessToken(accessToken *string)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetContent(content string)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetContext(ctx context.Context)deprecated
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetDate(date *string)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetDefaults()
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetEnterprise(enterprise string)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetHTTPClient(client *http.Client)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetTimeout(timeout time.Duration)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetWeekIndex(weekIndex int32)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetYear(year int32)
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithContent(content string) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportParamsdeprecated
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithDate(date *string) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithDefaults() *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithWeekIndex(weekIndex int32) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithYear(year int32) *PostV5EnterprisesEnterpriseWeekReportParams
- func (o *PostV5EnterprisesEnterpriseWeekReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV5EnterprisesEnterpriseWeekReportReader
- type PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Code() int
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Error() string
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) GetPayload() *models.Note
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsClientError() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsCode(code int) bool
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsRedirect() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsServerError() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsSuccess() bool
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) String() string
- type PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParams() *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParamsdeprecated
- func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetAccessToken(accessToken *string)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetBody(body string)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetContext(ctx context.Context)deprecated
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetDefaults()
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetEnterprise(enterprise string)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetHTTPClient(client *http.Client)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetID(id int32)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetTimeout(timeout time.Duration)
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithBody(body string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParamsdeprecated
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithDefaults() *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithID(id int32) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
- func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV5EnterprisesEnterpriseWeekReportsIDCommentReader
- type PutV5EnterprisesEnterpriseMembersUsernameBadRequest
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Code() int
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Error() string
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsClientError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsCode(code int) bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsRedirect() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsServerError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsSuccess() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) String() string
- type PutV5EnterprisesEnterpriseMembersUsernameForbidden
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) Code() int
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) Error() string
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode(code int) bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) String() string
- type PutV5EnterprisesEnterpriseMembersUsernameNotFound
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
- type PutV5EnterprisesEnterpriseMembersUsernameOK
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) Code() int
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) Error() string
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) GetPayload() *models.EnterpriseMember
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsClientError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsCode(code int) bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsServerError() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess() bool
- func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) String() string
- type PutV5EnterprisesEnterpriseMembersUsernameParams
- func NewPutV5EnterprisesEnterpriseMembersUsernameParams() *PutV5EnterprisesEnterpriseMembersUsernameParams
- func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *PutV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetActive(active *bool)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)deprecated
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetName(name *string)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetRole(role *string)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithActive(active *bool) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *PutV5EnterprisesEnterpriseMembersUsernameParamsdeprecated
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithName(name *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithRole(role *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *PutV5EnterprisesEnterpriseMembersUsernameParams
- func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV5EnterprisesEnterpriseMembersUsernameReader
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 WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for enterprises API.
func (*Client) DeleteV5EnterprisesEnterpriseMembersUsername ¶
func (a *Client) DeleteV5EnterprisesEnterpriseMembersUsername(params *DeleteV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
DeleteV5EnterprisesEnterpriseMembersUsername移除企业成员s.
移除企业成员.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteV5EnterprisesEnterpriseMembersUsernameContext instead.
func (*Client) DeleteV5EnterprisesEnterpriseMembersUsernameContext ¶ added in v5.14.0
func (a *Client) DeleteV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *DeleteV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
DeleteV5EnterprisesEnterpriseMembersUsernameContext移除企业成员s.
移除企业成员.
Do not use the deprecated [DeleteV5EnterprisesEnterpriseMembersUsernameParams.Context] with this method: it would be ignored.
func (*Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID ¶
func (a *Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID(params *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID删除周报某个评论s.
删除周报某个评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext instead.
func (*Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext ¶ added in v5.14.0
func (a *Client) DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext(ctx context.Context, params *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext删除周报某个评论s.
删除周报某个评论.
Do not use the deprecated [DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterpriseEnterprisePullRequests ¶
func (a *Client) GetV5EnterpriseEnterprisePullRequests(params *GetV5EnterpriseEnterprisePullRequestsParams, opts ...ClientOption) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
GetV5EnterpriseEnterprisePullRequests企业s pull request 列表.
企业 Pull Request 列表.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterpriseEnterprisePullRequestsContext instead.
func (*Client) GetV5EnterpriseEnterprisePullRequestsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterpriseEnterprisePullRequestsContext(ctx context.Context, params *GetV5EnterpriseEnterprisePullRequestsParams, opts ...ClientOption) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
GetV5EnterpriseEnterprisePullRequestsContext企业s pull request 列表.
企业 Pull Request 列表.
Do not use the deprecated [GetV5EnterpriseEnterprisePullRequestsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterprise ¶
func (a *Client) GetV5EnterprisesEnterprise(params *GetV5EnterprisesEnterpriseParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseOK, error)
GetV5EnterprisesEnterprise获取一个企业s.
获取一个企业.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseContext instead.
func (*Client) GetV5EnterprisesEnterpriseContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseContext(ctx context.Context, params *GetV5EnterprisesEnterpriseParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseOK, error)
GetV5EnterprisesEnterpriseContext获取一个企业s.
获取一个企业.
Do not use the deprecated [GetV5EnterprisesEnterpriseParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseMembers ¶
func (a *Client) GetV5EnterprisesEnterpriseMembers(params *GetV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersOK, error)
GetV5EnterprisesEnterpriseMembers列出企业的所有成员s.
列出企业的所有成员.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseMembersContext instead.
func (*Client) GetV5EnterprisesEnterpriseMembersContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersOK, error)
GetV5EnterprisesEnterpriseMembersContext列出企业的所有成员s.
列出企业的所有成员.
Do not use the deprecated [GetV5EnterprisesEnterpriseMembersParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseMembersSearch ¶
func (a *Client) GetV5EnterprisesEnterpriseMembersSearch(params *GetV5EnterprisesEnterpriseMembersSearchParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
GetV5EnterprisesEnterpriseMembersSearch获取企业成员信息s 通过用户名 邮箱.
获取企业成员信息(通过用户名/邮箱).
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseMembersSearchContext instead.
func (*Client) GetV5EnterprisesEnterpriseMembersSearchContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseMembersSearchContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersSearchParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
GetV5EnterprisesEnterpriseMembersSearchContext获取企业成员信息s 通过用户名 邮箱.
获取企业成员信息(通过用户名/邮箱).
Do not use the deprecated [GetV5EnterprisesEnterpriseMembersSearchParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseMembersUsername ¶
func (a *Client) GetV5EnterprisesEnterpriseMembersUsername(params *GetV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
GetV5EnterprisesEnterpriseMembersUsername获取企业的一个成员s.
获取企业的一个成员.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseMembersUsernameContext instead.
func (*Client) GetV5EnterprisesEnterpriseMembersUsernameContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
GetV5EnterprisesEnterpriseMembersUsernameContext获取企业的一个成员s.
获取企业的一个成员.
Do not use the deprecated [GetV5EnterprisesEnterpriseMembersUsernameParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReports ¶
func (a *Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReports(params *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
GetV5EnterprisesEnterpriseUsersUsernameWeekReports个人周报列表s.
个人周报列表.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext instead.
func (*Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext个人周报列表s.
个人周报列表.
Do not use the deprecated [GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseWeekReports ¶
func (a *Client) GetV5EnterprisesEnterpriseWeekReports(params *GetV5EnterprisesEnterpriseWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
GetV5EnterprisesEnterpriseWeekReports企业成员周报列表s.
企业成员周报列表.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseWeekReportsContext instead.
func (*Client) GetV5EnterprisesEnterpriseWeekReportsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseWeekReportsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
GetV5EnterprisesEnterpriseWeekReportsContext企业成员周报列表s.
企业成员周报列表.
Do not use the deprecated [GetV5EnterprisesEnterpriseWeekReportsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseWeekReportsID ¶
func (a *Client) GetV5EnterprisesEnterpriseWeekReportsID(params *GetV5EnterprisesEnterpriseWeekReportsIDParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
GetV5EnterprisesEnterpriseWeekReportsID周报详情s.
周报详情.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseWeekReportsIDContext instead.
func (*Client) GetV5EnterprisesEnterpriseWeekReportsIDComments ¶
func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDComments(params *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
GetV5EnterprisesEnterpriseWeekReportsIDComments某个周报评论列表s.
某个周报评论列表.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext instead.
func (*Client) GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext某个周报评论列表s.
某个周报评论列表.
Do not use the deprecated [GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseWeekReportsIDContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseWeekReportsIDContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsIDParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
GetV5EnterprisesEnterpriseWeekReportsIDContext周报详情s.
周报详情.
Do not use the deprecated [GetV5EnterprisesEnterpriseWeekReportsIDParams.Context] with this method: it would be ignored.
func (*Client) GetV5UserEnterprises ¶
func (a *Client) GetV5UserEnterprises(params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
GetV5UserEnterprises列出授权用户所属的企业s.
列出授权用户所属的企业.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5UserEnterprisesContext instead.
func (*Client) GetV5UserEnterprisesContext ¶ added in v5.14.0
func (a *Client) GetV5UserEnterprisesContext(ctx context.Context, params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
GetV5UserEnterprisesContext列出授权用户所属的企业s.
列出授权用户所属的企业.
Do not use the deprecated [GetV5UserEnterprisesParams.Context] with this method: it would be ignored.
func (*Client) PatchV5EnterprisesEnterpriseWeekReportID ¶
func (a *Client) PatchV5EnterprisesEnterpriseWeekReportID(params *PatchV5EnterprisesEnterpriseWeekReportIDParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
PatchV5EnterprisesEnterpriseWeekReportID编辑周报s.
编辑周报.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PatchV5EnterprisesEnterpriseWeekReportIDContext instead.
func (*Client) PatchV5EnterprisesEnterpriseWeekReportIDContext ¶ added in v5.14.0
func (a *Client) PatchV5EnterprisesEnterpriseWeekReportIDContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseWeekReportIDParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
PatchV5EnterprisesEnterpriseWeekReportIDContext编辑周报s.
编辑周报.
Do not use the deprecated [PatchV5EnterprisesEnterpriseWeekReportIDParams.Context] with this method: it would be ignored.
func (*Client) PostV5EnterprisesEnterpriseMembers ¶
func (a *Client) PostV5EnterprisesEnterpriseMembers(params *PostV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
PostV5EnterprisesEnterpriseMembers添加或邀请企业成员s.
添加或邀请企业成员.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PostV5EnterprisesEnterpriseMembersContext instead.
func (*Client) PostV5EnterprisesEnterpriseMembersContext ¶ added in v5.14.0
func (a *Client) PostV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *PostV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
PostV5EnterprisesEnterpriseMembersContext添加或邀请企业成员s.
添加或邀请企业成员.
Do not use the deprecated [PostV5EnterprisesEnterpriseMembersParams.Context] with this method: it would be ignored.
func (*Client) PostV5EnterprisesEnterpriseWeekReport ¶
func (a *Client) PostV5EnterprisesEnterpriseWeekReport(params *PostV5EnterprisesEnterpriseWeekReportParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
PostV5EnterprisesEnterpriseWeekReport新建周报s.
新建周报.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PostV5EnterprisesEnterpriseWeekReportContext instead.
func (*Client) PostV5EnterprisesEnterpriseWeekReportContext ¶ added in v5.14.0
func (a *Client) PostV5EnterprisesEnterpriseWeekReportContext(ctx context.Context, params *PostV5EnterprisesEnterpriseWeekReportParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
PostV5EnterprisesEnterpriseWeekReportContext新建周报s.
新建周报.
Do not use the deprecated [PostV5EnterprisesEnterpriseWeekReportParams.Context] with this method: it would be ignored.
func (*Client) PostV5EnterprisesEnterpriseWeekReportsIDComment ¶
func (a *Client) PostV5EnterprisesEnterpriseWeekReportsIDComment(params *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
PostV5EnterprisesEnterpriseWeekReportsIDComment评论周报s.
评论周报.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PostV5EnterprisesEnterpriseWeekReportsIDCommentContext instead.
func (*Client) PostV5EnterprisesEnterpriseWeekReportsIDCommentContext ¶ added in v5.14.0
func (a *Client) PostV5EnterprisesEnterpriseWeekReportsIDCommentContext(ctx context.Context, params *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
PostV5EnterprisesEnterpriseWeekReportsIDCommentContext评论周报s.
评论周报.
Do not use the deprecated [PostV5EnterprisesEnterpriseWeekReportsIDCommentParams.Context] with this method: it would be ignored.
func (*Client) PutV5EnterprisesEnterpriseMembersUsername ¶
func (a *Client) PutV5EnterprisesEnterpriseMembersUsername(params *PutV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
PutV5EnterprisesEnterpriseMembersUsername修改企业成员权限或备注s.
修改企业成员权限或备注.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PutV5EnterprisesEnterpriseMembersUsernameContext instead.
func (*Client) PutV5EnterprisesEnterpriseMembersUsernameContext ¶ added in v5.14.0
func (a *Client) PutV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *PutV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
PutV5EnterprisesEnterpriseMembersUsernameContext修改企业成员权限或备注s.
修改企业成员权限或备注.
Do not use the deprecated [PutV5EnterprisesEnterpriseMembersUsernameParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
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 {
// DeleteV5EnterprisesEnterpriseMembersUsername 移除企业成员.
DeleteV5EnterprisesEnterpriseMembersUsername(params *DeleteV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
// DeleteV5EnterprisesEnterpriseMembersUsernameContext 移除企业成员.
DeleteV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *DeleteV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent, error)
// DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID 删除周报某个评论.
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID(params *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
// DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext 删除周报某个评论.
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDContext(ctx context.Context, params *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams, opts ...ClientOption) (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent, error)
// GetV5EnterpriseEnterprisePullRequests 企业 pull request 列表.
GetV5EnterpriseEnterprisePullRequests(params *GetV5EnterpriseEnterprisePullRequestsParams, opts ...ClientOption) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
// GetV5EnterpriseEnterprisePullRequestsContext 企业 pull request 列表.
GetV5EnterpriseEnterprisePullRequestsContext(ctx context.Context, params *GetV5EnterpriseEnterprisePullRequestsParams, opts ...ClientOption) (*GetV5EnterpriseEnterprisePullRequestsOK, error)
// GetV5EnterprisesEnterprise 获取一个企业.
GetV5EnterprisesEnterprise(params *GetV5EnterprisesEnterpriseParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseOK, error)
// GetV5EnterprisesEnterpriseContext 获取一个企业.
GetV5EnterprisesEnterpriseContext(ctx context.Context, params *GetV5EnterprisesEnterpriseParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseOK, error)
// GetV5EnterprisesEnterpriseMembers 列出企业的所有成员.
GetV5EnterprisesEnterpriseMembers(params *GetV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersOK, error)
// GetV5EnterprisesEnterpriseMembersContext 列出企业的所有成员.
GetV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersOK, error)
// GetV5EnterprisesEnterpriseMembersSearch 获取企业成员信息 通过用户名 邮箱.
GetV5EnterprisesEnterpriseMembersSearch(params *GetV5EnterprisesEnterpriseMembersSearchParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
// GetV5EnterprisesEnterpriseMembersSearchContext 获取企业成员信息 通过用户名 邮箱.
GetV5EnterprisesEnterpriseMembersSearchContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersSearchParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersSearchOK, error)
// GetV5EnterprisesEnterpriseMembersUsername 获取企业的一个成员.
GetV5EnterprisesEnterpriseMembersUsername(params *GetV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
// GetV5EnterprisesEnterpriseMembersUsernameContext 获取企业的一个成员.
GetV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *GetV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseMembersUsernameOK, error)
// GetV5EnterprisesEnterpriseUsersUsernameWeekReports 个人周报列表.
GetV5EnterprisesEnterpriseUsersUsernameWeekReports(params *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
// GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext 个人周报列表.
GetV5EnterprisesEnterpriseUsersUsernameWeekReportsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK, error)
// GetV5EnterprisesEnterpriseWeekReports 企业成员周报列表.
GetV5EnterprisesEnterpriseWeekReports(params *GetV5EnterprisesEnterpriseWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
// GetV5EnterprisesEnterpriseWeekReportsContext 企业成员周报列表.
GetV5EnterprisesEnterpriseWeekReportsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsOK, error)
// GetV5EnterprisesEnterpriseWeekReportsID 周报详情.
GetV5EnterprisesEnterpriseWeekReportsID(params *GetV5EnterprisesEnterpriseWeekReportsIDParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
// GetV5EnterprisesEnterpriseWeekReportsIDContext 周报详情.
GetV5EnterprisesEnterpriseWeekReportsIDContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsIDParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDOK, error)
// GetV5EnterprisesEnterpriseWeekReportsIDComments 某个周报评论列表.
GetV5EnterprisesEnterpriseWeekReportsIDComments(params *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
// GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext 某个周报评论列表.
GetV5EnterprisesEnterpriseWeekReportsIDCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK, error)
// GetV5UserEnterprises 列出授权用户所属的企业.
GetV5UserEnterprises(params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
// GetV5UserEnterprisesContext 列出授权用户所属的企业.
GetV5UserEnterprisesContext(ctx context.Context, params *GetV5UserEnterprisesParams, opts ...ClientOption) (*GetV5UserEnterprisesOK, error)
// PatchV5EnterprisesEnterpriseWeekReportID 编辑周报.
PatchV5EnterprisesEnterpriseWeekReportID(params *PatchV5EnterprisesEnterpriseWeekReportIDParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
// PatchV5EnterprisesEnterpriseWeekReportIDContext 编辑周报.
PatchV5EnterprisesEnterpriseWeekReportIDContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseWeekReportIDParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseWeekReportIDOK, error)
// PostV5EnterprisesEnterpriseMembers 添加或邀请企业成员.
PostV5EnterprisesEnterpriseMembers(params *PostV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
// PostV5EnterprisesEnterpriseMembersContext 添加或邀请企业成员.
PostV5EnterprisesEnterpriseMembersContext(ctx context.Context, params *PostV5EnterprisesEnterpriseMembersParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseMembersNoContent, error)
// PostV5EnterprisesEnterpriseWeekReport 新建周报.
PostV5EnterprisesEnterpriseWeekReport(params *PostV5EnterprisesEnterpriseWeekReportParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
// PostV5EnterprisesEnterpriseWeekReportContext 新建周报.
PostV5EnterprisesEnterpriseWeekReportContext(ctx context.Context, params *PostV5EnterprisesEnterpriseWeekReportParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportCreated, error)
// PostV5EnterprisesEnterpriseWeekReportsIDComment 评论周报.
PostV5EnterprisesEnterpriseWeekReportsIDComment(params *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
// PostV5EnterprisesEnterpriseWeekReportsIDCommentContext 评论周报.
PostV5EnterprisesEnterpriseWeekReportsIDCommentContext(ctx context.Context, params *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams, opts ...ClientOption) (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated, error)
// PutV5EnterprisesEnterpriseMembersUsername 修改企业成员权限或备注.
PutV5EnterprisesEnterpriseMembersUsername(params *PutV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
// PutV5EnterprisesEnterpriseMembersUsernameContext 修改企业成员权限或备注.
PutV5EnterprisesEnterpriseMembersUsernameContext(ctx context.Context, params *PutV5EnterprisesEnterpriseMembersUsernameParams, opts ...ClientOption) (*PutV5EnterprisesEnterpriseMembersUsernameOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new enterprises API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new enterprises 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 enterprises 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.
type DeleteV5EnterprisesEnterpriseMembersUsernameForbidden ¶
type DeleteV5EnterprisesEnterpriseMembersUsernameForbidden struct {
}
DeleteV5EnterprisesEnterpriseMembersUsernameForbidden describes a response with status code 403, with default header values.
没有权限
func NewDeleteV5EnterprisesEnterpriseMembersUsernameForbidden ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameForbidden() *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden
NewDeleteV5EnterprisesEnterpriseMembersUsernameForbidden creates a DeleteV5EnterprisesEnterpriseMembersUsernameForbidden with default headers values
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Code ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Code() int
Code gets the status code for the delete v5 enterprises enterprise members username forbidden response
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Error ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) Error() string
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError() bool
IsClientError returns true when this delete v5 enterprises enterprise members username forbidden response has a 4xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode(code int) bool
IsCode returns true when this delete v5 enterprises enterprise members username forbidden response a status code equal to that given
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect() bool
IsRedirect returns true when this delete v5 enterprises enterprise members username forbidden response has a 3xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError() bool
IsServerError returns true when this delete v5 enterprises enterprise members username forbidden response has a 5xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess() bool
IsSuccess returns true when this delete v5 enterprises enterprise members username forbidden response has a 2xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) String ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameForbidden) String() string
type DeleteV5EnterprisesEnterpriseMembersUsernameNoContent ¶
type DeleteV5EnterprisesEnterpriseMembersUsernameNoContent struct {
}
DeleteV5EnterprisesEnterpriseMembersUsernameNoContent describes a response with status code 204, with default header values.
执行成功
func NewDeleteV5EnterprisesEnterpriseMembersUsernameNoContent ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameNoContent() *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent
NewDeleteV5EnterprisesEnterpriseMembersUsernameNoContent creates a DeleteV5EnterprisesEnterpriseMembersUsernameNoContent with default headers values
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Code ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Code() int
Code gets the status code for the delete v5 enterprises enterprise members username no content response
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Error ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) Error() string
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsClientError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsClientError() bool
IsClientError returns true when this delete v5 enterprises enterprise members username no content response has a 4xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsCode ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsCode(code int) bool
IsCode returns true when this delete v5 enterprises enterprise members username no content response a status code equal to that given
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsRedirect ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsRedirect() bool
IsRedirect returns true when this delete v5 enterprises enterprise members username no content response has a 3xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsServerError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsServerError() bool
IsServerError returns true when this delete v5 enterprises enterprise members username no content response has a 5xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsSuccess ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) IsSuccess() bool
IsSuccess returns true when this delete v5 enterprises enterprise members username no content response has a 2xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) String ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNoContent) String() string
type DeleteV5EnterprisesEnterpriseMembersUsernameNotFound ¶
type DeleteV5EnterprisesEnterpriseMembersUsernameNotFound struct {
}
DeleteV5EnterprisesEnterpriseMembersUsernameNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewDeleteV5EnterprisesEnterpriseMembersUsernameNotFound ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameNotFound() *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound
NewDeleteV5EnterprisesEnterpriseMembersUsernameNotFound creates a DeleteV5EnterprisesEnterpriseMembersUsernameNotFound with default headers values
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Code ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
Code gets the status code for the delete v5 enterprises enterprise members username not found response
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Error ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
IsClientError returns true when this delete v5 enterprises enterprise members username not found response has a 4xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
IsCode returns true when this delete v5 enterprises enterprise members username not found response a status code equal to that given
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
IsRedirect returns true when this delete v5 enterprises enterprise members username not found response has a 3xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
IsServerError returns true when this delete v5 enterprises enterprise members username not found response has a 5xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
IsSuccess returns true when this delete v5 enterprises enterprise members username not found response has a 2xx status code
func (*DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) String ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
type DeleteV5EnterprisesEnterpriseMembersUsernameParams ¶
type DeleteV5EnterprisesEnterpriseMembersUsernameParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Username.
用户名(username/login)
*/
Username string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV5EnterprisesEnterpriseMembersUsernameParams contains all the parameters to send to the API endpoint
for the delete v5 enterprises enterprise members username operation. Typically these are written to a http.Request.
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParams ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParams() *DeleteV5EnterprisesEnterpriseMembersUsernameParams
NewDeleteV5EnterprisesEnterpriseMembersUsernameParams creates a new DeleteV5EnterprisesEnterpriseMembersUsernameParams 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 NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithContext
deprecated
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithContext creates a new DeleteV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseMembersUsernameParams.
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient creates a new DeleteV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout ¶
func NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
NewDeleteV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout creates a new DeleteV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a timeout on a request.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetContext
deprecated
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseMembersUsernameParams.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
SetDefaults hydrates default values in the delete v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetUsername ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
SetUsername adds the username to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithAccessToken adds the accessToken to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithContext
deprecated
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithContext adds the context to the delete v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseMembersUsernameParams.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithDefaults hydrates default values in the delete v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithEnterprise adds the enterprise to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithHTTPClient adds the HTTPClient to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithTimeout adds the timeout to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithUsername ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *DeleteV5EnterprisesEnterpriseMembersUsernameParams
WithUsername adds the username to the delete v5 enterprises enterprise members username params.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteV5EnterprisesEnterpriseMembersUsernameReader ¶
type DeleteV5EnterprisesEnterpriseMembersUsernameReader struct {
// contains filtered or unexported fields
}
DeleteV5EnterprisesEnterpriseMembersUsernameReader is a Reader for the DeleteV5EnterprisesEnterpriseMembersUsername structure.
func (*DeleteV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse ¶
func (o *DeleteV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent ¶
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent struct {
}
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent describes a response with status code 204, with default header values.
删除周报某个评论
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent ¶
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent() *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent
NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent creates a DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent with default headers values
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Code ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Code() int
Code gets the status code for the delete v5 enterprises enterprise week reports report Id comments Id no content response
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Error ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) Error() string
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsClientError ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsClientError() bool
IsClientError returns true when this delete v5 enterprises enterprise week reports report Id comments Id no content response has a 4xx status code
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsCode ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v5 enterprises enterprise week reports report Id comments Id no content response a status code equal to that given
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsRedirect ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v5 enterprises enterprise week reports report Id comments Id no content response has a 3xx status code
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsServerError ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsServerError() bool
IsServerError returns true when this delete v5 enterprises enterprise week reports report Id comments Id no content response has a 5xx status code
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsSuccess ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v5 enterprises enterprise week reports report Id comments Id no content response has a 2xx status code
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) String ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDNoContent) String() string
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams ¶
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* ID.
评论ID
Format: int32
*/
ID int32
/* ReportID.
周报ID
Format: int32
*/
ReportID int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams contains all the parameters to send to the API endpoint
for the delete v5 enterprises enterprise week reports report Id comments Id operation. Typically these are written to a http.Request.
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams ¶
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams() *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams creates a new DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams 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 NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithContext
deprecated
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithContext creates a new DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams.
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithHTTPClient ¶
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithHTTPClient creates a new DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithTimeout ¶
func NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
NewDeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParamsWithTimeout creates a new DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams object with the ability to set a timeout on a request.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetAccessToken ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetContext
deprecated
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v5 enterprises enterprise week reports report Id comments Id params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetDefaults ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v5 enterprises enterprise week reports report Id comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetEnterprise ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetHTTPClient ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetID ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetID(id int32)
SetID adds the id to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetReportID ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetReportID(reportID int32)
SetReportID adds the reportId to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetTimeout ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithAccessToken ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithAccessToken(accessToken *string) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithAccessToken adds the accessToken to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithContext
deprecated
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithContext(ctx context.Context) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithContext adds the context to the delete v5 enterprises enterprise week reports report Id comments Id params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithDefaults ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithDefaults() *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithDefaults hydrates default values in the delete v5 enterprises enterprise week reports report Id comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithEnterprise ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithEnterprise(enterprise string) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithEnterprise adds the enterprise to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithHTTPClient ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithHTTPClient(client *http.Client) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithHTTPClient adds the HTTPClient to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithID ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithID(id int32) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithID adds the id to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithReportID ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithReportID(reportID int32) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithReportID adds the reportID to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithTimeout ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WithTimeout(timeout time.Duration) *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams
WithTimeout adds the timeout to the delete v5 enterprises enterprise week reports report Id comments Id params.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WriteToRequest ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader ¶
type DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader struct {
// contains filtered or unexported fields
}
DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader is a Reader for the DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsID structure.
func (*DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader) ReadResponse ¶
func (o *DeleteV5EnterprisesEnterpriseWeekReportsReportIDCommentsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterpriseEnterprisePullRequestsOK ¶
type GetV5EnterpriseEnterprisePullRequestsOK struct {
Payload []*models.PullRequest
}
GetV5EnterpriseEnterprisePullRequestsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterpriseEnterprisePullRequestsOK ¶
func NewGetV5EnterpriseEnterprisePullRequestsOK() *GetV5EnterpriseEnterprisePullRequestsOK
NewGetV5EnterpriseEnterprisePullRequestsOK creates a GetV5EnterpriseEnterprisePullRequestsOK with default headers values
func (*GetV5EnterpriseEnterprisePullRequestsOK) Code ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) Code() int
Code gets the status code for the get v5 enterprise enterprise pull requests o k response
func (*GetV5EnterpriseEnterprisePullRequestsOK) Error ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) Error() string
func (*GetV5EnterpriseEnterprisePullRequestsOK) GetPayload ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) GetPayload() []*models.PullRequest
func (*GetV5EnterpriseEnterprisePullRequestsOK) IsClientError ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprise enterprise pull requests o k response has a 4xx status code
func (*GetV5EnterpriseEnterprisePullRequestsOK) IsCode ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprise enterprise pull requests o k response a status code equal to that given
func (*GetV5EnterpriseEnterprisePullRequestsOK) IsRedirect ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprise enterprise pull requests o k response has a 3xx status code
func (*GetV5EnterpriseEnterprisePullRequestsOK) IsServerError ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprise enterprise pull requests o k response has a 5xx status code
func (*GetV5EnterpriseEnterprisePullRequestsOK) IsSuccess ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprise enterprise pull requests o k response has a 2xx status code
func (*GetV5EnterpriseEnterprisePullRequestsOK) String ¶
func (o *GetV5EnterpriseEnterprisePullRequestsOK) String() string
type GetV5EnterpriseEnterprisePullRequestsParams ¶
type GetV5EnterpriseEnterprisePullRequestsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Base.
可选。Pull Request 提交目标分支的名称。
*/
Base *string
/* Direction.
可选。升序/降序
Default: "desc"
*/
Direction *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Head.
可选。Pull Request 提交的源分支。格式:branch 或者:username:branch
*/
Head *string
/* IssueNumber.
可选。Issue 编号(区分大小写,无需添加 # 号)
*/
IssueNumber *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* MilestoneNumber.
可选。里程碑序号(id)
Format: int32
*/
MilestoneNumber *int32
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* ProgramID.
可选。项目ID
Format: int32
*/
ProgramID *int32
/* Repo.
可选。仓库路径(path)
*/
Repo *string
/* Since.
可选。起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
可选。排序字段,默认按创建时间
Default: "created"
*/
Sort *string
/* State.
可选。Pull Request 状态
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterpriseEnterprisePullRequestsParams contains all the parameters to send to the API endpoint
for the get v5 enterprise enterprise pull requests operation. Typically these are written to a http.Request.
func NewGetV5EnterpriseEnterprisePullRequestsParams ¶
func NewGetV5EnterpriseEnterprisePullRequestsParams() *GetV5EnterpriseEnterprisePullRequestsParams
NewGetV5EnterpriseEnterprisePullRequestsParams creates a new GetV5EnterpriseEnterprisePullRequestsParams 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 NewGetV5EnterpriseEnterprisePullRequestsParamsWithContext
deprecated
func NewGetV5EnterpriseEnterprisePullRequestsParamsWithContext(ctx context.Context) *GetV5EnterpriseEnterprisePullRequestsParams
NewGetV5EnterpriseEnterprisePullRequestsParamsWithContext creates a new GetV5EnterpriseEnterprisePullRequestsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterpriseEnterprisePullRequestsParams.
func NewGetV5EnterpriseEnterprisePullRequestsParamsWithHTTPClient ¶
func NewGetV5EnterpriseEnterprisePullRequestsParamsWithHTTPClient(client *http.Client) *GetV5EnterpriseEnterprisePullRequestsParams
NewGetV5EnterpriseEnterprisePullRequestsParamsWithHTTPClient creates a new GetV5EnterpriseEnterprisePullRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterpriseEnterprisePullRequestsParamsWithTimeout ¶
func NewGetV5EnterpriseEnterprisePullRequestsParamsWithTimeout(timeout time.Duration) *GetV5EnterpriseEnterprisePullRequestsParams
NewGetV5EnterpriseEnterprisePullRequestsParamsWithTimeout creates a new GetV5EnterpriseEnterprisePullRequestsParams object with the ability to set a timeout on a request.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetAccessToken ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetBase ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetBase(base *string)
SetBase adds the base to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetContext
deprecated
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprise enterprise pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterpriseEnterprisePullRequestsParams.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetDefaults ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprise enterprise pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetDirection ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetEnterprise ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetHTTPClient ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetHead ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetHead(head *string)
SetHead adds the head to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetIssueNumber ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetIssueNumber(issueNumber *string)
SetIssueNumber adds the issueNumber to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetLabels ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetMilestoneNumber ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetMilestoneNumber(milestoneNumber *int32)
SetMilestoneNumber adds the milestoneNumber to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetPage ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetPerPage ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetProgramID ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetProgramID(programID *int32)
SetProgramID adds the programId to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetRepo ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetRepo(repo *string)
SetRepo adds the repo to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetSince ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetSince(since *string)
SetSince adds the since to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetSort ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetSort(sort *string)
SetSort adds the sort to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetState ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetState(state *string)
SetState adds the state to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) SetTimeout ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithAccessToken ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithAccessToken(accessToken *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithAccessToken adds the accessToken to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithBase ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithBase(base *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithBase adds the base to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithContext
deprecated
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithContext(ctx context.Context) *GetV5EnterpriseEnterprisePullRequestsParams
WithContext adds the context to the get v5 enterprise enterprise pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterpriseEnterprisePullRequestsParams.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithDefaults ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithDefaults() *GetV5EnterpriseEnterprisePullRequestsParams
WithDefaults hydrates default values in the get v5 enterprise enterprise pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithDirection ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithDirection(direction *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithDirection adds the direction to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithEnterprise ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithEnterprise(enterprise string) *GetV5EnterpriseEnterprisePullRequestsParams
WithEnterprise adds the enterprise to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithHTTPClient ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithHTTPClient(client *http.Client) *GetV5EnterpriseEnterprisePullRequestsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithHead ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithHead(head *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithHead adds the head to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithIssueNumber ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithIssueNumber(issueNumber *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithIssueNumber adds the issueNumber to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithLabels ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithLabels(labels *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithLabels adds the labels to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithMilestoneNumber ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithMilestoneNumber(milestoneNumber *int32) *GetV5EnterpriseEnterprisePullRequestsParams
WithMilestoneNumber adds the milestoneNumber to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithPage ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithPage(page *int32) *GetV5EnterpriseEnterprisePullRequestsParams
WithPage adds the page to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithPerPage ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithPerPage(perPage *int32) *GetV5EnterpriseEnterprisePullRequestsParams
WithPerPage adds the perPage to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithProgramID ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithProgramID(programID *int32) *GetV5EnterpriseEnterprisePullRequestsParams
WithProgramID adds the programID to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithRepo ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithRepo(repo *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithRepo adds the repo to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithSince ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithSince(since *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithSince adds the since to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithSort ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithSort(sort *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithSort adds the sort to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithState ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithState(state *string) *GetV5EnterpriseEnterprisePullRequestsParams
WithState adds the state to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WithTimeout ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WithTimeout(timeout time.Duration) *GetV5EnterpriseEnterprisePullRequestsParams
WithTimeout adds the timeout to the get v5 enterprise enterprise pull requests params.
func (*GetV5EnterpriseEnterprisePullRequestsParams) WriteToRequest ¶
func (o *GetV5EnterpriseEnterprisePullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterpriseEnterprisePullRequestsReader ¶
type GetV5EnterpriseEnterprisePullRequestsReader struct {
// contains filtered or unexported fields
}
GetV5EnterpriseEnterprisePullRequestsReader is a Reader for the GetV5EnterpriseEnterprisePullRequests structure.
func (*GetV5EnterpriseEnterprisePullRequestsReader) ReadResponse ¶
func (o *GetV5EnterpriseEnterprisePullRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseForbidden ¶
type GetV5EnterprisesEnterpriseForbidden struct {
}
GetV5EnterprisesEnterpriseForbidden describes a response with status code 403, with default header values.
没有权限
func NewGetV5EnterprisesEnterpriseForbidden ¶
func NewGetV5EnterprisesEnterpriseForbidden() *GetV5EnterprisesEnterpriseForbidden
NewGetV5EnterprisesEnterpriseForbidden creates a GetV5EnterprisesEnterpriseForbidden with default headers values
func (*GetV5EnterprisesEnterpriseForbidden) Code ¶
func (o *GetV5EnterprisesEnterpriseForbidden) Code() int
Code gets the status code for the get v5 enterprises enterprise forbidden response
func (*GetV5EnterprisesEnterpriseForbidden) Error ¶
func (o *GetV5EnterprisesEnterpriseForbidden) Error() string
func (*GetV5EnterprisesEnterpriseForbidden) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseForbidden) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise forbidden response has a 4xx status code
func (*GetV5EnterprisesEnterpriseForbidden) IsCode ¶
func (o *GetV5EnterprisesEnterpriseForbidden) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise forbidden response a status code equal to that given
func (*GetV5EnterprisesEnterpriseForbidden) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseForbidden) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise forbidden response has a 3xx status code
func (*GetV5EnterprisesEnterpriseForbidden) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseForbidden) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise forbidden response has a 5xx status code
func (*GetV5EnterprisesEnterpriseForbidden) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseForbidden) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise forbidden response has a 2xx status code
func (*GetV5EnterprisesEnterpriseForbidden) String ¶
func (o *GetV5EnterprisesEnterpriseForbidden) String() string
type GetV5EnterprisesEnterpriseMembersForbidden ¶
type GetV5EnterprisesEnterpriseMembersForbidden struct {
}
GetV5EnterprisesEnterpriseMembersForbidden describes a response with status code 403, with default header values.
没有权限
func NewGetV5EnterprisesEnterpriseMembersForbidden ¶
func NewGetV5EnterprisesEnterpriseMembersForbidden() *GetV5EnterprisesEnterpriseMembersForbidden
NewGetV5EnterprisesEnterpriseMembersForbidden creates a GetV5EnterprisesEnterpriseMembersForbidden with default headers values
func (*GetV5EnterprisesEnterpriseMembersForbidden) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) Code() int
Code gets the status code for the get v5 enterprises enterprise members forbidden response
func (*GetV5EnterprisesEnterpriseMembersForbidden) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) Error() string
func (*GetV5EnterprisesEnterpriseMembersForbidden) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members forbidden response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersForbidden) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members forbidden response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersForbidden) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members forbidden response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersForbidden) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members forbidden response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersForbidden) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members forbidden response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersForbidden) String ¶
func (o *GetV5EnterprisesEnterpriseMembersForbidden) String() string
type GetV5EnterprisesEnterpriseMembersNotFound ¶
type GetV5EnterprisesEnterpriseMembersNotFound struct {
}
GetV5EnterprisesEnterpriseMembersNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewGetV5EnterprisesEnterpriseMembersNotFound ¶
func NewGetV5EnterprisesEnterpriseMembersNotFound() *GetV5EnterprisesEnterpriseMembersNotFound
NewGetV5EnterprisesEnterpriseMembersNotFound creates a GetV5EnterprisesEnterpriseMembersNotFound with default headers values
func (*GetV5EnterprisesEnterpriseMembersNotFound) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) Code() int
Code gets the status code for the get v5 enterprises enterprise members not found response
func (*GetV5EnterprisesEnterpriseMembersNotFound) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) Error() string
func (*GetV5EnterprisesEnterpriseMembersNotFound) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members not found response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersNotFound) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members not found response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersNotFound) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members not found response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersNotFound) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members not found response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersNotFound) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members not found response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersNotFound) String ¶
func (o *GetV5EnterprisesEnterpriseMembersNotFound) String() string
type GetV5EnterprisesEnterpriseMembersOK ¶
type GetV5EnterprisesEnterpriseMembersOK struct {
Payload []*models.EnterpriseMember
}
GetV5EnterprisesEnterpriseMembersOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseMembersOK ¶
func NewGetV5EnterprisesEnterpriseMembersOK() *GetV5EnterprisesEnterpriseMembersOK
NewGetV5EnterprisesEnterpriseMembersOK creates a GetV5EnterprisesEnterpriseMembersOK with default headers values
func (*GetV5EnterprisesEnterpriseMembersOK) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) Code() int
Code gets the status code for the get v5 enterprises enterprise members o k response
func (*GetV5EnterprisesEnterpriseMembersOK) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) Error() string
func (*GetV5EnterprisesEnterpriseMembersOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) GetPayload() []*models.EnterpriseMember
func (*GetV5EnterprisesEnterpriseMembersOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersOK) String ¶
func (o *GetV5EnterprisesEnterpriseMembersOK) String() string
type GetV5EnterprisesEnterpriseMembersParams ¶
type GetV5EnterprisesEnterpriseMembersParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Role.
根据角色筛选成员
Default: "all"
*/
Role *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise members operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseMembersParams ¶
func NewGetV5EnterprisesEnterpriseMembersParams() *GetV5EnterprisesEnterpriseMembersParams
NewGetV5EnterprisesEnterpriseMembersParams creates a new GetV5EnterprisesEnterpriseMembersParams 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 NewGetV5EnterprisesEnterpriseMembersParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseMembersParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersParams
NewGetV5EnterprisesEnterpriseMembersParamsWithContext creates a new GetV5EnterprisesEnterpriseMembersParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersParams.
func NewGetV5EnterprisesEnterpriseMembersParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseMembersParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersParams
NewGetV5EnterprisesEnterpriseMembersParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseMembersParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseMembersParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseMembersParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersParams
NewGetV5EnterprisesEnterpriseMembersParamsWithTimeout creates a new GetV5EnterprisesEnterpriseMembersParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseMembersParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise members params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersParams.
func (*GetV5EnterprisesEnterpriseMembersParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise members params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetRole ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetRole(role *string)
SetRole adds the role to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersParams
WithContext adds the context to the get v5 enterprises enterprise members params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersParams.
func (*GetV5EnterprisesEnterpriseMembersParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersParams
WithDefaults hydrates default values in the get v5 enterprises enterprise members params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseMembersParams
WithPage adds the page to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseMembersParams
WithPerPage adds the perPage to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithRole ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithRole(role *string) *GetV5EnterprisesEnterpriseMembersParams
WithRole adds the role to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersParams
WithTimeout adds the timeout to the get v5 enterprises enterprise members params.
func (*GetV5EnterprisesEnterpriseMembersParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseMembersReader ¶
type GetV5EnterprisesEnterpriseMembersReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersReader is a Reader for the GetV5EnterprisesEnterpriseMembers structure.
func (*GetV5EnterprisesEnterpriseMembersReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseMembersSearchOK ¶
type GetV5EnterprisesEnterpriseMembersSearchOK struct {
Payload *models.EnterpriseMember
}
GetV5EnterprisesEnterpriseMembersSearchOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseMembersSearchOK ¶
func NewGetV5EnterprisesEnterpriseMembersSearchOK() *GetV5EnterprisesEnterpriseMembersSearchOK
NewGetV5EnterprisesEnterpriseMembersSearchOK creates a GetV5EnterprisesEnterpriseMembersSearchOK with default headers values
func (*GetV5EnterprisesEnterpriseMembersSearchOK) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) Code() int
Code gets the status code for the get v5 enterprises enterprise members search o k response
func (*GetV5EnterprisesEnterpriseMembersSearchOK) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) Error() string
func (*GetV5EnterprisesEnterpriseMembersSearchOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) GetPayload() *models.EnterpriseMember
func (*GetV5EnterprisesEnterpriseMembersSearchOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members search o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersSearchOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members search o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersSearchOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members search o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersSearchOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members search o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersSearchOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members search o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersSearchOK) String ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchOK) String() string
type GetV5EnterprisesEnterpriseMembersSearchParams ¶
type GetV5EnterprisesEnterpriseMembersSearchParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* QueryType.
查询类型:username/email
*/
QueryType string
/* QueryValue.
查询值
*/
QueryValue string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersSearchParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise members search operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseMembersSearchParams ¶
func NewGetV5EnterprisesEnterpriseMembersSearchParams() *GetV5EnterprisesEnterpriseMembersSearchParams
NewGetV5EnterprisesEnterpriseMembersSearchParams creates a new GetV5EnterprisesEnterpriseMembersSearchParams 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 NewGetV5EnterprisesEnterpriseMembersSearchParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersSearchParams
NewGetV5EnterprisesEnterpriseMembersSearchParamsWithContext creates a new GetV5EnterprisesEnterpriseMembersSearchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersSearchParams.
func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersSearchParams
NewGetV5EnterprisesEnterpriseMembersSearchParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseMembersSearchParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseMembersSearchParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersSearchParams
NewGetV5EnterprisesEnterpriseMembersSearchParamsWithTimeout creates a new GetV5EnterprisesEnterpriseMembersSearchParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise members search params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersSearchParams.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise members search params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryType ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryType(queryType string)
SetQueryType adds the queryType to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryValue ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetQueryValue(queryValue string)
SetQueryValue adds the queryValue to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersSearchParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersSearchParams
WithContext adds the context to the get v5 enterprises enterprise members search params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersSearchParams.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersSearchParams
WithDefaults hydrates default values in the get v5 enterprises enterprise members search params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersSearchParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersSearchParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryType ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryType(queryType string) *GetV5EnterprisesEnterpriseMembersSearchParams
WithQueryType adds the queryType to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryValue ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithQueryValue(queryValue string) *GetV5EnterprisesEnterpriseMembersSearchParams
WithQueryValue adds the queryValue to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersSearchParams
WithTimeout adds the timeout to the get v5 enterprises enterprise members search params.
func (*GetV5EnterprisesEnterpriseMembersSearchParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseMembersSearchReader ¶
type GetV5EnterprisesEnterpriseMembersSearchReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersSearchReader is a Reader for the GetV5EnterprisesEnterpriseMembersSearch structure.
func (*GetV5EnterprisesEnterpriseMembersSearchReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseMembersSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseMembersUsernameNotFound ¶
type GetV5EnterprisesEnterpriseMembersUsernameNotFound struct {
}
GetV5EnterprisesEnterpriseMembersUsernameNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewGetV5EnterprisesEnterpriseMembersUsernameNotFound ¶
func NewGetV5EnterprisesEnterpriseMembersUsernameNotFound() *GetV5EnterprisesEnterpriseMembersUsernameNotFound
NewGetV5EnterprisesEnterpriseMembersUsernameNotFound creates a GetV5EnterprisesEnterpriseMembersUsernameNotFound with default headers values
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
Code gets the status code for the get v5 enterprises enterprise members username not found response
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members username not found response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members username not found response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members username not found response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members username not found response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members username not found response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameNotFound) String ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
type GetV5EnterprisesEnterpriseMembersUsernameOK ¶
type GetV5EnterprisesEnterpriseMembersUsernameOK struct {
Payload *models.EnterpriseMember
}
GetV5EnterprisesEnterpriseMembersUsernameOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseMembersUsernameOK ¶
func NewGetV5EnterprisesEnterpriseMembersUsernameOK() *GetV5EnterprisesEnterpriseMembersUsernameOK
NewGetV5EnterprisesEnterpriseMembersUsernameOK creates a GetV5EnterprisesEnterpriseMembersUsernameOK with default headers values
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) Code ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) Code() int
Code gets the status code for the get v5 enterprises enterprise members username o k response
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) Error ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) Error() string
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) GetPayload() *models.EnterpriseMember
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise members username o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise members username o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise members username o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise members username o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise members username o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseMembersUsernameOK) String ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameOK) String() string
type GetV5EnterprisesEnterpriseMembersUsernameParams ¶
type GetV5EnterprisesEnterpriseMembersUsernameParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Username.
用户名(username/login)
*/
Username string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersUsernameParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise members username operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseMembersUsernameParams ¶
func NewGetV5EnterprisesEnterpriseMembersUsernameParams() *GetV5EnterprisesEnterpriseMembersUsernameParams
NewGetV5EnterprisesEnterpriseMembersUsernameParams creates a new GetV5EnterprisesEnterpriseMembersUsernameParams 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 NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersUsernameParams
NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithContext creates a new GetV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersUsernameParams.
func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersUsernameParams
NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersUsernameParams
NewGetV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout creates a new GetV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersUsernameParams.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) SetUsername ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
SetUsername adds the username to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithContext adds the context to the get v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseMembersUsernameParams.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *GetV5EnterprisesEnterpriseMembersUsernameParams
WithDefaults hydrates default values in the get v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithTimeout adds the timeout to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WithUsername ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *GetV5EnterprisesEnterpriseMembersUsernameParams
WithUsername adds the username to the get v5 enterprises enterprise members username params.
func (*GetV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseMembersUsernameReader ¶
type GetV5EnterprisesEnterpriseMembersUsernameReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseMembersUsernameReader is a Reader for the GetV5EnterprisesEnterpriseMembersUsername structure.
func (*GetV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseNotFound ¶
type GetV5EnterprisesEnterpriseNotFound struct {
}
GetV5EnterprisesEnterpriseNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewGetV5EnterprisesEnterpriseNotFound ¶
func NewGetV5EnterprisesEnterpriseNotFound() *GetV5EnterprisesEnterpriseNotFound
NewGetV5EnterprisesEnterpriseNotFound creates a GetV5EnterprisesEnterpriseNotFound with default headers values
func (*GetV5EnterprisesEnterpriseNotFound) Code ¶
func (o *GetV5EnterprisesEnterpriseNotFound) Code() int
Code gets the status code for the get v5 enterprises enterprise not found response
func (*GetV5EnterprisesEnterpriseNotFound) Error ¶
func (o *GetV5EnterprisesEnterpriseNotFound) Error() string
func (*GetV5EnterprisesEnterpriseNotFound) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseNotFound) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise not found response has a 4xx status code
func (*GetV5EnterprisesEnterpriseNotFound) IsCode ¶
func (o *GetV5EnterprisesEnterpriseNotFound) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise not found response a status code equal to that given
func (*GetV5EnterprisesEnterpriseNotFound) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseNotFound) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise not found response has a 3xx status code
func (*GetV5EnterprisesEnterpriseNotFound) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseNotFound) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise not found response has a 5xx status code
func (*GetV5EnterprisesEnterpriseNotFound) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseNotFound) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise not found response has a 2xx status code
func (*GetV5EnterprisesEnterpriseNotFound) String ¶
func (o *GetV5EnterprisesEnterpriseNotFound) String() string
type GetV5EnterprisesEnterpriseOK ¶
type GetV5EnterprisesEnterpriseOK struct {
Payload *models.EnterpriseBasic
}
GetV5EnterprisesEnterpriseOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseOK ¶
func NewGetV5EnterprisesEnterpriseOK() *GetV5EnterprisesEnterpriseOK
NewGetV5EnterprisesEnterpriseOK creates a GetV5EnterprisesEnterpriseOK with default headers values
func (*GetV5EnterprisesEnterpriseOK) Code ¶
func (o *GetV5EnterprisesEnterpriseOK) Code() int
Code gets the status code for the get v5 enterprises enterprise o k response
func (*GetV5EnterprisesEnterpriseOK) Error ¶
func (o *GetV5EnterprisesEnterpriseOK) Error() string
func (*GetV5EnterprisesEnterpriseOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseOK) GetPayload() *models.EnterpriseBasic
func (*GetV5EnterprisesEnterpriseOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseOK) String ¶
func (o *GetV5EnterprisesEnterpriseOK) String() string
type GetV5EnterprisesEnterpriseParams ¶
type GetV5EnterprisesEnterpriseParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseParams ¶
func NewGetV5EnterprisesEnterpriseParams() *GetV5EnterprisesEnterpriseParams
NewGetV5EnterprisesEnterpriseParams creates a new GetV5EnterprisesEnterpriseParams 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 NewGetV5EnterprisesEnterpriseParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseParams
NewGetV5EnterprisesEnterpriseParamsWithContext creates a new GetV5EnterprisesEnterpriseParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseParams.
func NewGetV5EnterprisesEnterpriseParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseParams
NewGetV5EnterprisesEnterpriseParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseParams
NewGetV5EnterprisesEnterpriseParamsWithTimeout creates a new GetV5EnterprisesEnterpriseParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseParams.
func (*GetV5EnterprisesEnterpriseParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseParams
WithContext adds the context to the get v5 enterprises enterprise params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseParams.
func (*GetV5EnterprisesEnterpriseParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseParams) WithDefaults() *GetV5EnterprisesEnterpriseParams
WithDefaults hydrates default values in the get v5 enterprises enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseParams
WithTimeout adds the timeout to the get v5 enterprises enterprise params.
func (*GetV5EnterprisesEnterpriseParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseReader ¶
type GetV5EnterprisesEnterpriseReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseReader is a Reader for the GetV5EnterprisesEnterprise structure.
func (*GetV5EnterprisesEnterpriseReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK ¶
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK struct {
Payload []*models.WeekReport
}
GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK ¶
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK() *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK
NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK creates a GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK with default headers values
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise users username week reports o k response
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) Error() string
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) GetPayload() []*models.WeekReport
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise users username week reports o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise users username week reports o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise users username week reports o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise users username week reports o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise users username week reports o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) String ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOK) String() string
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams ¶
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Username.
用户名(username/login)
*/
Username string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise users username week reports operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams ¶
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams() *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams creates a new GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams 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 NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithContext creates a new GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams.
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
NewGetV5EnterprisesEnterpriseUsersUsernameWeekReportsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise users username week reports params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise users username week reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetUsername ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) SetUsername(username string)
SetUsername adds the username to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithContext adds the context to the get v5 enterprises enterprise users username week reports params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithDefaults() *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise users username week reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithPage adds the page to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithPerPage adds the perPage to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithUsername ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WithUsername(username string) *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams
WithUsername adds the username to the get v5 enterprises enterprise users username week reports params.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader ¶
type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader is a Reader for the GetV5EnterprisesEnterpriseUsersUsernameWeekReports structure.
func (*GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseUsersUsernameWeekReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK ¶
GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsOK ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsOK() *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK
NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsOK creates a GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK with default headers values
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise week reports Id comments o k response
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) Error() string
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) GetPayload() []*models.Note
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise week reports Id comments o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise week reports Id comments o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise week reports Id comments o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise week reports Id comments o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise week reports Id comments o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) String ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsOK) String() string
type GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams ¶
type GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* ID.
周报ID
Format: int32
*/
ID int32
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise week reports Id comments operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParams ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParams() *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParams creates a new GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams 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 NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithContext creates a new GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams.
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
NewGetV5EnterprisesEnterpriseWeekReportsIDCommentsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise week reports Id comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise week reports Id comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetID ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetID(id int32)
SetID adds the id to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithContext adds the context to the get v5 enterprises enterprise week reports Id comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise week reports Id comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithID ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithID(id int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithID adds the id to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithPage adds the page to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithPerPage adds the perPage to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise week reports Id comments params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader ¶
type GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader is a Reader for the GetV5EnterprisesEnterpriseWeekReportsIDComments structure.
func (*GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseWeekReportsIDOK ¶
type GetV5EnterprisesEnterpriseWeekReportsIDOK struct {
Payload *models.WeekReport
}
GetV5EnterprisesEnterpriseWeekReportsIDOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseWeekReportsIDOK ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDOK() *GetV5EnterprisesEnterpriseWeekReportsIDOK
NewGetV5EnterprisesEnterpriseWeekReportsIDOK creates a GetV5EnterprisesEnterpriseWeekReportsIDOK with default headers values
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) Code ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) Code() int
Code gets the status code for the get v5 enterprises enterprise week reports Id o k response
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) Error ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) Error() string
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) GetPayload() *models.WeekReport
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise week reports Id o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise week reports Id o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise week reports Id o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise week reports Id o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise week reports Id o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsIDOK) String ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDOK) String() string
type GetV5EnterprisesEnterpriseWeekReportsIDParams ¶
type GetV5EnterprisesEnterpriseWeekReportsIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* ID.
周报ID
Format: int32
*/
ID int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsIDParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise week reports Id operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseWeekReportsIDParams ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDParams() *GetV5EnterprisesEnterpriseWeekReportsIDParams
NewGetV5EnterprisesEnterpriseWeekReportsIDParams creates a new GetV5EnterprisesEnterpriseWeekReportsIDParams 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 NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDParams
NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithContext creates a new GetV5EnterprisesEnterpriseWeekReportsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDParams.
func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDParams
NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseWeekReportsIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDParams
NewGetV5EnterprisesEnterpriseWeekReportsIDParamsWithTimeout creates a new GetV5EnterprisesEnterpriseWeekReportsIDParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise week reports Id params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDParams.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise week reports Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetID ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetID(id int32)
SetID adds the id to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithContext adds the context to the get v5 enterprises enterprise week reports Id params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsIDParams.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithDefaults hydrates default values in the get v5 enterprises enterprise week reports Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithID ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithID(id int32) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithID adds the id to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsIDParams
WithTimeout adds the timeout to the get v5 enterprises enterprise week reports Id params.
func (*GetV5EnterprisesEnterpriseWeekReportsIDParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseWeekReportsIDReader ¶
type GetV5EnterprisesEnterpriseWeekReportsIDReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsIDReader is a Reader for the GetV5EnterprisesEnterpriseWeekReportsID structure.
func (*GetV5EnterprisesEnterpriseWeekReportsIDReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseWeekReportsOK ¶
type GetV5EnterprisesEnterpriseWeekReportsOK struct {
Payload []*models.WeekReport
}
GetV5EnterprisesEnterpriseWeekReportsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseWeekReportsOK ¶
func NewGetV5EnterprisesEnterpriseWeekReportsOK() *GetV5EnterprisesEnterpriseWeekReportsOK
NewGetV5EnterprisesEnterpriseWeekReportsOK creates a GetV5EnterprisesEnterpriseWeekReportsOK with default headers values
func (*GetV5EnterprisesEnterpriseWeekReportsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise week reports o k response
func (*GetV5EnterprisesEnterpriseWeekReportsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) Error() string
func (*GetV5EnterprisesEnterpriseWeekReportsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) GetPayload() []*models.WeekReport
func (*GetV5EnterprisesEnterpriseWeekReportsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise week reports o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise week reports o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseWeekReportsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise week reports o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise week reports o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise week reports o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseWeekReportsOK) String ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsOK) String() string
type GetV5EnterprisesEnterpriseWeekReportsParams ¶
type GetV5EnterprisesEnterpriseWeekReportsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Date.
周报日期(格式:2019-03-25)
*/
Date *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Username.
用户名(username/login)
*/
Username *string
/* WeekIndex.
周报所属周
Format: int32
*/
WeekIndex *int32
/* Year.
周报所属年
Format: int32
*/
Year *int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise week reports operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseWeekReportsParams ¶
func NewGetV5EnterprisesEnterpriseWeekReportsParams() *GetV5EnterprisesEnterpriseWeekReportsParams
NewGetV5EnterprisesEnterpriseWeekReportsParams creates a new GetV5EnterprisesEnterpriseWeekReportsParams 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 NewGetV5EnterprisesEnterpriseWeekReportsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsParams
NewGetV5EnterprisesEnterpriseWeekReportsParamsWithContext creates a new GetV5EnterprisesEnterpriseWeekReportsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsParams.
func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsParams
NewGetV5EnterprisesEnterpriseWeekReportsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseWeekReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseWeekReportsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsParams
NewGetV5EnterprisesEnterpriseWeekReportsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseWeekReportsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise week reports params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsParams.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetDate ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetDate(date *string)
SetDate adds the date to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise week reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetUsername ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetUsername(username *string)
SetUsername adds the username to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetWeekIndex ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetWeekIndex(weekIndex *int32)
SetWeekIndex adds the weekIndex to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) SetYear ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) SetYear(year *int32)
SetYear adds the year to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseWeekReportsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseWeekReportsParams
WithContext adds the context to the get v5 enterprises enterprise week reports params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseWeekReportsParams.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithDate ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithDate(date *string) *GetV5EnterprisesEnterpriseWeekReportsParams
WithDate adds the date to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithDefaults() *GetV5EnterprisesEnterpriseWeekReportsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise week reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseWeekReportsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseWeekReportsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
WithPage adds the page to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
WithPerPage adds the perPage to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseWeekReportsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithUsername ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithUsername(username *string) *GetV5EnterprisesEnterpriseWeekReportsParams
WithUsername adds the username to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithWeekIndex ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithWeekIndex(weekIndex *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
WithWeekIndex adds the weekIndex to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WithYear ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WithYear(year *int32) *GetV5EnterprisesEnterpriseWeekReportsParams
WithYear adds the year to the get v5 enterprises enterprise week reports params.
func (*GetV5EnterprisesEnterpriseWeekReportsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseWeekReportsReader ¶
type GetV5EnterprisesEnterpriseWeekReportsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseWeekReportsReader is a Reader for the GetV5EnterprisesEnterpriseWeekReports structure.
func (*GetV5EnterprisesEnterpriseWeekReportsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseWeekReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5UserEnterprisesOK ¶
type GetV5UserEnterprisesOK struct {
Payload []*models.EnterpriseBasic
}
GetV5UserEnterprisesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5UserEnterprisesOK ¶
func NewGetV5UserEnterprisesOK() *GetV5UserEnterprisesOK
NewGetV5UserEnterprisesOK creates a GetV5UserEnterprisesOK with default headers values
func (*GetV5UserEnterprisesOK) Code ¶
func (o *GetV5UserEnterprisesOK) Code() int
Code gets the status code for the get v5 user enterprises o k response
func (*GetV5UserEnterprisesOK) Error ¶
func (o *GetV5UserEnterprisesOK) Error() string
func (*GetV5UserEnterprisesOK) GetPayload ¶
func (o *GetV5UserEnterprisesOK) GetPayload() []*models.EnterpriseBasic
func (*GetV5UserEnterprisesOK) IsClientError ¶
func (o *GetV5UserEnterprisesOK) IsClientError() bool
IsClientError returns true when this get v5 user enterprises o k response has a 4xx status code
func (*GetV5UserEnterprisesOK) IsCode ¶
func (o *GetV5UserEnterprisesOK) IsCode(code int) bool
IsCode returns true when this get v5 user enterprises o k response a status code equal to that given
func (*GetV5UserEnterprisesOK) IsRedirect ¶
func (o *GetV5UserEnterprisesOK) IsRedirect() bool
IsRedirect returns true when this get v5 user enterprises o k response has a 3xx status code
func (*GetV5UserEnterprisesOK) IsServerError ¶
func (o *GetV5UserEnterprisesOK) IsServerError() bool
IsServerError returns true when this get v5 user enterprises o k response has a 5xx status code
func (*GetV5UserEnterprisesOK) IsSuccess ¶
func (o *GetV5UserEnterprisesOK) IsSuccess() bool
IsSuccess returns true when this get v5 user enterprises o k response has a 2xx status code
func (*GetV5UserEnterprisesOK) String ¶
func (o *GetV5UserEnterprisesOK) String() string
type GetV5UserEnterprisesParams ¶
type GetV5UserEnterprisesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Admin.
只列出授权用户管理的企业
Default: true
*/
Admin *bool
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5UserEnterprisesParams contains all the parameters to send to the API endpoint
for the get v5 user enterprises operation. Typically these are written to a http.Request.
func NewGetV5UserEnterprisesParams ¶
func NewGetV5UserEnterprisesParams() *GetV5UserEnterprisesParams
NewGetV5UserEnterprisesParams creates a new GetV5UserEnterprisesParams 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 NewGetV5UserEnterprisesParamsWithContext
deprecated
func NewGetV5UserEnterprisesParamsWithContext(ctx context.Context) *GetV5UserEnterprisesParams
NewGetV5UserEnterprisesParamsWithContext creates a new GetV5UserEnterprisesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5UserEnterprisesParams.
func NewGetV5UserEnterprisesParamsWithHTTPClient ¶
func NewGetV5UserEnterprisesParamsWithHTTPClient(client *http.Client) *GetV5UserEnterprisesParams
NewGetV5UserEnterprisesParamsWithHTTPClient creates a new GetV5UserEnterprisesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5UserEnterprisesParamsWithTimeout ¶
func NewGetV5UserEnterprisesParamsWithTimeout(timeout time.Duration) *GetV5UserEnterprisesParams
NewGetV5UserEnterprisesParamsWithTimeout creates a new GetV5UserEnterprisesParams object with the ability to set a timeout on a request.
func (*GetV5UserEnterprisesParams) SetAccessToken ¶
func (o *GetV5UserEnterprisesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) SetAdmin ¶
func (o *GetV5UserEnterprisesParams) SetAdmin(admin *bool)
SetAdmin adds the admin to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) SetContext
deprecated
func (o *GetV5UserEnterprisesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 user enterprises params.
Deprecated: use the operation call with context to pass the context instead of GetV5UserEnterprisesParams.
func (*GetV5UserEnterprisesParams) SetDefaults ¶
func (o *GetV5UserEnterprisesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 user enterprises params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5UserEnterprisesParams) SetHTTPClient ¶
func (o *GetV5UserEnterprisesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) SetPage ¶
func (o *GetV5UserEnterprisesParams) SetPage(page *int32)
SetPage adds the page to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) SetPerPage ¶
func (o *GetV5UserEnterprisesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) SetTimeout ¶
func (o *GetV5UserEnterprisesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithAccessToken ¶
func (o *GetV5UserEnterprisesParams) WithAccessToken(accessToken *string) *GetV5UserEnterprisesParams
WithAccessToken adds the accessToken to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithAdmin ¶
func (o *GetV5UserEnterprisesParams) WithAdmin(admin *bool) *GetV5UserEnterprisesParams
WithAdmin adds the admin to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithContext
deprecated
func (o *GetV5UserEnterprisesParams) WithContext(ctx context.Context) *GetV5UserEnterprisesParams
WithContext adds the context to the get v5 user enterprises params.
Deprecated: use the operation call with context to pass the context instead of GetV5UserEnterprisesParams.
func (*GetV5UserEnterprisesParams) WithDefaults ¶
func (o *GetV5UserEnterprisesParams) WithDefaults() *GetV5UserEnterprisesParams
WithDefaults hydrates default values in the get v5 user enterprises params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5UserEnterprisesParams) WithHTTPClient ¶
func (o *GetV5UserEnterprisesParams) WithHTTPClient(client *http.Client) *GetV5UserEnterprisesParams
WithHTTPClient adds the HTTPClient to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithPage ¶
func (o *GetV5UserEnterprisesParams) WithPage(page *int32) *GetV5UserEnterprisesParams
WithPage adds the page to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithPerPage ¶
func (o *GetV5UserEnterprisesParams) WithPerPage(perPage *int32) *GetV5UserEnterprisesParams
WithPerPage adds the perPage to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WithTimeout ¶
func (o *GetV5UserEnterprisesParams) WithTimeout(timeout time.Duration) *GetV5UserEnterprisesParams
WithTimeout adds the timeout to the get v5 user enterprises params.
func (*GetV5UserEnterprisesParams) WriteToRequest ¶
func (o *GetV5UserEnterprisesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5UserEnterprisesReader ¶
type GetV5UserEnterprisesReader struct {
// contains filtered or unexported fields
}
GetV5UserEnterprisesReader is a Reader for the GetV5UserEnterprises structure.
func (*GetV5UserEnterprisesReader) ReadResponse ¶
func (o *GetV5UserEnterprisesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchV5EnterprisesEnterpriseWeekReportIDOK ¶
type PatchV5EnterprisesEnterpriseWeekReportIDOK struct {
Payload *models.WeekReport
}
PatchV5EnterprisesEnterpriseWeekReportIDOK describes a response with status code 200, with default header values.
返回格式
func NewPatchV5EnterprisesEnterpriseWeekReportIDOK ¶
func NewPatchV5EnterprisesEnterpriseWeekReportIDOK() *PatchV5EnterprisesEnterpriseWeekReportIDOK
NewPatchV5EnterprisesEnterpriseWeekReportIDOK creates a PatchV5EnterprisesEnterpriseWeekReportIDOK with default headers values
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) Code ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) Code() int
Code gets the status code for the patch v5 enterprises enterprise week report Id o k response
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) Error ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) Error() string
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) GetPayload ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) GetPayload() *models.WeekReport
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) IsClientError ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsClientError() bool
IsClientError returns true when this patch v5 enterprises enterprise week report Id o k response has a 4xx status code
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) IsCode ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsCode(code int) bool
IsCode returns true when this patch v5 enterprises enterprise week report Id o k response a status code equal to that given
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) IsRedirect ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsRedirect() bool
IsRedirect returns true when this patch v5 enterprises enterprise week report Id o k response has a 3xx status code
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) IsServerError ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsServerError() bool
IsServerError returns true when this patch v5 enterprises enterprise week report Id o k response has a 5xx status code
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) IsSuccess ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) IsSuccess() bool
IsSuccess returns true when this patch v5 enterprises enterprise week report Id o k response has a 2xx status code
func (*PatchV5EnterprisesEnterpriseWeekReportIDOK) String ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDOK) String() string
type PatchV5EnterprisesEnterpriseWeekReportIDParams ¶
type PatchV5EnterprisesEnterpriseWeekReportIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Content.
周报内容
*/
Content string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* ID.
周报ID
Format: int32
*/
ID int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV5EnterprisesEnterpriseWeekReportIDParams contains all the parameters to send to the API endpoint
for the patch v5 enterprises enterprise week report Id operation. Typically these are written to a http.Request.
func NewPatchV5EnterprisesEnterpriseWeekReportIDParams ¶
func NewPatchV5EnterprisesEnterpriseWeekReportIDParams() *PatchV5EnterprisesEnterpriseWeekReportIDParams
NewPatchV5EnterprisesEnterpriseWeekReportIDParams creates a new PatchV5EnterprisesEnterpriseWeekReportIDParams 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 NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithContext
deprecated
func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseWeekReportIDParams
NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithContext creates a new PatchV5EnterprisesEnterpriseWeekReportIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseWeekReportIDParams.
func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithHTTPClient ¶
func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseWeekReportIDParams
NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithHTTPClient creates a new PatchV5EnterprisesEnterpriseWeekReportIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithTimeout ¶
func NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseWeekReportIDParams
NewPatchV5EnterprisesEnterpriseWeekReportIDParamsWithTimeout creates a new PatchV5EnterprisesEnterpriseWeekReportIDParams object with the ability to set a timeout on a request.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetAccessToken ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContent ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContent(content string)
SetContent adds the content to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContext
deprecated
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v5 enterprises enterprise week report Id params.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseWeekReportIDParams.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetDefaults ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v5 enterprises enterprise week report Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetEnterprise ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetHTTPClient ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetID ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetID(id int32)
SetID adds the id to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) SetTimeout ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithAccessToken ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithAccessToken(accessToken *string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithAccessToken adds the accessToken to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContent ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContent(content string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithContent adds the content to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContext
deprecated
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithContext adds the context to the patch v5 enterprises enterprise week report Id params.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseWeekReportIDParams.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithDefaults ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithDefaults() *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithDefaults hydrates default values in the patch v5 enterprises enterprise week report Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithEnterprise ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithEnterprise(enterprise string) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithEnterprise adds the enterprise to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithHTTPClient ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithID ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithID(id int32) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithID adds the id to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WithTimeout ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseWeekReportIDParams
WithTimeout adds the timeout to the patch v5 enterprises enterprise week report Id params.
func (*PatchV5EnterprisesEnterpriseWeekReportIDParams) WriteToRequest ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PatchV5EnterprisesEnterpriseWeekReportIDReader ¶
type PatchV5EnterprisesEnterpriseWeekReportIDReader struct {
// contains filtered or unexported fields
}
PatchV5EnterprisesEnterpriseWeekReportIDReader is a Reader for the PatchV5EnterprisesEnterpriseWeekReportID structure.
func (*PatchV5EnterprisesEnterpriseWeekReportIDReader) ReadResponse ¶
func (o *PatchV5EnterprisesEnterpriseWeekReportIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostV5EnterprisesEnterpriseMembersForbidden ¶
type PostV5EnterprisesEnterpriseMembersForbidden struct {
}
PostV5EnterprisesEnterpriseMembersForbidden describes a response with status code 403, with default header values.
没有权限
func NewPostV5EnterprisesEnterpriseMembersForbidden ¶
func NewPostV5EnterprisesEnterpriseMembersForbidden() *PostV5EnterprisesEnterpriseMembersForbidden
NewPostV5EnterprisesEnterpriseMembersForbidden creates a PostV5EnterprisesEnterpriseMembersForbidden with default headers values
func (*PostV5EnterprisesEnterpriseMembersForbidden) Code ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) Code() int
Code gets the status code for the post v5 enterprises enterprise members forbidden response
func (*PostV5EnterprisesEnterpriseMembersForbidden) Error ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) Error() string
func (*PostV5EnterprisesEnterpriseMembersForbidden) IsClientError ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsClientError() bool
IsClientError returns true when this post v5 enterprises enterprise members forbidden response has a 4xx status code
func (*PostV5EnterprisesEnterpriseMembersForbidden) IsCode ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsCode(code int) bool
IsCode returns true when this post v5 enterprises enterprise members forbidden response a status code equal to that given
func (*PostV5EnterprisesEnterpriseMembersForbidden) IsRedirect ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsRedirect() bool
IsRedirect returns true when this post v5 enterprises enterprise members forbidden response has a 3xx status code
func (*PostV5EnterprisesEnterpriseMembersForbidden) IsServerError ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsServerError() bool
IsServerError returns true when this post v5 enterprises enterprise members forbidden response has a 5xx status code
func (*PostV5EnterprisesEnterpriseMembersForbidden) IsSuccess ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) IsSuccess() bool
IsSuccess returns true when this post v5 enterprises enterprise members forbidden response has a 2xx status code
func (*PostV5EnterprisesEnterpriseMembersForbidden) String ¶
func (o *PostV5EnterprisesEnterpriseMembersForbidden) String() string
type PostV5EnterprisesEnterpriseMembersNoContent ¶
type PostV5EnterprisesEnterpriseMembersNoContent struct {
}
PostV5EnterprisesEnterpriseMembersNoContent describes a response with status code 204, with default header values.
执行成功
func NewPostV5EnterprisesEnterpriseMembersNoContent ¶
func NewPostV5EnterprisesEnterpriseMembersNoContent() *PostV5EnterprisesEnterpriseMembersNoContent
NewPostV5EnterprisesEnterpriseMembersNoContent creates a PostV5EnterprisesEnterpriseMembersNoContent with default headers values
func (*PostV5EnterprisesEnterpriseMembersNoContent) Code ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) Code() int
Code gets the status code for the post v5 enterprises enterprise members no content response
func (*PostV5EnterprisesEnterpriseMembersNoContent) Error ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) Error() string
func (*PostV5EnterprisesEnterpriseMembersNoContent) IsClientError ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsClientError() bool
IsClientError returns true when this post v5 enterprises enterprise members no content response has a 4xx status code
func (*PostV5EnterprisesEnterpriseMembersNoContent) IsCode ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsCode(code int) bool
IsCode returns true when this post v5 enterprises enterprise members no content response a status code equal to that given
func (*PostV5EnterprisesEnterpriseMembersNoContent) IsRedirect ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsRedirect() bool
IsRedirect returns true when this post v5 enterprises enterprise members no content response has a 3xx status code
func (*PostV5EnterprisesEnterpriseMembersNoContent) IsServerError ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsServerError() bool
IsServerError returns true when this post v5 enterprises enterprise members no content response has a 5xx status code
func (*PostV5EnterprisesEnterpriseMembersNoContent) IsSuccess ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) IsSuccess() bool
IsSuccess returns true when this post v5 enterprises enterprise members no content response has a 2xx status code
func (*PostV5EnterprisesEnterpriseMembersNoContent) String ¶
func (o *PostV5EnterprisesEnterpriseMembersNoContent) String() string
type PostV5EnterprisesEnterpriseMembersNotFound ¶
type PostV5EnterprisesEnterpriseMembersNotFound struct {
}
PostV5EnterprisesEnterpriseMembersNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewPostV5EnterprisesEnterpriseMembersNotFound ¶
func NewPostV5EnterprisesEnterpriseMembersNotFound() *PostV5EnterprisesEnterpriseMembersNotFound
NewPostV5EnterprisesEnterpriseMembersNotFound creates a PostV5EnterprisesEnterpriseMembersNotFound with default headers values
func (*PostV5EnterprisesEnterpriseMembersNotFound) Code ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) Code() int
Code gets the status code for the post v5 enterprises enterprise members not found response
func (*PostV5EnterprisesEnterpriseMembersNotFound) Error ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) Error() string
func (*PostV5EnterprisesEnterpriseMembersNotFound) IsClientError ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsClientError() bool
IsClientError returns true when this post v5 enterprises enterprise members not found response has a 4xx status code
func (*PostV5EnterprisesEnterpriseMembersNotFound) IsCode ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsCode(code int) bool
IsCode returns true when this post v5 enterprises enterprise members not found response a status code equal to that given
func (*PostV5EnterprisesEnterpriseMembersNotFound) IsRedirect ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsRedirect() bool
IsRedirect returns true when this post v5 enterprises enterprise members not found response has a 3xx status code
func (*PostV5EnterprisesEnterpriseMembersNotFound) IsServerError ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsServerError() bool
IsServerError returns true when this post v5 enterprises enterprise members not found response has a 5xx status code
func (*PostV5EnterprisesEnterpriseMembersNotFound) IsSuccess ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) IsSuccess() bool
IsSuccess returns true when this post v5 enterprises enterprise members not found response has a 2xx status code
func (*PostV5EnterprisesEnterpriseMembersNotFound) String ¶
func (o *PostV5EnterprisesEnterpriseMembersNotFound) String() string
type PostV5EnterprisesEnterpriseMembersParams ¶
type PostV5EnterprisesEnterpriseMembersParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Email.
要添加邮箱地址,若该邮箱未注册则自动创建帐号。username,email至少填写一个
*/
Email *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Name.
企业成员真实姓名(备注)
*/
Name *string
/* Role.
企业角色:member => 普通成员, outsourced => 外包成员, admin => 管理员
Default: "member"
*/
Role *string
/* Username.
需要邀请的用户名(username/login),username,email至少填写一个
*/
Username *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseMembersParams contains all the parameters to send to the API endpoint
for the post v5 enterprises enterprise members operation. Typically these are written to a http.Request.
func NewPostV5EnterprisesEnterpriseMembersParams ¶
func NewPostV5EnterprisesEnterpriseMembersParams() *PostV5EnterprisesEnterpriseMembersParams
NewPostV5EnterprisesEnterpriseMembersParams creates a new PostV5EnterprisesEnterpriseMembersParams 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 NewPostV5EnterprisesEnterpriseMembersParamsWithContext
deprecated
func NewPostV5EnterprisesEnterpriseMembersParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseMembersParams
NewPostV5EnterprisesEnterpriseMembersParamsWithContext creates a new PostV5EnterprisesEnterpriseMembersParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseMembersParams.
func NewPostV5EnterprisesEnterpriseMembersParamsWithHTTPClient ¶
func NewPostV5EnterprisesEnterpriseMembersParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseMembersParams
NewPostV5EnterprisesEnterpriseMembersParamsWithHTTPClient creates a new PostV5EnterprisesEnterpriseMembersParams object with the ability to set a custom HTTPClient for a request.
func NewPostV5EnterprisesEnterpriseMembersParamsWithTimeout ¶
func NewPostV5EnterprisesEnterpriseMembersParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseMembersParams
NewPostV5EnterprisesEnterpriseMembersParamsWithTimeout creates a new PostV5EnterprisesEnterpriseMembersParams object with the ability to set a timeout on a request.
func (*PostV5EnterprisesEnterpriseMembersParams) SetAccessToken ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetContext
deprecated
func (o *PostV5EnterprisesEnterpriseMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the post v5 enterprises enterprise members params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseMembersParams.
func (*PostV5EnterprisesEnterpriseMembersParams) SetDefaults ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetDefaults()
SetDefaults hydrates default values in the post v5 enterprises enterprise members params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseMembersParams) SetEmail ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetEmail(email *string)
SetEmail adds the email to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetEnterprise ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetName ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetName(name *string)
SetName adds the name to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetRole ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetRole(role *string)
SetRole adds the role to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetTimeout ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) SetUsername ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) SetUsername(username *string)
SetUsername adds the username to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithAccessToken ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseMembersParams
WithAccessToken adds the accessToken to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithContext
deprecated
func (o *PostV5EnterprisesEnterpriseMembersParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseMembersParams
WithContext adds the context to the post v5 enterprises enterprise members params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseMembersParams.
func (*PostV5EnterprisesEnterpriseMembersParams) WithDefaults ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithDefaults() *PostV5EnterprisesEnterpriseMembersParams
WithDefaults hydrates default values in the post v5 enterprises enterprise members params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseMembersParams) WithEmail ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithEmail(email *string) *PostV5EnterprisesEnterpriseMembersParams
WithEmail adds the email to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithEnterprise ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseMembersParams
WithEnterprise adds the enterprise to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseMembersParams
WithHTTPClient adds the HTTPClient to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithName ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithName(name *string) *PostV5EnterprisesEnterpriseMembersParams
WithName adds the name to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithRole ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithRole(role *string) *PostV5EnterprisesEnterpriseMembersParams
WithRole adds the role to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithTimeout ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseMembersParams
WithTimeout adds the timeout to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WithUsername ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WithUsername(username *string) *PostV5EnterprisesEnterpriseMembersParams
WithUsername adds the username to the post v5 enterprises enterprise members params.
func (*PostV5EnterprisesEnterpriseMembersParams) WriteToRequest ¶
func (o *PostV5EnterprisesEnterpriseMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostV5EnterprisesEnterpriseMembersReader ¶
type PostV5EnterprisesEnterpriseMembersReader struct {
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseMembersReader is a Reader for the PostV5EnterprisesEnterpriseMembers structure.
func (*PostV5EnterprisesEnterpriseMembersReader) ReadResponse ¶
func (o *PostV5EnterprisesEnterpriseMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostV5EnterprisesEnterpriseWeekReportCreated ¶
type PostV5EnterprisesEnterpriseWeekReportCreated struct {
Payload *models.WeekReport
}
PostV5EnterprisesEnterpriseWeekReportCreated describes a response with status code 201, with default header values.
返回格式
func NewPostV5EnterprisesEnterpriseWeekReportCreated ¶
func NewPostV5EnterprisesEnterpriseWeekReportCreated() *PostV5EnterprisesEnterpriseWeekReportCreated
NewPostV5EnterprisesEnterpriseWeekReportCreated creates a PostV5EnterprisesEnterpriseWeekReportCreated with default headers values
func (*PostV5EnterprisesEnterpriseWeekReportCreated) Code ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) Code() int
Code gets the status code for the post v5 enterprises enterprise week report created response
func (*PostV5EnterprisesEnterpriseWeekReportCreated) Error ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) Error() string
func (*PostV5EnterprisesEnterpriseWeekReportCreated) GetPayload ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) GetPayload() *models.WeekReport
func (*PostV5EnterprisesEnterpriseWeekReportCreated) IsClientError ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsClientError() bool
IsClientError returns true when this post v5 enterprises enterprise week report created response has a 4xx status code
func (*PostV5EnterprisesEnterpriseWeekReportCreated) IsCode ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsCode(code int) bool
IsCode returns true when this post v5 enterprises enterprise week report created response a status code equal to that given
func (*PostV5EnterprisesEnterpriseWeekReportCreated) IsRedirect ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsRedirect() bool
IsRedirect returns true when this post v5 enterprises enterprise week report created response has a 3xx status code
func (*PostV5EnterprisesEnterpriseWeekReportCreated) IsServerError ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsServerError() bool
IsServerError returns true when this post v5 enterprises enterprise week report created response has a 5xx status code
func (*PostV5EnterprisesEnterpriseWeekReportCreated) IsSuccess ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) IsSuccess() bool
IsSuccess returns true when this post v5 enterprises enterprise week report created response has a 2xx status code
func (*PostV5EnterprisesEnterpriseWeekReportCreated) String ¶
func (o *PostV5EnterprisesEnterpriseWeekReportCreated) String() string
type PostV5EnterprisesEnterpriseWeekReportParams ¶
type PostV5EnterprisesEnterpriseWeekReportParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Content.
周报内容
*/
Content string
/* Date.
周报日期(格式:2019-03-25)
*/
Date *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* WeekIndex.
周报所属周
Format: int32
*/
WeekIndex int32
/* Year.
周报所属年
Format: int32
*/
Year int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseWeekReportParams contains all the parameters to send to the API endpoint
for the post v5 enterprises enterprise week report operation. Typically these are written to a http.Request.
func NewPostV5EnterprisesEnterpriseWeekReportParams ¶
func NewPostV5EnterprisesEnterpriseWeekReportParams() *PostV5EnterprisesEnterpriseWeekReportParams
NewPostV5EnterprisesEnterpriseWeekReportParams creates a new PostV5EnterprisesEnterpriseWeekReportParams 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 NewPostV5EnterprisesEnterpriseWeekReportParamsWithContext
deprecated
func NewPostV5EnterprisesEnterpriseWeekReportParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportParams
NewPostV5EnterprisesEnterpriseWeekReportParamsWithContext creates a new PostV5EnterprisesEnterpriseWeekReportParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportParams.
func NewPostV5EnterprisesEnterpriseWeekReportParamsWithHTTPClient ¶
func NewPostV5EnterprisesEnterpriseWeekReportParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportParams
NewPostV5EnterprisesEnterpriseWeekReportParamsWithHTTPClient creates a new PostV5EnterprisesEnterpriseWeekReportParams object with the ability to set a custom HTTPClient for a request.
func NewPostV5EnterprisesEnterpriseWeekReportParamsWithTimeout ¶
func NewPostV5EnterprisesEnterpriseWeekReportParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportParams
NewPostV5EnterprisesEnterpriseWeekReportParamsWithTimeout creates a new PostV5EnterprisesEnterpriseWeekReportParams object with the ability to set a timeout on a request.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetAccessToken ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetContent ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetContent(content string)
SetContent adds the content to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetContext
deprecated
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetContext(ctx context.Context)
SetContext adds the context to the post v5 enterprises enterprise week report params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportParams.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetDate ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetDate(date *string)
SetDate adds the date to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetDefaults ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetDefaults()
SetDefaults hydrates default values in the post v5 enterprises enterprise week report params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetEnterprise ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetTimeout ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetWeekIndex ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetWeekIndex(weekIndex int32)
SetWeekIndex adds the weekIndex to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) SetYear ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) SetYear(year int32)
SetYear adds the year to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithAccessToken ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseWeekReportParams
WithAccessToken adds the accessToken to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithContent ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithContent(content string) *PostV5EnterprisesEnterpriseWeekReportParams
WithContent adds the content to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithContext
deprecated
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportParams
WithContext adds the context to the post v5 enterprises enterprise week report params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportParams.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithDate ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithDate(date *string) *PostV5EnterprisesEnterpriseWeekReportParams
WithDate adds the date to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithDefaults ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithDefaults() *PostV5EnterprisesEnterpriseWeekReportParams
WithDefaults hydrates default values in the post v5 enterprises enterprise week report params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithEnterprise ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseWeekReportParams
WithEnterprise adds the enterprise to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportParams
WithHTTPClient adds the HTTPClient to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithTimeout ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportParams
WithTimeout adds the timeout to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithWeekIndex ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithWeekIndex(weekIndex int32) *PostV5EnterprisesEnterpriseWeekReportParams
WithWeekIndex adds the weekIndex to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WithYear ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WithYear(year int32) *PostV5EnterprisesEnterpriseWeekReportParams
WithYear adds the year to the post v5 enterprises enterprise week report params.
func (*PostV5EnterprisesEnterpriseWeekReportParams) WriteToRequest ¶
func (o *PostV5EnterprisesEnterpriseWeekReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostV5EnterprisesEnterpriseWeekReportReader ¶
type PostV5EnterprisesEnterpriseWeekReportReader struct {
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseWeekReportReader is a Reader for the PostV5EnterprisesEnterpriseWeekReport structure.
func (*PostV5EnterprisesEnterpriseWeekReportReader) ReadResponse ¶
func (o *PostV5EnterprisesEnterpriseWeekReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated ¶
PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated describes a response with status code 201, with default header values.
返回格式
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentCreated ¶
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentCreated() *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated
NewPostV5EnterprisesEnterpriseWeekReportsIDCommentCreated creates a PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated with default headers values
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Code ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Code() int
Code gets the status code for the post v5 enterprises enterprise week reports Id comment created response
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Error ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) Error() string
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) GetPayload ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) GetPayload() *models.Note
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsClientError ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsClientError() bool
IsClientError returns true when this post v5 enterprises enterprise week reports Id comment created response has a 4xx status code
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsCode ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsCode(code int) bool
IsCode returns true when this post v5 enterprises enterprise week reports Id comment created response a status code equal to that given
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsRedirect ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsRedirect() bool
IsRedirect returns true when this post v5 enterprises enterprise week reports Id comment created response has a 3xx status code
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsServerError ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsServerError() bool
IsServerError returns true when this post v5 enterprises enterprise week reports Id comment created response has a 5xx status code
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsSuccess ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) IsSuccess() bool
IsSuccess returns true when this post v5 enterprises enterprise week reports Id comment created response has a 2xx status code
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) String ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentCreated) String() string
type PostV5EnterprisesEnterpriseWeekReportsIDCommentParams ¶
type PostV5EnterprisesEnterpriseWeekReportsIDCommentParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Body.
评论的内容
*/
Body string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* ID.
周报ID
Format: int32
*/
ID int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseWeekReportsIDCommentParams contains all the parameters to send to the API endpoint
for the post v5 enterprises enterprise week reports Id comment operation. Typically these are written to a http.Request.
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParams ¶
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParams() *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParams creates a new PostV5EnterprisesEnterpriseWeekReportsIDCommentParams 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 NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithContext
deprecated
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithContext creates a new PostV5EnterprisesEnterpriseWeekReportsIDCommentParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportsIDCommentParams.
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithHTTPClient ¶
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithHTTPClient creates a new PostV5EnterprisesEnterpriseWeekReportsIDCommentParams object with the ability to set a custom HTTPClient for a request.
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithTimeout ¶
func NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
NewPostV5EnterprisesEnterpriseWeekReportsIDCommentParamsWithTimeout creates a new PostV5EnterprisesEnterpriseWeekReportsIDCommentParams object with the ability to set a timeout on a request.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetAccessToken ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetBody ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetBody(body string)
SetBody adds the body to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetContext
deprecated
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the post v5 enterprises enterprise week reports Id comment params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportsIDCommentParams.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetDefaults ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetDefaults()
SetDefaults hydrates default values in the post v5 enterprises enterprise week reports Id comment params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetEnterprise ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetID ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetID(id int32)
SetID adds the id to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetTimeout ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithAccessToken ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithAccessToken(accessToken *string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithAccessToken adds the accessToken to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithBody ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithBody(body string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithBody adds the body to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithContext
deprecated
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithContext(ctx context.Context) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithContext adds the context to the post v5 enterprises enterprise week reports Id comment params.
Deprecated: use the operation call with context to pass the context instead of PostV5EnterprisesEnterpriseWeekReportsIDCommentParams.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithDefaults ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithDefaults() *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithDefaults hydrates default values in the post v5 enterprises enterprise week reports Id comment params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithEnterprise ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithEnterprise(enterprise string) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithEnterprise adds the enterprise to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithHTTPClient ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithHTTPClient(client *http.Client) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithHTTPClient adds the HTTPClient to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithID ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithID(id int32) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithID adds the id to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithTimeout ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WithTimeout(timeout time.Duration) *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams
WithTimeout adds the timeout to the post v5 enterprises enterprise week reports Id comment params.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WriteToRequest ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostV5EnterprisesEnterpriseWeekReportsIDCommentReader ¶
type PostV5EnterprisesEnterpriseWeekReportsIDCommentReader struct {
// contains filtered or unexported fields
}
PostV5EnterprisesEnterpriseWeekReportsIDCommentReader is a Reader for the PostV5EnterprisesEnterpriseWeekReportsIDComment structure.
func (*PostV5EnterprisesEnterpriseWeekReportsIDCommentReader) ReadResponse ¶
func (o *PostV5EnterprisesEnterpriseWeekReportsIDCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutV5EnterprisesEnterpriseMembersUsernameBadRequest ¶
type PutV5EnterprisesEnterpriseMembersUsernameBadRequest struct {
}
PutV5EnterprisesEnterpriseMembersUsernameBadRequest describes a response with status code 400, with default header values.
数据不合法
func NewPutV5EnterprisesEnterpriseMembersUsernameBadRequest ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameBadRequest() *PutV5EnterprisesEnterpriseMembersUsernameBadRequest
NewPutV5EnterprisesEnterpriseMembersUsernameBadRequest creates a PutV5EnterprisesEnterpriseMembersUsernameBadRequest with default headers values
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Code ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Code() int
Code gets the status code for the put v5 enterprises enterprise members username bad request response
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Error ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) Error() string
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsClientError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsClientError() bool
IsClientError returns true when this put v5 enterprises enterprise members username bad request response has a 4xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsCode ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsCode(code int) bool
IsCode returns true when this put v5 enterprises enterprise members username bad request response a status code equal to that given
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsRedirect ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsRedirect() bool
IsRedirect returns true when this put v5 enterprises enterprise members username bad request response has a 3xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsServerError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsServerError() bool
IsServerError returns true when this put v5 enterprises enterprise members username bad request response has a 5xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsSuccess ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) IsSuccess() bool
IsSuccess returns true when this put v5 enterprises enterprise members username bad request response has a 2xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameBadRequest) String ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameBadRequest) String() string
type PutV5EnterprisesEnterpriseMembersUsernameForbidden ¶
type PutV5EnterprisesEnterpriseMembersUsernameForbidden struct {
}
PutV5EnterprisesEnterpriseMembersUsernameForbidden describes a response with status code 403, with default header values.
没有权限
func NewPutV5EnterprisesEnterpriseMembersUsernameForbidden ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameForbidden() *PutV5EnterprisesEnterpriseMembersUsernameForbidden
NewPutV5EnterprisesEnterpriseMembersUsernameForbidden creates a PutV5EnterprisesEnterpriseMembersUsernameForbidden with default headers values
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) Code ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) Code() int
Code gets the status code for the put v5 enterprises enterprise members username forbidden response
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) Error ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) Error() string
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsClientError() bool
IsClientError returns true when this put v5 enterprises enterprise members username forbidden response has a 4xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsCode(code int) bool
IsCode returns true when this put v5 enterprises enterprise members username forbidden response a status code equal to that given
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsRedirect() bool
IsRedirect returns true when this put v5 enterprises enterprise members username forbidden response has a 3xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsServerError() bool
IsServerError returns true when this put v5 enterprises enterprise members username forbidden response has a 5xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) IsSuccess() bool
IsSuccess returns true when this put v5 enterprises enterprise members username forbidden response has a 2xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameForbidden) String ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameForbidden) String() string
type PutV5EnterprisesEnterpriseMembersUsernameNotFound ¶
type PutV5EnterprisesEnterpriseMembersUsernameNotFound struct {
}
PutV5EnterprisesEnterpriseMembersUsernameNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewPutV5EnterprisesEnterpriseMembersUsernameNotFound ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameNotFound() *PutV5EnterprisesEnterpriseMembersUsernameNotFound
NewPutV5EnterprisesEnterpriseMembersUsernameNotFound creates a PutV5EnterprisesEnterpriseMembersUsernameNotFound with default headers values
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) Code ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) Code() int
Code gets the status code for the put v5 enterprises enterprise members username not found response
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) Error ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) Error() string
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsClientError() bool
IsClientError returns true when this put v5 enterprises enterprise members username not found response has a 4xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsCode(code int) bool
IsCode returns true when this put v5 enterprises enterprise members username not found response a status code equal to that given
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsRedirect() bool
IsRedirect returns true when this put v5 enterprises enterprise members username not found response has a 3xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsServerError() bool
IsServerError returns true when this put v5 enterprises enterprise members username not found response has a 5xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) IsSuccess() bool
IsSuccess returns true when this put v5 enterprises enterprise members username not found response has a 2xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameNotFound) String ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameNotFound) String() string
type PutV5EnterprisesEnterpriseMembersUsernameOK ¶
type PutV5EnterprisesEnterpriseMembersUsernameOK struct {
Payload *models.EnterpriseMember
}
PutV5EnterprisesEnterpriseMembersUsernameOK describes a response with status code 200, with default header values.
返回格式
func NewPutV5EnterprisesEnterpriseMembersUsernameOK ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameOK() *PutV5EnterprisesEnterpriseMembersUsernameOK
NewPutV5EnterprisesEnterpriseMembersUsernameOK creates a PutV5EnterprisesEnterpriseMembersUsernameOK with default headers values
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) Code ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) Code() int
Code gets the status code for the put v5 enterprises enterprise members username o k response
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) Error ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) Error() string
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) GetPayload ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) GetPayload() *models.EnterpriseMember
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) IsClientError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsClientError() bool
IsClientError returns true when this put v5 enterprises enterprise members username o k response has a 4xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) IsCode ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsCode(code int) bool
IsCode returns true when this put v5 enterprises enterprise members username o k response a status code equal to that given
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsRedirect() bool
IsRedirect returns true when this put v5 enterprises enterprise members username o k response has a 3xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) IsServerError ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsServerError() bool
IsServerError returns true when this put v5 enterprises enterprise members username o k response has a 5xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) IsSuccess() bool
IsSuccess returns true when this put v5 enterprises enterprise members username o k response has a 2xx status code
func (*PutV5EnterprisesEnterpriseMembersUsernameOK) String ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameOK) String() string
type PutV5EnterprisesEnterpriseMembersUsernameParams ¶
type PutV5EnterprisesEnterpriseMembersUsernameParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Active.
是否可访问企业资源,默认:是。(若选否则禁止该用户访问企业资源)
Default: true
*/
Active *bool
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Name.
企业成员真实姓名(备注)
*/
Name *string
/* Role.
企业角色:member => 普通成员, outsourced => 外包成员, admin => 管理员
Default: "member"
*/
Role *string
/* Username.
用户名(username/login)
*/
Username string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutV5EnterprisesEnterpriseMembersUsernameParams contains all the parameters to send to the API endpoint
for the put v5 enterprises enterprise members username operation. Typically these are written to a http.Request.
func NewPutV5EnterprisesEnterpriseMembersUsernameParams ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameParams() *PutV5EnterprisesEnterpriseMembersUsernameParams
NewPutV5EnterprisesEnterpriseMembersUsernameParams creates a new PutV5EnterprisesEnterpriseMembersUsernameParams 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 NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithContext
deprecated
func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithContext(ctx context.Context) *PutV5EnterprisesEnterpriseMembersUsernameParams
NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithContext creates a new PutV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PutV5EnterprisesEnterpriseMembersUsernameParams.
func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient(client *http.Client) *PutV5EnterprisesEnterpriseMembersUsernameParams
NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithHTTPClient creates a new PutV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a custom HTTPClient for a request.
func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout ¶
func NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout(timeout time.Duration) *PutV5EnterprisesEnterpriseMembersUsernameParams
NewPutV5EnterprisesEnterpriseMembersUsernameParamsWithTimeout creates a new PutV5EnterprisesEnterpriseMembersUsernameParams object with the ability to set a timeout on a request.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetActive ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetActive(active *bool)
SetActive adds the active to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetContext
deprecated
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the put v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of PutV5EnterprisesEnterpriseMembersUsernameParams.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetDefaults()
SetDefaults hydrates default values in the put v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetName ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetName(name *string)
SetName adds the name to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetRole ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetRole(role *string)
SetRole adds the role to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) SetUsername ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) SetUsername(username string)
SetUsername adds the username to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithAccessToken(accessToken *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithAccessToken adds the accessToken to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithActive ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithActive(active *bool) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithActive adds the active to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithContext
deprecated
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithContext(ctx context.Context) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithContext adds the context to the put v5 enterprises enterprise members username params.
Deprecated: use the operation call with context to pass the context instead of PutV5EnterprisesEnterpriseMembersUsernameParams.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithDefaults() *PutV5EnterprisesEnterpriseMembersUsernameParams
WithDefaults hydrates default values in the put v5 enterprises enterprise members username params (not the query body).
All values with no default are reset to their zero value.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithEnterprise(enterprise string) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithEnterprise adds the enterprise to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithHTTPClient(client *http.Client) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithHTTPClient adds the HTTPClient to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithName ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithName(name *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithName adds the name to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithRole ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithRole(role *string) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithRole adds the role to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithTimeout(timeout time.Duration) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithTimeout adds the timeout to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WithUsername ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WithUsername(username string) *PutV5EnterprisesEnterpriseMembersUsernameParams
WithUsername adds the username to the put v5 enterprises enterprise members username params.
func (*PutV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PutV5EnterprisesEnterpriseMembersUsernameReader ¶
type PutV5EnterprisesEnterpriseMembersUsernameReader struct {
// contains filtered or unexported fields
}
PutV5EnterprisesEnterpriseMembersUsernameReader is a Reader for the PutV5EnterprisesEnterpriseMembersUsername structure.
func (*PutV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse ¶
func (o *PutV5EnterprisesEnterpriseMembersUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_v5_enterprises_enterprise_members_username_parameters.go
- delete_v5_enterprises_enterprise_members_username_responses.go
- delete_v5_enterprises_enterprise_week_reports_report_id_comments_id_parameters.go
- delete_v5_enterprises_enterprise_week_reports_report_id_comments_id_responses.go
- enterprises_client.go
- get_v5_enterprise_enterprise_pull_requests_parameters.go
- get_v5_enterprise_enterprise_pull_requests_responses.go
- get_v5_enterprises_enterprise_members_parameters.go
- get_v5_enterprises_enterprise_members_responses.go
- get_v5_enterprises_enterprise_members_search_parameters.go
- get_v5_enterprises_enterprise_members_search_responses.go
- get_v5_enterprises_enterprise_members_username_parameters.go
- get_v5_enterprises_enterprise_members_username_responses.go
- get_v5_enterprises_enterprise_parameters.go
- get_v5_enterprises_enterprise_responses.go
- get_v5_enterprises_enterprise_users_username_week_reports_parameters.go
- get_v5_enterprises_enterprise_users_username_week_reports_responses.go
- get_v5_enterprises_enterprise_week_reports_id_comments_parameters.go
- get_v5_enterprises_enterprise_week_reports_id_comments_responses.go
- get_v5_enterprises_enterprise_week_reports_id_parameters.go
- get_v5_enterprises_enterprise_week_reports_id_responses.go
- get_v5_enterprises_enterprise_week_reports_parameters.go
- get_v5_enterprises_enterprise_week_reports_responses.go
- get_v5_user_enterprises_parameters.go
- get_v5_user_enterprises_responses.go
- patch_v5_enterprises_enterprise_week_report_id_parameters.go
- patch_v5_enterprises_enterprise_week_report_id_responses.go
- post_v5_enterprises_enterprise_members_parameters.go
- post_v5_enterprises_enterprise_members_responses.go
- post_v5_enterprises_enterprise_week_report_parameters.go
- post_v5_enterprises_enterprise_week_report_responses.go
- post_v5_enterprises_enterprise_week_reports_id_comment_parameters.go
- post_v5_enterprises_enterprise_week_reports_id_comment_responses.go
- put_v5_enterprises_enterprise_members_username_parameters.go
- put_v5_enterprises_enterprise_members_username_responses.go