Class CommentsResource.MarkAsSpamRequest
Expresses the caller's opinion that one or more comments should be flagged as spam.
Inheritance
System.Object
ClientServiceRequest<System.String>
YouTubeBaseServiceRequest<System.String>
CommentsResource.MarkAsSpamRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class MarkAsSpamRequest : YouTubeBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
MarkAsSpamRequest(IClientService, Repeatable<String>)
Constructs a new MarkAsSpam request.
Declaration
public MarkAsSpamRequest(IClientService service, Repeatable<string> id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Repeatable<System.String> | id |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod
Id
Flags the comments with the given IDs as spam in the caller's opinion.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual Repeatable<string> Id { get; }
Property Value
Type | Description |
---|---|
Repeatable<System.String> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath
Methods
InitParameters()
Initializes MarkAsSpam parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest<System.String>.InitParameters()