@Generated(value="org.jsonschema2pojo") public class YoutubeConfiguration extends Object implements Serializable
Constructor and Description |
---|
YoutubeConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getApiKey()
API key to allow for authenticated (but not owned) requests
|
org.joda.time.DateTime |
getDefaultAfterDate()
Optional parameter for the provider.
|
org.joda.time.DateTime |
getDefaultBeforeDate()
Optional parameter for the provider.
|
String |
getEndpoint()
The endpoint
|
List<String> |
getFollow()
DEPRECATED.
|
String |
getHost()
The host
|
GPlusOAuthConfiguration |
getOauth()
DEPRICATED
|
Long |
getPort()
The port
|
String |
getProtocol()
The protocol
|
String |
getVersion()
The version
|
List<UserInfo> |
getYoutubeUsers()
A list of user user ids and optional date parameters for the GPlus provider
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiKey(String apiKey)
API key to allow for authenticated (but not owned) requests
|
void |
setDefaultAfterDate(org.joda.time.DateTime defaultAfterDate)
Optional parameter for the provider.
|
void |
setDefaultBeforeDate(org.joda.time.DateTime defaultBeforeDate)
Optional parameter for the provider.
|
void |
setEndpoint(String endpoint)
The endpoint
|
void |
setFollow(List<String> follow)
DEPRECATED.
|
void |
setHost(String host)
The host
|
void |
setOauth(GPlusOAuthConfiguration oauth)
DEPRICATED
|
void |
setPort(Long port)
The port
|
void |
setProtocol(String protocol)
The protocol
|
void |
setVersion(String version)
The version
|
void |
setYoutubeUsers(List<UserInfo> youtubeUsers)
A list of user user ids and optional date parameters for the GPlus provider
|
String |
toString() |
YoutubeConfiguration |
withAdditionalProperty(String name,
Object value) |
YoutubeConfiguration |
withApiKey(String apiKey) |
YoutubeConfiguration |
withDefaultAfterDate(org.joda.time.DateTime defaultAfterDate) |
YoutubeConfiguration |
withDefaultBeforeDate(org.joda.time.DateTime defaultBeforeDate) |
YoutubeConfiguration |
withEndpoint(String endpoint) |
YoutubeConfiguration |
withFollow(List<String> follow) |
YoutubeConfiguration |
withHost(String host) |
YoutubeConfiguration |
withOauth(GPlusOAuthConfiguration oauth) |
YoutubeConfiguration |
withPort(Long port) |
YoutubeConfiguration |
withProtocol(String protocol) |
YoutubeConfiguration |
withVersion(String version) |
YoutubeConfiguration |
withYoutubeUsers(List<UserInfo> youtubeUsers) |
@BeanProperty(value="protocol") public String getProtocol()
@BeanProperty(value="protocol") public void setProtocol(String protocol)
protocol
- The protocolpublic YoutubeConfiguration withProtocol(String protocol)
@BeanProperty(value="host") public String getHost()
@BeanProperty(value="host") public void setHost(String host)
host
- The hostpublic YoutubeConfiguration withHost(String host)
@BeanProperty(value="port") public Long getPort()
@BeanProperty(value="port") public void setPort(Long port)
port
- The portpublic YoutubeConfiguration withPort(Long port)
@BeanProperty(value="version") public String getVersion()
@BeanProperty(value="version") public void setVersion(String version)
version
- The versionpublic YoutubeConfiguration withVersion(String version)
@BeanProperty(value="endpoint") public String getEndpoint()
@BeanProperty(value="endpoint") public void setEndpoint(String endpoint)
endpoint
- The endpointpublic YoutubeConfiguration withEndpoint(String endpoint)
@BeanProperty(value="apiKey") public String getApiKey()
@BeanProperty(value="apiKey") public void setApiKey(String apiKey)
apiKey
- The apiKeypublic YoutubeConfiguration withApiKey(String apiKey)
@BeanProperty(value="follow") public List<String> getFollow()
@BeanProperty(value="follow") public void setFollow(List<String> follow)
follow
- The followpublic YoutubeConfiguration withFollow(List<String> follow)
@BeanProperty(value="youtubeUsers") public List<UserInfo> getYoutubeUsers()
@BeanProperty(value="youtubeUsers") public void setYoutubeUsers(List<UserInfo> youtubeUsers)
youtubeUsers
- The youtubeUserspublic YoutubeConfiguration withYoutubeUsers(List<UserInfo> youtubeUsers)
@BeanProperty(value="defaultAfterDate") public org.joda.time.DateTime getDefaultAfterDate()
@BeanProperty(value="defaultAfterDate") public void setDefaultAfterDate(org.joda.time.DateTime defaultAfterDate)
defaultAfterDate
- The defaultAfterDatepublic YoutubeConfiguration withDefaultAfterDate(org.joda.time.DateTime defaultAfterDate)
@BeanProperty(value="defaultBeforeDate") public org.joda.time.DateTime getDefaultBeforeDate()
@BeanProperty(value="defaultBeforeDate") public void setDefaultBeforeDate(org.joda.time.DateTime defaultBeforeDate)
defaultBeforeDate
- The defaultBeforeDatepublic YoutubeConfiguration withDefaultBeforeDate(org.joda.time.DateTime defaultBeforeDate)
@BeanProperty(value="oauth") public GPlusOAuthConfiguration getOauth()
@BeanProperty(value="oauth") public void setOauth(GPlusOAuthConfiguration oauth)
oauth
- The oauthpublic YoutubeConfiguration withOauth(GPlusOAuthConfiguration oauth)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public YoutubeConfiguration withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.