approval

package
v0.20241203.1090052 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalClient

type ApprovalClient struct {
	Client *msgraph.Client
}

func NewApprovalClientWithBaseURI

func NewApprovalClientWithBaseURI(sdkApi sdkEnv.Api) (*ApprovalClient, error)

func (ApprovalClient) CreateApproval

CreateApproval - Create new navigation property to approvals for users

func (ApprovalClient) DeleteApproval

DeleteApproval - Delete navigation property approvals for users

func (ApprovalClient) GetApproval

GetApproval - Get approvals from users

func (ApprovalClient) GetApprovalsCount

GetApprovalsCount - Get the number of the resource

func (ApprovalClient) ListApprovals

ListApprovals - Get approvals from users

func (ApprovalClient) ListApprovalsComplete

ListApprovalsComplete retrieves all the results into a single object

func (ApprovalClient) ListApprovalsCompleteMatchingPredicate

func (c ApprovalClient) ListApprovalsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListApprovalsOperationOptions, predicate ApprovalOperationPredicate) (result ListApprovalsCompleteResult, err error)

ListApprovalsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ApprovalClient) UpdateApproval

UpdateApproval - Update the navigation property approvals in users

type ApprovalOperationPredicate

type ApprovalOperationPredicate struct {
}

func (ApprovalOperationPredicate) Matches

func (p ApprovalOperationPredicate) Matches(input beta.Approval) bool

type CreateApprovalOperationOptions

type CreateApprovalOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateApprovalOperationOptions

func DefaultCreateApprovalOperationOptions() CreateApprovalOperationOptions

func (CreateApprovalOperationOptions) ToHeaders

func (CreateApprovalOperationOptions) ToOData

func (CreateApprovalOperationOptions) ToQuery

type CreateApprovalOperationResponse

type CreateApprovalOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Approval
}

type DeleteApprovalOperationOptions

type DeleteApprovalOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteApprovalOperationOptions

func DefaultDeleteApprovalOperationOptions() DeleteApprovalOperationOptions

func (DeleteApprovalOperationOptions) ToHeaders

func (DeleteApprovalOperationOptions) ToOData

func (DeleteApprovalOperationOptions) ToQuery

type DeleteApprovalOperationResponse

type DeleteApprovalOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetApprovalOperationOptions

type GetApprovalOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetApprovalOperationOptions

func DefaultGetApprovalOperationOptions() GetApprovalOperationOptions

func (GetApprovalOperationOptions) ToHeaders

func (GetApprovalOperationOptions) ToOData

func (GetApprovalOperationOptions) ToQuery

type GetApprovalOperationResponse

type GetApprovalOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Approval
}

type GetApprovalsCountOperationOptions

type GetApprovalsCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetApprovalsCountOperationOptions

func DefaultGetApprovalsCountOperationOptions() GetApprovalsCountOperationOptions

func (GetApprovalsCountOperationOptions) ToHeaders

func (GetApprovalsCountOperationOptions) ToOData

func (GetApprovalsCountOperationOptions) ToQuery

type GetApprovalsCountOperationResponse

type GetApprovalsCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListApprovalsCompleteResult

type ListApprovalsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.Approval
}

type ListApprovalsCustomPager

type ListApprovalsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListApprovalsCustomPager) NextPageLink() *odata.Link

type ListApprovalsOperationOptions

type ListApprovalsOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func DefaultListApprovalsOperationOptions

func DefaultListApprovalsOperationOptions() ListApprovalsOperationOptions

func (ListApprovalsOperationOptions) ToHeaders

func (ListApprovalsOperationOptions) ToOData

func (ListApprovalsOperationOptions) ToQuery

type ListApprovalsOperationResponse

type ListApprovalsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.Approval
}

type UpdateApprovalOperationOptions

type UpdateApprovalOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateApprovalOperationOptions

func DefaultUpdateApprovalOperationOptions() UpdateApprovalOperationOptions

func (UpdateApprovalOperationOptions) ToHeaders

func (UpdateApprovalOperationOptions) ToOData

func (UpdateApprovalOperationOptions) ToQuery

type UpdateApprovalOperationResponse

type UpdateApprovalOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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