zen_ex v0.3.2 ZenEx.Model.DynamicContent.Variant
Provides functions to operate variants of Zendesk Dynamic content.
Summary
Functions
Create variant of the dynamic_content
Create multiple variants of the dynamic_content
Delete variant of the dynamic_content specified by id
List variants of the dynamic_content
Show variant of the dynamic_content specified by id
Update variant of the dynamic_content specified by id
Update multiple variants of the dynamic_content specified by id
Functions
create(integer, %ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}) :: %ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}
Create variant of the dynamic_content.
Examples
iex> ZenEx.Model.DynamicContent.Variant.create(%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...})
%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...}
create_many(integer, [%ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}]) :: %ZenEx.Entity.JobStatus{id: term, message: term, progress: term, results: term, status: term, total: term, url: term}
Create multiple variants of the dynamic_content.
Examples
iex> ZenEx.Model.DynamicContent.Variant.create_many([%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...}, ...])
%ZenEx.Entity.JobStatus{id: "xxx"}
Delete variant of the dynamic_content specified by id.
Examples
iex> ZenEx.Model.DynamicContent.Variant.destroy(xxx, xxx)
:ok
List variants of the dynamic_content.
Examples
iex> ZenEx.Model.DynamicContent.Variant.list(xxx)
%ZenEx.Collection{}
show(integer, integer) :: %ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}
Show variant of the dynamic_content specified by id.
Examples
iex> ZenEx.Model.DynamicContent.Variant.show(xxx)
%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...}
update(integer, %ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}) :: %ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}
Update variant of the dynamic_content specified by id.
Examples
iex> ZenEx.Model.DynamicContent.Variant.update(%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...})
%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...}
update_many(integer, [%ZenEx.Entity.DynamicContent.Variant{active: term, content: term, created_at: term, default: term, id: term, locale_id: term, outdated: term, updated_at: term, url: term}]) :: %ZenEx.Entity.JobStatus{id: term, message: term, progress: term, results: term, status: term, total: term, url: term}
Update multiple variants of the dynamic_content specified by id.
Examples
iex> ZenEx.Model.DynamicContent.Variant.update_many([%ZenEx.Entity.DynamicContent.Variant{id: xxx, default: xxx, content: "xxx", ...}, ...])
%ZenEx.Entity.JobStatus{id: "xxx"}