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, options DeletePhotoOperationOptions) (result DeletePhotoOperationResponse, err error)
- func (c PhotoClient) GetPhoto(ctx context.Context, id stable.MePhotoId, options GetPhotoOperationOptions) (result GetPhotoOperationResponse, err error)
- func (c PhotoClient) GetPhotoValue(ctx context.Context, id stable.MePhotoId, ...) (result GetPhotoValueOperationResponse, err error)
- func (c PhotoClient) ListPhotos(ctx context.Context, options ListPhotosOperationOptions) (result ListPhotosOperationResponse, err error)
- func (c PhotoClient) ListPhotosComplete(ctx context.Context, options ListPhotosOperationOptions) (ListPhotosCompleteResult, error)
- func (c PhotoClient) ListPhotosCompleteMatchingPredicate(ctx context.Context, options ListPhotosOperationOptions, ...) (result ListPhotosCompleteResult, err error)
- func (c PhotoClient) RemovePhotoValue(ctx context.Context, id stable.MePhotoId, ...) (result RemovePhotoValueOperationResponse, err error)
- func (c PhotoClient) SetPhotoValue(ctx context.Context, id stable.MePhotoId, input []byte, ...) (result SetPhotoValueOperationResponse, err error)
- func (c PhotoClient) UpdatePhoto(ctx context.Context, 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, options DeletePhotoOperationOptions) (result DeletePhotoOperationResponse, err error)
DeletePhoto - Delete profilePhoto. Delete the photo for the signed-in user or the specified group.
func (PhotoClient) GetPhoto ¶
func (c PhotoClient) GetPhoto(ctx context.Context, id stable.MePhotoId, options GetPhotoOperationOptions) (result GetPhotoOperationResponse, err error)
GetPhoto - Get photos from me. The collection of the user's profile photos in different sizes. Read-only.
func (PhotoClient) GetPhotoValue ¶
func (c PhotoClient) GetPhotoValue(ctx context.Context, id stable.MePhotoId, options GetPhotoValueOperationOptions) (result GetPhotoValueOperationResponse, err error)
GetPhotoValue - Get media content for the navigation property photos from me. The unique identifier for an entity. Read-only.
func (PhotoClient) ListPhotos ¶
func (c PhotoClient) ListPhotos(ctx context.Context, options ListPhotosOperationOptions) (result ListPhotosOperationResponse, err error)
ListPhotos - Get photos from me. The collection of the user's profile photos in different sizes. Read-only.
func (PhotoClient) ListPhotosComplete ¶
func (c PhotoClient) ListPhotosComplete(ctx context.Context, options ListPhotosOperationOptions) (ListPhotosCompleteResult, error)
ListPhotosComplete retrieves all the results into a single object
func (PhotoClient) ListPhotosCompleteMatchingPredicate ¶
func (c PhotoClient) ListPhotosCompleteMatchingPredicate(ctx context.Context, 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.MePhotoId, options RemovePhotoValueOperationOptions) (result RemovePhotoValueOperationResponse, err error)
RemovePhotoValue - Delete media content for the navigation property photos in me. The unique identifier for an entity. Read-only.
func (PhotoClient) SetPhotoValue ¶
func (c PhotoClient) SetPhotoValue(ctx context.Context, id stable.MePhotoId, input []byte, options SetPhotoValueOperationOptions) (result SetPhotoValueOperationResponse, err error)
SetPhotoValue - Update media content for the navigation property photos in me. The unique identifier for an entity. Read-only.
func (PhotoClient) UpdatePhoto ¶
func (c PhotoClient) UpdatePhoto(ctx context.Context, input stable.ProfilePhoto, options UpdatePhotoOperationOptions) (result UpdatePhotoOperationResponse, err error)
UpdatePhoto - Update profilePhoto. Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation.
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