Documentation ¶
Index ¶
- type CreateProfileAwardOperationOptions
- type CreateProfileAwardOperationResponse
- type DeleteProfileAwardOperationOptions
- type DeleteProfileAwardOperationResponse
- type GetProfileAwardOperationOptions
- type GetProfileAwardOperationResponse
- type GetProfileAwardsCountOperationOptions
- type GetProfileAwardsCountOperationResponse
- type ListProfileAwardsCompleteResult
- type ListProfileAwardsCustomPager
- type ListProfileAwardsOperationOptions
- type ListProfileAwardsOperationResponse
- type PersonAwardOperationPredicate
- type ProfileAwardClient
- func (c ProfileAwardClient) CreateProfileAward(ctx context.Context, id beta.UserId, input beta.PersonAward, ...) (result CreateProfileAwardOperationResponse, err error)
- func (c ProfileAwardClient) DeleteProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, ...) (result DeleteProfileAwardOperationResponse, err error)
- func (c ProfileAwardClient) GetProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, ...) (result GetProfileAwardOperationResponse, err error)
- func (c ProfileAwardClient) GetProfileAwardsCount(ctx context.Context, id beta.UserId, ...) (result GetProfileAwardsCountOperationResponse, err error)
- func (c ProfileAwardClient) ListProfileAwards(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions) (result ListProfileAwardsOperationResponse, err error)
- func (c ProfileAwardClient) ListProfileAwardsComplete(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions) (ListProfileAwardsCompleteResult, error)
- func (c ProfileAwardClient) ListProfileAwardsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions, ...) (result ListProfileAwardsCompleteResult, err error)
- func (c ProfileAwardClient) UpdateProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, input beta.PersonAward, ...) (result UpdateProfileAwardOperationResponse, err error)
- type UpdateProfileAwardOperationOptions
- type UpdateProfileAwardOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProfileAwardOperationOptions ¶
type CreateProfileAwardOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateProfileAwardOperationOptions ¶
func DefaultCreateProfileAwardOperationOptions() CreateProfileAwardOperationOptions
func (CreateProfileAwardOperationOptions) ToHeaders ¶
func (o CreateProfileAwardOperationOptions) ToHeaders() *client.Headers
func (CreateProfileAwardOperationOptions) ToOData ¶
func (o CreateProfileAwardOperationOptions) ToOData() *odata.Query
func (CreateProfileAwardOperationOptions) ToQuery ¶
func (o CreateProfileAwardOperationOptions) ToQuery() *client.QueryParams
type DeleteProfileAwardOperationOptions ¶
type DeleteProfileAwardOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteProfileAwardOperationOptions ¶
func DefaultDeleteProfileAwardOperationOptions() DeleteProfileAwardOperationOptions
func (DeleteProfileAwardOperationOptions) ToHeaders ¶
func (o DeleteProfileAwardOperationOptions) ToHeaders() *client.Headers
func (DeleteProfileAwardOperationOptions) ToOData ¶
func (o DeleteProfileAwardOperationOptions) ToOData() *odata.Query
func (DeleteProfileAwardOperationOptions) ToQuery ¶
func (o DeleteProfileAwardOperationOptions) ToQuery() *client.QueryParams
type GetProfileAwardOperationOptions ¶
type GetProfileAwardOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetProfileAwardOperationOptions ¶
func DefaultGetProfileAwardOperationOptions() GetProfileAwardOperationOptions
func (GetProfileAwardOperationOptions) ToHeaders ¶
func (o GetProfileAwardOperationOptions) ToHeaders() *client.Headers
func (GetProfileAwardOperationOptions) ToOData ¶
func (o GetProfileAwardOperationOptions) ToOData() *odata.Query
func (GetProfileAwardOperationOptions) ToQuery ¶
func (o GetProfileAwardOperationOptions) ToQuery() *client.QueryParams
type GetProfileAwardsCountOperationOptions ¶
type GetProfileAwardsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetProfileAwardsCountOperationOptions ¶
func DefaultGetProfileAwardsCountOperationOptions() GetProfileAwardsCountOperationOptions
func (GetProfileAwardsCountOperationOptions) ToHeaders ¶
func (o GetProfileAwardsCountOperationOptions) ToHeaders() *client.Headers
func (GetProfileAwardsCountOperationOptions) ToOData ¶
func (o GetProfileAwardsCountOperationOptions) ToOData() *odata.Query
func (GetProfileAwardsCountOperationOptions) ToQuery ¶
func (o GetProfileAwardsCountOperationOptions) ToQuery() *client.QueryParams
type ListProfileAwardsCompleteResult ¶
type ListProfileAwardsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.PersonAward }
type ListProfileAwardsCustomPager ¶
func (*ListProfileAwardsCustomPager) NextPageLink ¶
func (p *ListProfileAwardsCustomPager) NextPageLink() *odata.Link
type ListProfileAwardsOperationOptions ¶
type ListProfileAwardsOperationOptions 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 DefaultListProfileAwardsOperationOptions ¶
func DefaultListProfileAwardsOperationOptions() ListProfileAwardsOperationOptions
func (ListProfileAwardsOperationOptions) ToHeaders ¶
func (o ListProfileAwardsOperationOptions) ToHeaders() *client.Headers
func (ListProfileAwardsOperationOptions) ToOData ¶
func (o ListProfileAwardsOperationOptions) ToOData() *odata.Query
func (ListProfileAwardsOperationOptions) ToQuery ¶
func (o ListProfileAwardsOperationOptions) ToQuery() *client.QueryParams
type PersonAwardOperationPredicate ¶
type PersonAwardOperationPredicate struct { }
func (PersonAwardOperationPredicate) Matches ¶
func (p PersonAwardOperationPredicate) Matches(input beta.PersonAward) bool
type ProfileAwardClient ¶
func NewProfileAwardClientWithBaseURI ¶
func NewProfileAwardClientWithBaseURI(sdkApi sdkEnv.Api) (*ProfileAwardClient, error)
func (ProfileAwardClient) CreateProfileAward ¶
func (c ProfileAwardClient) CreateProfileAward(ctx context.Context, id beta.UserId, input beta.PersonAward, options CreateProfileAwardOperationOptions) (result CreateProfileAwardOperationResponse, err error)
CreateProfileAward - Create new navigation property to awards for users
func (ProfileAwardClient) DeleteProfileAward ¶
func (c ProfileAwardClient) DeleteProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, options DeleteProfileAwardOperationOptions) (result DeleteProfileAwardOperationResponse, err error)
DeleteProfileAward - Delete personAward. Deletes a personAward object from a user's profile.
func (ProfileAwardClient) GetProfileAward ¶
func (c ProfileAwardClient) GetProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, options GetProfileAwardOperationOptions) (result GetProfileAwardOperationResponse, err error)
GetProfileAward - Get awards from users. Represents the details of awards or honors associated with a person.
func (ProfileAwardClient) GetProfileAwardsCount ¶
func (c ProfileAwardClient) GetProfileAwardsCount(ctx context.Context, id beta.UserId, options GetProfileAwardsCountOperationOptions) (result GetProfileAwardsCountOperationResponse, err error)
GetProfileAwardsCount - Get the number of the resource
func (ProfileAwardClient) ListProfileAwards ¶
func (c ProfileAwardClient) ListProfileAwards(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions) (result ListProfileAwardsOperationResponse, err error)
ListProfileAwards - Get awards from users. Represents the details of awards or honors associated with a person.
func (ProfileAwardClient) ListProfileAwardsComplete ¶
func (c ProfileAwardClient) ListProfileAwardsComplete(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions) (ListProfileAwardsCompleteResult, error)
ListProfileAwardsComplete retrieves all the results into a single object
func (ProfileAwardClient) ListProfileAwardsCompleteMatchingPredicate ¶
func (c ProfileAwardClient) ListProfileAwardsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListProfileAwardsOperationOptions, predicate PersonAwardOperationPredicate) (result ListProfileAwardsCompleteResult, err error)
ListProfileAwardsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProfileAwardClient) UpdateProfileAward ¶
func (c ProfileAwardClient) UpdateProfileAward(ctx context.Context, id beta.UserIdProfileAwardId, input beta.PersonAward, options UpdateProfileAwardOperationOptions) (result UpdateProfileAwardOperationResponse, err error)
UpdateProfileAward - Update personAward. Update the properties of a personAward object from a user's profile.
type UpdateProfileAwardOperationOptions ¶
type UpdateProfileAwardOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateProfileAwardOperationOptions ¶
func DefaultUpdateProfileAwardOperationOptions() UpdateProfileAwardOperationOptions
func (UpdateProfileAwardOperationOptions) ToHeaders ¶
func (o UpdateProfileAwardOperationOptions) ToHeaders() *client.Headers
func (UpdateProfileAwardOperationOptions) ToOData ¶
func (o UpdateProfileAwardOperationOptions) ToOData() *odata.Query
func (UpdateProfileAwardOperationOptions) ToQuery ¶
func (o UpdateProfileAwardOperationOptions) ToQuery() *client.QueryParams