Class PositionSectionRequest
Request message for positioning a section.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class PositionSectionRequest : IMessage<PositionSectionRequest>, IEquatable<PositionSectionRequest>, IDeepCloneable<PositionSectionRequest>, IBufferMessage, IMessage
Constructors
PositionSectionRequest()
Declaration
public PositionSectionRequest()
PositionSectionRequest(PositionSectionRequest)
Declaration
public PositionSectionRequest(PositionSectionRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| PositionSectionRequest | other |
Properties
HasRelativePosition
Gets whether the "relative_position" field is set
Declaration
public bool HasRelativePosition { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSortOrder
Gets whether the "sort_order" field is set
Declaration
public bool HasSortOrder { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Required. The resource name of the section to position.
Format: users/{user}/sections/{section}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PositionCase
Declaration
public PositionSectionRequest.PositionOneofCase PositionCase { get; }
Property Value
| Type | Description |
|---|---|
| PositionSectionRequest.PositionOneofCase |
RelativePosition
Optional. The relative position of the section in the list of sections.
Declaration
public PositionSectionRequest.Types.Position RelativePosition { get; set; }
Property Value
| Type | Description |
|---|---|
| PositionSectionRequest.Types.Position |
SectionName
SectionName-typed view over the Name resource name property.
Declaration
public SectionName SectionName { get; set; }
Property Value
| Type | Description |
|---|---|
| SectionName |
SortOrder
Optional. The absolute position of the section in the list of sections. The position must be greater than 0. If the position is greater than the number of sections, the section will be appended to the end of the list. This operation inserts the section at the given position and shifts the original section at that position, and those below it, to the next position.
Declaration
public int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| int |