Class MattersResource.HoldsResource.CreateRequest
Creates a hold in the specified matter.
Inheritance
MattersResource.HoldsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Vault.v1
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class MattersResource.HoldsResource.CreateRequest : VaultBaseServiceRequest<Hold>, IClientServiceRequest<Hold>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Hold, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Hold body, string matterId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Hold | body | |
string | matterId |
Properties
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()