Documentation ¶
Index ¶
- func CreateSharePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type SharePostRequestBody
- func (m *SharePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *SharePostRequestBody) GetEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *SharePostRequestBody) GetFieldDeserializers() ...
- func (m *SharePostRequestBody) GetNotifyTeam() *bool
- func (m *SharePostRequestBody) GetStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *SharePostRequestBody) Serialize(...) error
- func (m *SharePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *SharePostRequestBody) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *SharePostRequestBody) SetNotifyTeam(value *bool)
- func (m *SharePostRequestBody) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- type SharePostRequestBodyable
- type ShareRequestBuilder
- type ShareRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSharePostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateSharePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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
func (m *SharePostRequestBody) GetEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetEndDateTime gets the endDateTime property value. The endDateTime property
func (*SharePostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *SharePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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
func (m *SharePostRequestBody) GetStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetStartDateTime gets the startDateTime property value. The startDateTime property
func (*SharePostRequestBody) Serialize ¶ added in v0.24.0
func (m *SharePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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
func (m *SharePostRequestBody) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
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
func (m *SharePostRequestBody) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetStartDateTime sets the startDateTime property value. The startDateTime property
type SharePostRequestBodyable ¶ added in v0.24.0
type SharePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
SharePostRequestBodyable
type ShareRequestBuilder ¶
type ShareRequestBuilder struct {
// contains filtered or unexported fields
}
ShareRequestBuilder provides operations to call the share method.
func NewShareRequestBuilder ¶
func NewShareRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ShareRequestBuilder
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 ¶
func (m *ShareRequestBuilder) CreatePostRequestInformation(ctx context.Context, body SharePostRequestBodyable, requestConfiguration *ShareRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ShareRequestBuilder) Post(ctx context.Context, body SharePostRequestBodyable, requestConfiguration *ShareRequestBuilderPostRequestConfiguration) error
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 { string]string Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }Headers map[
ShareRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.