Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.56 KB

File metadata and controls

77 lines (42 loc) · 2.56 KB

V2CrawlerScheduleRequest

Properties

Name Type Description Notes
Name Pointer to string Schedule name. If not provided, defaults to 'Schedule {crawler_name}'. [optional]
ScheduleCronString string Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.

Methods

NewV2CrawlerScheduleRequest

func NewV2CrawlerScheduleRequest(scheduleCronString string, ) *V2CrawlerScheduleRequest

NewV2CrawlerScheduleRequest instantiates a new V2CrawlerScheduleRequest 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

NewV2CrawlerScheduleRequestWithDefaults

func NewV2CrawlerScheduleRequestWithDefaults() *V2CrawlerScheduleRequest

NewV2CrawlerScheduleRequestWithDefaults instantiates a new V2CrawlerScheduleRequest 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

GetName

func (o *V2CrawlerScheduleRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *V2CrawlerScheduleRequest) GetNameOk() (*string, bool)

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

SetName

func (o *V2CrawlerScheduleRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *V2CrawlerScheduleRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetScheduleCronString

func (o *V2CrawlerScheduleRequest) GetScheduleCronString() string

GetScheduleCronString returns the ScheduleCronString field if non-nil, zero value otherwise.

GetScheduleCronStringOk

func (o *V2CrawlerScheduleRequest) GetScheduleCronStringOk() (*string, bool)

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

SetScheduleCronString

func (o *V2CrawlerScheduleRequest) SetScheduleCronString(v string)

SetScheduleCronString sets ScheduleCronString field to given value.

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