View Source Mailchimp.Link (mailchimp v0.2.0)
Stores links for a given Entity in Mailchimp's API
struct-fields
Struct Fields
rel
- As with an HTML rel attribute, this describes the type of link.href
- This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.method
- The HTTP method that should be used when accessing the URL defined in 'href'. Possible values: "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", or "HEAD".schema
- For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.target_schema
- For GETs, this is a URL representing the schema that the response should conform to.
Link to this section Summary
Functions
Generates a list of Mailchimp.Link
structs from the given links.
Generates an Mailchimp.Link
struct from the given attributes.
Link to this section Functions
Generates a list of Mailchimp.Link
structs from the given links.
Generates an Mailchimp.Link
struct from the given attributes.