Documentation ¶
Index ¶
- type DeleteTeamScheduleOperationOptions
- type DeleteTeamScheduleOperationResponse
- type GetTeamScheduleOperationOptions
- type GetTeamScheduleOperationResponse
- type SetTeamScheduleOperationOptions
- type SetTeamScheduleOperationResponse
- type ShareTeamScheduleOperationOptions
- type ShareTeamScheduleOperationResponse
- type ShareTeamScheduleRequest
- type TeamScheduleClient
- func (c TeamScheduleClient) DeleteTeamSchedule(ctx context.Context, id beta.GroupId, ...) (result DeleteTeamScheduleOperationResponse, err error)
- func (c TeamScheduleClient) GetTeamSchedule(ctx context.Context, id beta.GroupId, options GetTeamScheduleOperationOptions) (result GetTeamScheduleOperationResponse, err error)
- func (c TeamScheduleClient) SetTeamSchedule(ctx context.Context, id beta.GroupId, input beta.Schedule, ...) (result SetTeamScheduleOperationResponse, err error)
- func (c TeamScheduleClient) ShareTeamSchedule(ctx context.Context, id beta.GroupId, input ShareTeamScheduleRequest, ...) (result ShareTeamScheduleOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteTeamScheduleOperationOptions ¶
type DeleteTeamScheduleOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteTeamScheduleOperationOptions ¶
func DefaultDeleteTeamScheduleOperationOptions() DeleteTeamScheduleOperationOptions
func (DeleteTeamScheduleOperationOptions) ToHeaders ¶
func (o DeleteTeamScheduleOperationOptions) ToHeaders() *client.Headers
func (DeleteTeamScheduleOperationOptions) ToOData ¶
func (o DeleteTeamScheduleOperationOptions) ToOData() *odata.Query
func (DeleteTeamScheduleOperationOptions) ToQuery ¶
func (o DeleteTeamScheduleOperationOptions) ToQuery() *client.QueryParams
type GetTeamScheduleOperationOptions ¶
type GetTeamScheduleOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetTeamScheduleOperationOptions ¶
func DefaultGetTeamScheduleOperationOptions() GetTeamScheduleOperationOptions
func (GetTeamScheduleOperationOptions) ToHeaders ¶
func (o GetTeamScheduleOperationOptions) ToHeaders() *client.Headers
func (GetTeamScheduleOperationOptions) ToOData ¶
func (o GetTeamScheduleOperationOptions) ToOData() *odata.Query
func (GetTeamScheduleOperationOptions) ToQuery ¶
func (o GetTeamScheduleOperationOptions) ToQuery() *client.QueryParams
type SetTeamScheduleOperationOptions ¶
type SetTeamScheduleOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetTeamScheduleOperationOptions ¶
func DefaultSetTeamScheduleOperationOptions() SetTeamScheduleOperationOptions
func (SetTeamScheduleOperationOptions) ToHeaders ¶
func (o SetTeamScheduleOperationOptions) ToHeaders() *client.Headers
func (SetTeamScheduleOperationOptions) ToOData ¶
func (o SetTeamScheduleOperationOptions) ToOData() *odata.Query
func (SetTeamScheduleOperationOptions) ToQuery ¶
func (o SetTeamScheduleOperationOptions) ToQuery() *client.QueryParams
type ShareTeamScheduleOperationOptions ¶
type ShareTeamScheduleOperationOptions struct {}
func DefaultShareTeamScheduleOperationOptions ¶
func DefaultShareTeamScheduleOperationOptions() ShareTeamScheduleOperationOptions
func (ShareTeamScheduleOperationOptions) ToHeaders ¶
func (o ShareTeamScheduleOperationOptions) ToHeaders() *client.Headers
func (ShareTeamScheduleOperationOptions) ToOData ¶
func (o ShareTeamScheduleOperationOptions) ToOData() *odata.Query
func (ShareTeamScheduleOperationOptions) ToQuery ¶
func (o ShareTeamScheduleOperationOptions) ToQuery() *client.QueryParams
type ShareTeamScheduleOperationResponse ¶
type ShareTeamScheduleOperationResponse struct {}
type ShareTeamScheduleRequest ¶
type ShareTeamScheduleRequest struct {}
type TeamScheduleClient ¶
func NewTeamScheduleClientWithBaseURI ¶
func NewTeamScheduleClientWithBaseURI(sdkApi sdkEnv.Api) (*TeamScheduleClient, error)
func (TeamScheduleClient) DeleteTeamSchedule ¶
func (c TeamScheduleClient) DeleteTeamSchedule(ctx context.Context, id beta.GroupId, options DeleteTeamScheduleOperationOptions) (result DeleteTeamScheduleOperationResponse, err error)
DeleteTeamSchedule - Delete navigation property schedule for groups
func (TeamScheduleClient) GetTeamSchedule ¶
func (c TeamScheduleClient) GetTeamSchedule(ctx context.Context, id beta.GroupId, options GetTeamScheduleOperationOptions) (result GetTeamScheduleOperationResponse, err error)
GetTeamSchedule - Get schedule from groups. The schedule of shifts for this team.
func (TeamScheduleClient) SetTeamSchedule ¶
func (c TeamScheduleClient) SetTeamSchedule(ctx context.Context, id beta.GroupId, input beta.Schedule, options SetTeamScheduleOperationOptions) (result SetTeamScheduleOperationResponse, err error)
SetTeamSchedule - Update the navigation property schedule in groups
func (TeamScheduleClient) ShareTeamSchedule ¶
func (c TeamScheduleClient) ShareTeamSchedule(ctx context.Context, id beta.GroupId, input ShareTeamScheduleRequest, options ShareTeamScheduleOperationOptions) (result ShareTeamScheduleOperationResponse, err error)
ShareTeamSchedule - Invoke action share. Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable only by managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item.