Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.5 KB

UpdateExternalFeed.md

File metadata and controls

34 lines (28 loc) · 1.5 KB

Brevo::UpdateExternalFeed

Properties

Name Type Description Notes
name String Name of the feed [optional]
url String URL of the feed [optional]
auth_type String Auth type of the feed: * `basic` * `token` * `noAuth` [optional]
username String Username for authType `basic` [optional]
password String Password for authType `basic` [optional]
token String Token for authType `token` [optional]
headers Array<GetExternalFeedByUUIDHeadersInner> Custom headers for the feed [optional]
max_retries Integer Maximum number of retries on the feed url [optional][default to 5]
cache Boolean Toggle caching of feed url response [optional][default to false]

Example

require 'brevo'

instance = Brevo::UpdateExternalFeed.new(
  name: New feed,
  url: http://requestb.in/173lyyx1,
  auth_type: null,
  username: user,
  password: password,
  token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c,
  headers: [{&quot;name&quot;:&quot;header1&quot;,&quot;value&quot;:&quot;value1&quot;},{&quot;name&quot;:&quot;header2&quot;,&quot;value&quot;:&quot;value2&quot;}],
  max_retries: 5,
  cache: true
)