Class MattersResource.HoldsResource.AccountsResource.CreateRequest
Adds an account to a hold. Accounts can be added only to a hold that does not have an organizational unit set. If you try to add an account to an organizational unit-based hold, an error is returned.
Inheritance
MattersResource.HoldsResource.AccountsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Vault.v1
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class MattersResource.HoldsResource.AccountsResource.CreateRequest : VaultBaseServiceRequest<HeldAccount>, IClientServiceRequest<HeldAccount>, IClientServiceRequest
Constructors
CreateRequest(IClientService, HeldAccount, string, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, HeldAccount body, string matterId, string holdId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
HeldAccount | body | |
string | matterId | |
string | holdId |
Properties
HoldId
The hold ID.
Declaration
[RequestParameter("holdId", RequestParameterType.Path)]
public virtual string HoldId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MatterId
The matter ID.
Declaration
[RequestParameter("matterId", RequestParameterType.Path)]
public virtual string MatterId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()