photo

package
v0.20241206.1180327 Latest Latest
Warning

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

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

Documentation

Index

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 (DeletePhotoOperationOptions) ToOData

func (DeletePhotoOperationOptions) ToQuery

type DeletePhotoOperationResponse

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

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

type GetPhotoOperationResponse

type GetPhotoOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ProfilePhoto
}

type GetPhotoValueOperationOptions

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

func DefaultGetPhotoValueOperationOptions

func DefaultGetPhotoValueOperationOptions() GetPhotoValueOperationOptions

func (GetPhotoValueOperationOptions) ToHeaders

func (GetPhotoValueOperationOptions) ToOData

func (GetPhotoValueOperationOptions) ToQuery

type GetPhotoValueOperationResponse

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

type ListPhotosCompleteResult

type ListPhotosCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ProfilePhoto
}

type ListPhotosCustomPager

type ListPhotosCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
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

type ListPhotosOperationResponse

type ListPhotosOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ProfilePhoto
}

type PhotoClient

type PhotoClient struct {
	Client *msgraph.Client
}

func NewPhotoClientWithBaseURI

func NewPhotoClientWithBaseURI(sdkApi sdkEnv.Api) (*PhotoClient, error)

func (PhotoClient) DeletePhoto

DeletePhoto - Delete profilePhoto. Delete the photo for the signed-in user or the specified group.

func (PhotoClient) GetPhoto

GetPhoto - Get photos from me. The collection of the user's profile photos in different sizes. Read-only.

func (PhotoClient) GetPhotoValue

GetPhotoValue - Get media content for the navigation property photos from me. The unique identifier for an entity. Read-only.

func (PhotoClient) ListPhotos

ListPhotos - Get photos from me. The collection of the user's profile photos in different sizes. Read-only.

func (PhotoClient) ListPhotosComplete

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

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 beta.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

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

type RemovePhotoValueOperationOptions

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

func DefaultRemovePhotoValueOperationOptions

func DefaultRemovePhotoValueOperationOptions() RemovePhotoValueOperationOptions

func (RemovePhotoValueOperationOptions) ToHeaders

func (RemovePhotoValueOperationOptions) ToOData

func (RemovePhotoValueOperationOptions) ToQuery

type RemovePhotoValueOperationResponse

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

type SetPhotoValueOperationOptions

type SetPhotoValueOperationOptions struct {
	ContentType string
	Metadata    *odata.Metadata
	RetryFunc   client.RequestRetryFunc
}

func DefaultSetPhotoValueOperationOptions

func DefaultSetPhotoValueOperationOptions() SetPhotoValueOperationOptions

func (SetPhotoValueOperationOptions) ToHeaders

func (SetPhotoValueOperationOptions) ToOData

func (SetPhotoValueOperationOptions) ToQuery

type SetPhotoValueOperationResponse

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

type UpdatePhotoOperationOptions

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

func DefaultUpdatePhotoOperationOptions

func DefaultUpdatePhotoOperationOptions() UpdatePhotoOperationOptions

func (UpdatePhotoOperationOptions) ToHeaders

func (UpdatePhotoOperationOptions) ToOData

func (UpdatePhotoOperationOptions) ToQuery

type UpdatePhotoOperationResponse

type UpdatePhotoOperationResponse 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