Class MembersResource.ListRequest
Lists members for a channel.
Inheritance
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ListRequest : YouTubeBaseServiceRequest<MemberListResponse>, IClientServiceRequest<MemberListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | part |
Properties
FilterByMemberChannelId
The filterByMemberChannelId parameter represents a comma separated list of channel IDs. Only data about members that are part of this list will be included in the response. It can be used to efficiently check whether specific users are entitled to perks offered via third parties.
Declaration
[RequestParameter("filterByMemberChannelId", RequestParameterType.Query)]
public virtual string FilterByMemberChannelId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HasAccessToLevel
The hasAccessToLevel parameter specifies, when set, the ID of a pricing level that members from the results set should have access to. When not set, all members will be considered, regardless of their active pricing level.
Declaration
[RequestParameter("hasAccessToLevel", RequestParameterType.Query)]
public virtual string HasAccessToLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
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
Mode
The mode parameter specifies which channel members to return.
Declaration
[RequestParameter("mode", RequestParameterType.Query)]
public virtual MembersResource.ListRequest.ModeEnum? Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<MembersResource.ListRequest.ModeEnum> |
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 member resource parts that the API response will include. Set the parameter value to snippet.
Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual string Part { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()