device

package
v0.20241128.1084944 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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 CreateDeviceOperationOptions

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

func DefaultCreateDeviceOperationOptions

func DefaultCreateDeviceOperationOptions() CreateDeviceOperationOptions

func (CreateDeviceOperationOptions) ToHeaders

func (CreateDeviceOperationOptions) ToOData

func (CreateDeviceOperationOptions) ToQuery

type CreateDeviceOperationResponse

type CreateDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Device
}

type DeleteDeviceOperationOptions

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

func DefaultDeleteDeviceOperationOptions

func DefaultDeleteDeviceOperationOptions() DeleteDeviceOperationOptions

func (DeleteDeviceOperationOptions) ToHeaders

func (DeleteDeviceOperationOptions) ToOData

func (DeleteDeviceOperationOptions) ToQuery

type DeleteDeviceOperationResponse

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

type DeviceClient

type DeviceClient struct {
	Client *msgraph.Client
}

func NewDeviceClientWithBaseURI

func NewDeviceClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceClient, error)

func (DeviceClient) CreateDevice

func (c DeviceClient) CreateDevice(ctx context.Context, id beta.UserId, input beta.Device, options CreateDeviceOperationOptions) (result CreateDeviceOperationResponse, err error)

CreateDevice - Create new navigation property to devices for users

func (DeviceClient) DeleteDevice

DeleteDevice - Delete navigation property devices for users

func (DeviceClient) GetDevice

GetDevice - Get devices from users

func (DeviceClient) GetDevicesCount

GetDevicesCount - Get the number of the resource

func (DeviceClient) ListDevices

ListDevices - Get devices from users

func (DeviceClient) ListDevicesComplete

ListDevicesComplete retrieves all the results into a single object

func (DeviceClient) ListDevicesCompleteMatchingPredicate

func (c DeviceClient) ListDevicesCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListDevicesOperationOptions, predicate DeviceOperationPredicate) (result ListDevicesCompleteResult, err error)

ListDevicesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeviceClient) UpdateDevice

UpdateDevice - Update the navigation property devices in users

type DeviceOperationPredicate

type DeviceOperationPredicate struct {
}

func (DeviceOperationPredicate) Matches

func (p DeviceOperationPredicate) Matches(input beta.Device) bool

type GetDeviceOperationOptions

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

func DefaultGetDeviceOperationOptions

func DefaultGetDeviceOperationOptions() GetDeviceOperationOptions

func (GetDeviceOperationOptions) ToHeaders

func (o GetDeviceOperationOptions) ToHeaders() *client.Headers

func (GetDeviceOperationOptions) ToOData

func (o GetDeviceOperationOptions) ToOData() *odata.Query

func (GetDeviceOperationOptions) ToQuery

type GetDeviceOperationResponse

type GetDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Device
}

type GetDevicesCountOperationOptions

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

func DefaultGetDevicesCountOperationOptions

func DefaultGetDevicesCountOperationOptions() GetDevicesCountOperationOptions

func (GetDevicesCountOperationOptions) ToHeaders

func (GetDevicesCountOperationOptions) ToOData

func (GetDevicesCountOperationOptions) ToQuery

type GetDevicesCountOperationResponse

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

type ListDevicesCompleteResult

type ListDevicesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.Device
}

type ListDevicesCustomPager

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

type ListDevicesOperationOptions

type ListDevicesOperationOptions 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 DefaultListDevicesOperationOptions

func DefaultListDevicesOperationOptions() ListDevicesOperationOptions

func (ListDevicesOperationOptions) ToHeaders

func (ListDevicesOperationOptions) ToOData

func (ListDevicesOperationOptions) ToQuery

type ListDevicesOperationResponse

type ListDevicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.Device
}

type UpdateDeviceOperationOptions

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

func DefaultUpdateDeviceOperationOptions

func DefaultUpdateDeviceOperationOptions() UpdateDeviceOperationOptions

func (UpdateDeviceOperationOptions) ToHeaders

func (UpdateDeviceOperationOptions) ToOData

func (UpdateDeviceOperationOptions) ToQuery

type UpdateDeviceOperationResponse

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