Files
sdk/docs/LegalTemplateView.md

6.7 KiB

LegalTemplateView

Properties

Name Type Description Notes
Category Pointer to string Category is the corporate need the template serves: formation, equity, ops or sales. Formation and equity are the securities-class categories, which is what forces counselReview. [optional]
CounselReview Pointer to bool CounselReview marks a template whose rendered documents open with the counsel notice. True for every formation and equity template whatever an override sends: the engine prepends the notice and no caller can suppress it. [optional]
Fields Pointer to []LegalField Fields declares the merge fields the body consumes — every key a generation must supply, each with its human label. All are REQUIRED: a missing one is refused rather than rendered as a blank into a contract. [optional]
Id Pointer to string ID is the template's stable id and the path segment that fetches its body — "nda", "msa", "safe". An override keeps the built-in's id. [optional]
Origin Pointer to string Origin is "builtin" for a template the platform ships or "org" for one this org saved. It separates the catalog every tenant sees from this tenant's own. [optional]
Title Pointer to string Title is the display name, e.g. "Mutual Non-Disclosure Agreement". A generated document inherits it. [optional]
Version Pointer to int64 Version is which version of this template the caller's org resolves to. A built-in is version 1; the org's first override is 2 and each save increments, so an override version never collides with the built-in's. [optional]

Methods

NewLegalTemplateView

func NewLegalTemplateView() *LegalTemplateView

NewLegalTemplateView instantiates a new LegalTemplateView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewLegalTemplateViewWithDefaults

func NewLegalTemplateViewWithDefaults() *LegalTemplateView

NewLegalTemplateViewWithDefaults instantiates a new LegalTemplateView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetCategory

func (o *LegalTemplateView) GetCategory() string

GetCategory returns the Category field if non-nil, zero value otherwise.

GetCategoryOk

func (o *LegalTemplateView) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCategory

func (o *LegalTemplateView) SetCategory(v string)

SetCategory sets Category field to given value.

HasCategory

func (o *LegalTemplateView) HasCategory() bool

HasCategory returns a boolean if a field has been set.

GetCounselReview

func (o *LegalTemplateView) GetCounselReview() bool

GetCounselReview returns the CounselReview field if non-nil, zero value otherwise.

GetCounselReviewOk

func (o *LegalTemplateView) GetCounselReviewOk() (*bool, bool)

GetCounselReviewOk returns a tuple with the CounselReview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCounselReview

func (o *LegalTemplateView) SetCounselReview(v bool)

SetCounselReview sets CounselReview field to given value.

HasCounselReview

func (o *LegalTemplateView) HasCounselReview() bool

HasCounselReview returns a boolean if a field has been set.

GetFields

func (o *LegalTemplateView) GetFields() []LegalField

GetFields returns the Fields field if non-nil, zero value otherwise.

GetFieldsOk

func (o *LegalTemplateView) GetFieldsOk() (*[]LegalField, bool)

GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFields

func (o *LegalTemplateView) SetFields(v []LegalField)

SetFields sets Fields field to given value.

HasFields

func (o *LegalTemplateView) HasFields() bool

HasFields returns a boolean if a field has been set.

GetId

func (o *LegalTemplateView) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *LegalTemplateView) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *LegalTemplateView) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *LegalTemplateView) HasId() bool

HasId returns a boolean if a field has been set.

GetOrigin

func (o *LegalTemplateView) GetOrigin() string

GetOrigin returns the Origin field if non-nil, zero value otherwise.

GetOriginOk

func (o *LegalTemplateView) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrigin

func (o *LegalTemplateView) SetOrigin(v string)

SetOrigin sets Origin field to given value.

HasOrigin

func (o *LegalTemplateView) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

GetTitle

func (o *LegalTemplateView) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *LegalTemplateView) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTitle

func (o *LegalTemplateView) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *LegalTemplateView) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetVersion

func (o *LegalTemplateView) GetVersion() int64

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *LegalTemplateView) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVersion

func (o *LegalTemplateView) SetVersion(v int64)

SetVersion sets Version field to given value.

HasVersion

func (o *LegalTemplateView) HasVersion() bool

HasVersion returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]