Package software.xdev.brevo.model
Class CreateExternalFeed
java.lang.Object
software.xdev.brevo.model.CreateExternalFeed
CreateExternalFeed
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAuth type of the feed: * `basic` * `token` * `noAuth` -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHeadersItem(GetExternalFeedByUUIDHeadersInner headersItem) authType(CreateExternalFeed.AuthTypeEnum authType) booleanAuth type of the feed: * `basic` * `token` * `noAuth`getCache()Toggle caching of feed url responseCustom headers for the feedMaximum number of retries on the feed url minimum: 0 maximum: 5getName()Name of the feedPassword for authType `basic`getToken()Token for authType `token`getUrl()URL of the feedUsername for authType `basic`inthashCode()headers(List<GetExternalFeedByUUIDHeadersInner> headers) maxRetries(Integer maxRetries) voidsetAuthType(CreateExternalFeed.AuthTypeEnum authType) voidvoidsetHeaders(List<GetExternalFeedByUUIDHeadersInner> headers) voidsetMaxRetries(Integer maxRetries) voidvoidsetPassword(String password) voidvoidvoidsetUsername(String username) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_AUTH_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_TOKEN
- See Also:
-
JSON_PROPERTY_HEADERS
- See Also:
-
JSON_PROPERTY_MAX_RETRIES
- See Also:
-
JSON_PROPERTY_CACHE
- See Also:
-
-
Constructor Details
-
CreateExternalFeed
public CreateExternalFeed()
-
-
Method Details
-
name
-
getName
Name of the feed- Returns:
- name
-
setName
-
url
-
getUrl
URL of the feed- Returns:
- url
-
setUrl
-
authType
-
getAuthType
Auth type of the feed: * `basic` * `token` * `noAuth`- Returns:
- authType
-
setAuthType
-
username
-
getUsername
Username for authType `basic`- Returns:
- username
-
setUsername
-
password
-
getPassword
Password for authType `basic`- Returns:
- password
-
setPassword
-
token
-
getToken
Token for authType `token`- Returns:
- token
-
setToken
-
headers
-
addHeadersItem
-
getHeaders
Custom headers for the feed- Returns:
- headers
-
setHeaders
-
maxRetries
-
getMaxRetries
Maximum number of retries on the feed url minimum: 0 maximum: 5- Returns:
- maxRetries
-
setMaxRetries
-
cache
-
getCache
Toggle caching of feed url response- Returns:
- cache
-
setCache
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-