Documentation ¶
Index ¶
- type DeletePhotoOperationOptions
- type DeletePhotoOperationResponse
- type GetPhotoOperationOptions
- type GetPhotoOperationResponse
- type GetPhotoValueOperationOptions
- type GetPhotoValueOperationResponse
- type ListPhotosCompleteResult
- type ListPhotosCustomPager
- type ListPhotosOperationOptions
- type ListPhotosOperationResponse
- type PhotoClient
- func (c PhotoClient) DeletePhoto(ctx context.Context, id stable.GroupId, options DeletePhotoOperationOptions) (result DeletePhotoOperationResponse, err error)
- func (c PhotoClient) GetPhoto(ctx context.Context, id stable.GroupIdPhotoId, ...) (result GetPhotoOperationResponse, err error)
- func (c PhotoClient) GetPhotoValue(ctx context.Context, id stable.GroupIdPhotoId, ...) (result GetPhotoValueOperationResponse, err error)
- func (c PhotoClient) ListPhotos(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions) (result ListPhotosOperationResponse, err error)
- func (c PhotoClient) ListPhotosComplete(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions) (ListPhotosCompleteResult, error)
- func (c PhotoClient) ListPhotosCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions, ...) (result ListPhotosCompleteResult, err error)
- func (c PhotoClient) RemovePhotoValue(ctx context.Context, id stable.GroupIdPhotoId, ...) (result RemovePhotoValueOperationResponse, err error)
- func (c PhotoClient) SetPhotoValue(ctx context.Context, id stable.GroupIdPhotoId, input []byte, ...) (result SetPhotoValueOperationResponse, err error)
- func (c PhotoClient) UpdatePhoto(ctx context.Context, id stable.GroupId, input stable.ProfilePhoto, ...) (result UpdatePhotoOperationResponse, err error)
- type ProfilePhotoOperationPredicate
- type RemovePhotoValueOperationOptions
- type RemovePhotoValueOperationResponse
- type SetPhotoValueOperationOptions
- type SetPhotoValueOperationResponse
- type UpdatePhotoOperationOptions
- type UpdatePhotoOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePhotoOperationOptions ¶
type DeletePhotoOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeletePhotoOperationOptions ¶
func DefaultDeletePhotoOperationOptions() DeletePhotoOperationOptions
func (DeletePhotoOperationOptions) ToHeaders ¶
func (o DeletePhotoOperationOptions) ToHeaders() *client.Headers
func (DeletePhotoOperationOptions) ToOData ¶
func (o DeletePhotoOperationOptions) ToOData() *odata.Query
func (DeletePhotoOperationOptions) ToQuery ¶
func (o DeletePhotoOperationOptions) ToQuery() *client.QueryParams
type GetPhotoOperationOptions ¶
type GetPhotoOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetPhotoOperationOptions ¶
func DefaultGetPhotoOperationOptions() GetPhotoOperationOptions
func (GetPhotoOperationOptions) ToHeaders ¶
func (o GetPhotoOperationOptions) ToHeaders() *client.Headers
func (GetPhotoOperationOptions) ToOData ¶
func (o GetPhotoOperationOptions) ToOData() *odata.Query
func (GetPhotoOperationOptions) ToQuery ¶
func (o GetPhotoOperationOptions) ToQuery() *client.QueryParams
type GetPhotoValueOperationOptions ¶
type GetPhotoValueOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetPhotoValueOperationOptions ¶
func DefaultGetPhotoValueOperationOptions() GetPhotoValueOperationOptions
func (GetPhotoValueOperationOptions) ToHeaders ¶
func (o GetPhotoValueOperationOptions) ToHeaders() *client.Headers
func (GetPhotoValueOperationOptions) ToOData ¶
func (o GetPhotoValueOperationOptions) ToOData() *odata.Query
func (GetPhotoValueOperationOptions) ToQuery ¶
func (o GetPhotoValueOperationOptions) ToQuery() *client.QueryParams
type ListPhotosCompleteResult ¶
type ListPhotosCompleteResult struct { LatestHttpResponse *http.Response Items []stable.ProfilePhoto }
type ListPhotosCustomPager ¶
func (*ListPhotosCustomPager) NextPageLink ¶
func (p *ListPhotosCustomPager) NextPageLink() *odata.Link
type ListPhotosOperationOptions ¶
type ListPhotosOperationOptions 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 DefaultListPhotosOperationOptions ¶
func DefaultListPhotosOperationOptions() ListPhotosOperationOptions
func (ListPhotosOperationOptions) ToHeaders ¶
func (o ListPhotosOperationOptions) ToHeaders() *client.Headers
func (ListPhotosOperationOptions) ToOData ¶
func (o ListPhotosOperationOptions) ToOData() *odata.Query
func (ListPhotosOperationOptions) ToQuery ¶
func (o ListPhotosOperationOptions) ToQuery() *client.QueryParams
type PhotoClient ¶
func NewPhotoClientWithBaseURI ¶
func NewPhotoClientWithBaseURI(sdkApi sdkEnv.Api) (*PhotoClient, error)
func (PhotoClient) DeletePhoto ¶
func (c PhotoClient) DeletePhoto(ctx context.Context, id stable.GroupId, options DeletePhotoOperationOptions) (result DeletePhotoOperationResponse, err error)
DeletePhoto - Delete navigation property photo for groups
func (PhotoClient) GetPhoto ¶
func (c PhotoClient) GetPhoto(ctx context.Context, id stable.GroupIdPhotoId, options GetPhotoOperationOptions) (result GetPhotoOperationResponse, err error)
GetPhoto - Get photos from groups. The profile photos owned by the group. Read-only. Nullable.
func (PhotoClient) GetPhotoValue ¶
func (c PhotoClient) GetPhotoValue(ctx context.Context, id stable.GroupIdPhotoId, options GetPhotoValueOperationOptions) (result GetPhotoValueOperationResponse, err error)
GetPhotoValue - List photos. Retrieve a list of profilePhoto objects.
func (PhotoClient) ListPhotos ¶
func (c PhotoClient) ListPhotos(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions) (result ListPhotosOperationResponse, err error)
ListPhotos - List photos. Retrieve a list of profilePhoto objects.
func (PhotoClient) ListPhotosComplete ¶
func (c PhotoClient) ListPhotosComplete(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions) (ListPhotosCompleteResult, error)
ListPhotosComplete retrieves all the results into a single object
func (PhotoClient) ListPhotosCompleteMatchingPredicate ¶
func (c PhotoClient) ListPhotosCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListPhotosOperationOptions, predicate ProfilePhotoOperationPredicate) (result ListPhotosCompleteResult, err error)
ListPhotosCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PhotoClient) RemovePhotoValue ¶
func (c PhotoClient) RemovePhotoValue(ctx context.Context, id stable.GroupIdPhotoId, options RemovePhotoValueOperationOptions) (result RemovePhotoValueOperationResponse, err error)
RemovePhotoValue - Delete media content for the navigation property photos in groups. The unique identifier for an entity. Read-only.
func (PhotoClient) SetPhotoValue ¶
func (c PhotoClient) SetPhotoValue(ctx context.Context, id stable.GroupIdPhotoId, input []byte, options SetPhotoValueOperationOptions) (result SetPhotoValueOperationResponse, err error)
SetPhotoValue - Update media content for the navigation property photos in groups. The unique identifier for an entity. Read-only.
func (PhotoClient) UpdatePhoto ¶
func (c PhotoClient) UpdatePhoto(ctx context.Context, id stable.GroupId, input stable.ProfilePhoto, options UpdatePhotoOperationOptions) (result UpdatePhotoOperationResponse, err error)
UpdatePhoto - Update the navigation property photo in groups
type ProfilePhotoOperationPredicate ¶
type ProfilePhotoOperationPredicate struct { }
func (ProfilePhotoOperationPredicate) Matches ¶
func (p ProfilePhotoOperationPredicate) Matches(input stable.ProfilePhoto) bool
type RemovePhotoValueOperationOptions ¶
type RemovePhotoValueOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemovePhotoValueOperationOptions ¶
func DefaultRemovePhotoValueOperationOptions() RemovePhotoValueOperationOptions
func (RemovePhotoValueOperationOptions) ToHeaders ¶
func (o RemovePhotoValueOperationOptions) ToHeaders() *client.Headers
func (RemovePhotoValueOperationOptions) ToOData ¶
func (o RemovePhotoValueOperationOptions) ToOData() *odata.Query
func (RemovePhotoValueOperationOptions) ToQuery ¶
func (o RemovePhotoValueOperationOptions) ToQuery() *client.QueryParams
type SetPhotoValueOperationOptions ¶
type SetPhotoValueOperationOptions struct { ContentType string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetPhotoValueOperationOptions ¶
func DefaultSetPhotoValueOperationOptions() SetPhotoValueOperationOptions
func (SetPhotoValueOperationOptions) ToHeaders ¶
func (o SetPhotoValueOperationOptions) ToHeaders() *client.Headers
func (SetPhotoValueOperationOptions) ToOData ¶
func (o SetPhotoValueOperationOptions) ToOData() *odata.Query
func (SetPhotoValueOperationOptions) ToQuery ¶
func (o SetPhotoValueOperationOptions) ToQuery() *client.QueryParams
type UpdatePhotoOperationOptions ¶
type UpdatePhotoOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdatePhotoOperationOptions ¶
func DefaultUpdatePhotoOperationOptions() UpdatePhotoOperationOptions
func (UpdatePhotoOperationOptions) ToHeaders ¶
func (o UpdatePhotoOperationOptions) ToHeaders() *client.Headers
func (UpdatePhotoOperationOptions) ToOData ¶
func (o UpdatePhotoOperationOptions) ToOData() *odata.Query
func (UpdatePhotoOperationOptions) ToQuery ¶
func (o UpdatePhotoOperationOptions) ToQuery() *client.QueryParams