share

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSharePostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateSharePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type SharePostRequestBody added in v0.24.0

type SharePostRequestBody struct {
	// contains filtered or unexported fields
}

SharePostRequestBody provides operations to call the share method.

func NewSharePostRequestBody added in v0.24.0

func NewSharePostRequestBody() *SharePostRequestBody

NewSharePostRequestBody instantiates a new sharePostRequestBody and sets the default values.

func (*SharePostRequestBody) GetAdditionalData added in v0.24.0

func (m *SharePostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SharePostRequestBody) GetEndDateTime added in v0.24.0

GetEndDateTime gets the endDateTime property value. The endDateTime property

func (*SharePostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*SharePostRequestBody) GetNotifyTeam added in v0.24.0

func (m *SharePostRequestBody) GetNotifyTeam() *bool

GetNotifyTeam gets the notifyTeam property value. The notifyTeam property

func (*SharePostRequestBody) GetStartDateTime added in v0.24.0

GetStartDateTime gets the startDateTime property value. The startDateTime property

func (*SharePostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*SharePostRequestBody) SetAdditionalData added in v0.24.0

func (m *SharePostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SharePostRequestBody) SetEndDateTime added in v0.24.0

SetEndDateTime sets the endDateTime property value. The endDateTime property

func (*SharePostRequestBody) SetNotifyTeam added in v0.24.0

func (m *SharePostRequestBody) SetNotifyTeam(value *bool)

SetNotifyTeam sets the notifyTeam property value. The notifyTeam property

func (*SharePostRequestBody) SetStartDateTime added in v0.24.0

SetStartDateTime sets the startDateTime property value. The startDateTime property

type ShareRequestBuilder

type ShareRequestBuilder struct {
	// contains filtered or unexported fields
}

ShareRequestBuilder provides operations to call the share method.

func NewShareRequestBuilder

NewShareRequestBuilder instantiates a new ShareRequestBuilder and sets the default values.

func NewShareRequestBuilderInternal

func NewShareRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ShareRequestBuilder

NewShareRequestBuilderInternal instantiates a new ShareRequestBuilder and sets the default values.

func (*ShareRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation share a schedule time range with schedule members.Make 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 by only 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.

func (*ShareRequestBuilder) Post

Post share a schedule time range with schedule members.Make 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 by only 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.

type ShareRequestBuilderPostRequestConfiguration added in v0.22.0

type ShareRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

ShareRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL