Class SponsorsResource.ListRequest
Retrieves a list of sponsors that match the request criteria for a channel.
Inheritance
System.Object
SponsorsResource.ListRequest
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 ListRequest : YouTubeBaseServiceRequest<SponsorListResponse>, IClientServiceRequest<SponsorListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, Repeatable<String>)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Repeatable<System.String> | part |
Properties
Filter
Parameter that specifies which channel sponsors to return.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual SponsorsResource.ListRequest.FilterEnum? Filter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<SponsorsResource.ListRequest.FilterEnum> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.HttpMethod
MaxResults
The maxResults parameter specifies the maximum number of items that should be returned in the result set.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.MethodName
PageToken
The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Part
The part parameter specifies the sponsor resource parts that the API response will include. Supported values are id and snippet.
Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; }
Property Value
Type | Description |
---|---|
Repeatable<System.String> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.InitParameters()