diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..daf913b --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore new file mode 100644 index 0000000..91723db --- /dev/null +++ b/.openapi-generator-ignore @@ -0,0 +1,27 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +scripts/* +go.mod +go.sum + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES new file mode 100644 index 0000000..fb9ce9a --- /dev/null +++ b/.openapi-generator/FILES @@ -0,0 +1,49 @@ +.gitignore +.travis.yml +README.md +api/openapi.yaml +api_openapi.go +api_slurm.go +client.go +configuration.go +docs/OpenapiApi.md +docs/SlurmApi.md +docs/V0036Diag.md +docs/V0036DiagStatistics.md +docs/V0036Error.md +docs/V0036JobProperties.md +docs/V0036JobResources.md +docs/V0036JobResponseProperties.md +docs/V0036JobSubmission.md +docs/V0036JobSubmissionResponse.md +docs/V0036JobsResponse.md +docs/V0036Node.md +docs/V0036NodeAllocation.md +docs/V0036NodesResponse.md +docs/V0036Partition.md +docs/V0036PartitionsResponse.md +docs/V0036Ping.md +docs/V0036Pings.md +docs/V0036Signal.md +git_push.sh +go.mod +go.sum +model_v0_0_36_diag.go +model_v0_0_36_diag_statistics.go +model_v0_0_36_error.go +model_v0_0_36_job_properties.go +model_v0_0_36_job_resources.go +model_v0_0_36_job_response_properties.go +model_v0_0_36_job_submission.go +model_v0_0_36_job_submission_response.go +model_v0_0_36_jobs_response.go +model_v0_0_36_node.go +model_v0_0_36_node_allocation.go +model_v0_0_36_nodes_response.go +model_v0_0_36_partition.go +model_v0_0_36_partitions_response.go +model_v0_0_36_ping.go +model_v0_0_36_pings.go +model_v0_0_36_signal.go +response.go +utils.go diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION new file mode 100644 index 0000000..acf69b4 --- /dev/null +++ b/.openapi-generator/VERSION @@ -0,0 +1 @@ +5.1.0 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f0d6fd --- /dev/null +++ b/README.md @@ -0,0 +1,105 @@ +# Go client for Slurm REST API + +API to access and control Slurm. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: 0.0.36 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen +For more information, please visit [https://www.schedmd.com/](https://www.schedmd.com/) + +## Installation + +```shell +go get github.com/ubccr/slurmrest +``` + +## Example + +```golang +package main + +import ( + "context" + "fmt" + "log" + "net/http" + "time" + + "github.com/ubccr/slurmrest" +) + +func main() { + cfg := slurmrest.NewConfiguration() + cfg.HTTPClient = &http.Client{Timeout: time.Second * 3600} + cfg.Scheme = "http" + cfg.Host = "localhost" + + client := slurmrest.NewAPIClient(cfg) + + jreq := client.SlurmApi.SlurmctldGetJobs(context.Background()) + jobs, resp, err := client.SlurmApi.SlurmctldGetJobsExecute(jreq) + if err != nil { + log.Fatalf("FAIL: %s", err) + } else if resp.StatusCode != 200 { + log.Fatalf("Invalid status code: %d\n", resp.StatusCode) + } + + for _, job := range jobs.GetJobs() { + fmt.Printf("Job %s - %s\n", job.GetJobId(), job.GetJobState()) + } +} +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost/slurm/v0.0.36* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*OpenapiApi* | [**OpenapiGet**](docs/OpenapiApi.md#openapiget) | **Get** /openapi | Retrieve OpenAPI Specification +*OpenapiApi* | [**OpenapiJsonGet**](docs/OpenapiApi.md#openapijsonget) | **Get** /openapi.json | Retrieve OpenAPI Specification +*OpenapiApi* | [**OpenapiV3Get**](docs/OpenapiApi.md#openapiv3get) | **Get** /openapi/v3 | Retrieve OpenAPI Specification +*OpenapiApi* | [**OpenapiYamlGet**](docs/OpenapiApi.md#openapiyamlget) | **Get** /openapi.yaml | Retrieve OpenAPI Specification +*SlurmApi* | [**SlurmctldCancelJob**](docs/SlurmApi.md#slurmctldcanceljob) | **Delete** /job/{job_id} | cancel or signal job +*SlurmApi* | [**SlurmctldDiag**](docs/SlurmApi.md#slurmctlddiag) | **Get** /diag/ | get diagnostics +*SlurmApi* | [**SlurmctldGetJob**](docs/SlurmApi.md#slurmctldgetjob) | **Get** /job/{job_id} | get job info +*SlurmApi* | [**SlurmctldGetJobs**](docs/SlurmApi.md#slurmctldgetjobs) | **Get** /jobs/ | get list of jobs +*SlurmApi* | [**SlurmctldGetNode**](docs/SlurmApi.md#slurmctldgetnode) | **Get** /node/{node_name} | get node info +*SlurmApi* | [**SlurmctldGetNodes**](docs/SlurmApi.md#slurmctldgetnodes) | **Get** /nodes/ | get all node info +*SlurmApi* | [**SlurmctldGetPartition**](docs/SlurmApi.md#slurmctldgetpartition) | **Get** /partition/{partition_name} | get partition info +*SlurmApi* | [**SlurmctldGetPartitions**](docs/SlurmApi.md#slurmctldgetpartitions) | **Get** /partitions/ | get all partition info +*SlurmApi* | [**SlurmctldPing**](docs/SlurmApi.md#slurmctldping) | **Get** /ping/ | ping test +*SlurmApi* | [**SlurmctldSubmitJob**](docs/SlurmApi.md#slurmctldsubmitjob) | **Post** /job/submit | submit new job +*SlurmApi* | [**SlurmctldUpdateJob**](docs/SlurmApi.md#slurmctldupdatejob) | **Post** /job/{job_id} | update job + + +## Documentation For Models + + - [V0036Diag](docs/V0036Diag.md) + - [V0036DiagStatistics](docs/V0036DiagStatistics.md) + - [V0036Error](docs/V0036Error.md) + - [V0036JobProperties](docs/V0036JobProperties.md) + - [V0036JobResources](docs/V0036JobResources.md) + - [V0036JobResponseProperties](docs/V0036JobResponseProperties.md) + - [V0036JobSubmission](docs/V0036JobSubmission.md) + - [V0036JobSubmissionResponse](docs/V0036JobSubmissionResponse.md) + - [V0036JobsResponse](docs/V0036JobsResponse.md) + - [V0036Node](docs/V0036Node.md) + - [V0036NodeAllocation](docs/V0036NodeAllocation.md) + - [V0036NodesResponse](docs/V0036NodesResponse.md) + - [V0036Partition](docs/V0036Partition.md) + - [V0036PartitionsResponse](docs/V0036PartitionsResponse.md) + - [V0036Ping](docs/V0036Ping.md) + - [V0036Pings](docs/V0036Pings.md) + - [V0036Signal](docs/V0036Signal.md) + + +## Author + +slurmrest Go client is currently maintained by [The Center for Computational Research](https://buffalo.edu/ccr). + +The code in this repo was generated from the openapi.json spec files available +from Slurm. For more information see https://github.com/SchedMD/slurm/ diff --git a/api/openapi.yaml b/api/openapi.yaml new file mode 100644 index 0000000..09e8f4e --- /dev/null +++ b/api/openapi.yaml @@ -0,0 +1,2213 @@ +openapi: 3.0.2 +info: + contact: + email: sales@schedmd.com + name: SchedMD LLC + url: https://www.schedmd.com/ + description: API to access and control Slurm. + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + termsOfService: https://github.com/SchedMD/slurm/blob/master/DISCLAIMER + title: Slurm Rest API + version: 0.0.36 +servers: +- url: /slurm/v0.0.36/ +security: +- user: [] + token: [] +tags: +- description: methods that query slurmctld + name: slurm +- description: methods that query for OpenAPI specifications + name: openapi +paths: + /diag/: + get: + operationId: slurmctld_diag + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_diag' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_diag' + description: diagnostic results + default: + description: unable to request ping test + summary: get diagnostics + tags: + - slurm + /ping/: + get: + operationId: slurmctld_ping + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_pings' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_pings' + description: results of ping test + default: + description: unable to request ping test + summary: ping test + tags: + - slurm + /jobs/: + get: + operationId: slurmctld_get_jobs + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_jobs_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_jobs_response' + description: job(s) information + default: + description: job not found + summary: get list of jobs + tags: + - slurm + /job/{job_id}: + delete: + operationId: slurmctld_cancel_job + parameters: + - description: Slurm Job ID + explode: false + in: path + name: job_id + required: true + schema: + format: int64 + type: integer + style: simple + - description: signal to send to job + explode: true + in: query + name: signal + required: false + schema: + $ref: '#/components/schemas/v0.0.36_signal' + style: form + responses: + "200": + description: job cancelled or sent signal + "500": + description: job not found + summary: cancel or signal job + tags: + - slurm + get: + operationId: slurmctld_get_job + parameters: + - description: Slurm Job ID + explode: false + in: path + name: job_id + required: true + schema: + format: int64 + type: integer + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_jobs_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_jobs_response' + description: job(s) information + default: + description: job not found + summary: get job info + tags: + - slurm + post: + operationId: slurmctld_update_job + parameters: + - description: Slurm Job ID + explode: false + in: path + name: job_id + required: true + schema: + format: int64 + type: integer + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_job_properties' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_job_properties' + description: update job + required: true + responses: + "200": + description: job information + "500": + description: job not found + summary: update job + tags: + - slurm + /job/submit: + post: + operationId: slurmctld_submit_job + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_job_submission' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_job_submission' + description: submit new job + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_job_submission_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_job_submission_response' + description: job submitted + default: + description: job rejected + summary: submit new job + tags: + - slurm + /nodes/: + get: + operationId: slurmctld_get_nodes + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_nodes_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_nodes_response' + description: node information + default: + description: no nodes in cluster + summary: get all node info + tags: + - slurm + /node/{node_name}: + get: + operationId: slurmctld_get_node + parameters: + - description: Slurm Node Name + explode: false + in: path + name: node_name + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_nodes_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_nodes_response' + description: node information + default: + description: node not found + summary: get node info + tags: + - slurm + /partitions/: + get: + operationId: slurmctld_get_partitions + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_partitions_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_partitions_response' + description: partition information + default: + description: no partitions found + summary: get all partition info + tags: + - slurm + /partition/{partition_name}: + get: + operationId: slurmctld_get_partition + parameters: + - description: Slurm Partition Name + explode: false + in: path + name: partition_name + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v0.0.36_partitions_response' + application/x-yaml: + schema: + $ref: '#/components/schemas/v0.0.36_partitions_response' + description: partition information + default: + description: no partitions found + summary: get partition info + tags: + - slurm + /openapi.yaml: + get: + responses: + "200": + description: OpenAPI Specification + summary: Retrieve OpenAPI Specification + tags: + - openapi + servers: + - url: / + /openapi.json: + get: + responses: + "200": + description: OpenAPI Specification + summary: Retrieve OpenAPI Specification + tags: + - openapi + servers: + - url: / + /openapi: + get: + responses: + "200": + description: OpenAPI Specification + summary: Retrieve OpenAPI Specification + tags: + - openapi + servers: + - url: / + /openapi/v3: + get: + responses: + "200": + description: OpenAPI Specification + summary: Retrieve OpenAPI Specification + tags: + - openapi + servers: + - url: / +components: + schemas: + v0.0.36_diag: + example: + errors: + - errno: 0 + error: error + - errno: 0 + error: error + statistics: + schedule_cycle_per_minute: 6 + req_time_start: 5 + jobs_running: 8 + bf_cycle_max: 6 + bf_last_backfilled_jobs: 3 + bf_last_depth: 6 + bf_backfilled_het_jobs: 6 + bf_backfilled_jobs: 6 + bf_cycle_mean: 2 + job_states_ts: 9 + bf_queue_len: 7 + jobs_started: 4 + schedule_cycle_max: 4 + server_thread_count: 5 + dbd_agent_queue_size: 3 + jobs_pending: 6 + agent_count: 7 + bf_cycle_last: 3 + parts_packed: 6 + agent_thread_count: 9 + jobs_completed: 5 + bf_depth_mean: 6 + bf_active: true + bf_depth_mean_try: 3 + schedule_cycle_mean: 1 + agent_queue_size: 2 + jobs_failed: 9 + gettimeofday_latency: 2 + bf_last_depth_try: 5 + req_time: 1 + bf_cycle_counter: 1 + schedule_queue_length: 7 + bf_queue_len_mean: 0 + schedule_cycle_total: 1 + bf_when_last_cycle: 7 + schedule_cycle_last: 7 + jobs_canceled: 9 + jobs_submitted: 1 + schedule_cycle_mean_depth: 1 + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + statistics: + $ref: '#/components/schemas/v0_0_36_diag_statistics' + type: object + v0.0.36_pings: + example: + pings: + - mode: mode + hostname: hostname + ping: UP + status: 0 + - mode: mode + hostname: hostname + ping: UP + status: 0 + errors: + - errno: 0 + error: error + - errno: 0 + error: error + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + pings: + description: slurm controller pings + items: + $ref: '#/components/schemas/v0.0.36_ping' + type: array + type: object + v0.0.36_ping: + example: + mode: mode + hostname: hostname + ping: UP + status: 0 + properties: + hostname: + description: slurm controller hostname + type: string + ping: + description: slurm controller host up + enum: + - UP + - DOWN + type: string + mode: + description: slurm controller mode + type: string + status: + description: slurm controller status + type: integer + type: object + v0.0.36_partition: + example: + max_time_limit: 7 + maximum_cpus_per_node: 5 + over_time_limit: 3 + denied_accounts: denied_accounts + flags: + - flags + - flags + maximum_memory_per_node: 5 + total_cpus: 1 + billing_weights: billing_weights + default_memory_per_cpu: 0 + allowed_qos: allowed_qos + nodes_online: 7 + min_nodes_per_job: 9 + qos: qos + default_time_limit: 6 + denied_qos: denied_qos + priority_job_factor: 2 + tres: tres + allowed_allocation_nodes: allowed_allocation_nodes + preemption_grace_time: 1 + allowed_accounts: allowed_accounts + alternative: alternative + preemption_mode: + - preemption_mode + - preemption_mode + nodes: nodes + name: name + allowed_groups: allowed_groups + total_nodes: 1 + maximum_nodes_per_job: 2 + priority_tier: 4 + properties: + flags: + description: partition options + items: + type: string + type: array + preemption_mode: + description: preemption type + items: + type: string + type: array + allowed_allocation_nodes: + description: list names of allowed allocating nodes + type: string + allowed_accounts: + description: comma delimited list of accounts + type: string + allowed_groups: + description: comma delimited list of groups + type: string + allowed_qos: + description: comma delimited list of qos + type: string + alternative: + description: name of alternate partition + type: string + billing_weights: + description: TRES billing weights + type: string + default_memory_per_cpu: + description: default MB memory per allocated CPU + format: int64 + type: integer + default_time_limit: + description: default time limit (minutes) + format: int64 + type: integer + denied_accounts: + description: comma delimited list of denied accounts + type: string + denied_qos: + description: comma delimited list of denied qos + type: string + preemption_grace_time: + description: preemption grace time (seconds) + format: int64 + type: integer + maximum_cpus_per_node: + description: maximum allocated CPUs per node + type: integer + maximum_memory_per_node: + description: maximum memory per allocated CPU (MiB) + format: int64 + type: integer + maximum_nodes_per_job: + description: Max nodes per job + type: integer + max_time_limit: + description: Max time limit per job + format: int64 + type: integer + min_nodes_per_job: + description: Min number of nodes per job + type: integer + name: + description: Partition name + type: string + nodes: + description: list names of nodes in partition + type: string + over_time_limit: + description: job's time limit can be exceeded by this number of minutes + before cancellation + type: integer + priority_job_factor: + description: job priority weight factor + type: integer + priority_tier: + description: tier for scheduling and preemption + type: integer + qos: + description: partition QOS name + type: string + nodes_online: + description: Nodes online (ready for jobs) + type: integer + total_cpus: + description: Total cpus in partition + type: integer + total_nodes: + description: Total number of nodes in partition + type: integer + tres: + description: configured TRES in partition + type: string + type: object + v0.0.36_partitions_response: + example: + partitions: + - max_time_limit: 7 + maximum_cpus_per_node: 5 + over_time_limit: 3 + denied_accounts: denied_accounts + flags: + - flags + - flags + maximum_memory_per_node: 5 + total_cpus: 1 + billing_weights: billing_weights + default_memory_per_cpu: 0 + allowed_qos: allowed_qos + nodes_online: 7 + min_nodes_per_job: 9 + qos: qos + default_time_limit: 6 + denied_qos: denied_qos + priority_job_factor: 2 + tres: tres + allowed_allocation_nodes: allowed_allocation_nodes + preemption_grace_time: 1 + allowed_accounts: allowed_accounts + alternative: alternative + preemption_mode: + - preemption_mode + - preemption_mode + nodes: nodes + name: name + allowed_groups: allowed_groups + total_nodes: 1 + maximum_nodes_per_job: 2 + priority_tier: 4 + - max_time_limit: 7 + maximum_cpus_per_node: 5 + over_time_limit: 3 + denied_accounts: denied_accounts + flags: + - flags + - flags + maximum_memory_per_node: 5 + total_cpus: 1 + billing_weights: billing_weights + default_memory_per_cpu: 0 + allowed_qos: allowed_qos + nodes_online: 7 + min_nodes_per_job: 9 + qos: qos + default_time_limit: 6 + denied_qos: denied_qos + priority_job_factor: 2 + tres: tres + allowed_allocation_nodes: allowed_allocation_nodes + preemption_grace_time: 1 + allowed_accounts: allowed_accounts + alternative: alternative + preemption_mode: + - preemption_mode + - preemption_mode + nodes: nodes + name: name + allowed_groups: allowed_groups + total_nodes: 1 + maximum_nodes_per_job: 2 + priority_tier: 4 + errors: + - errno: 0 + error: error + - errno: 0 + error: error + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + partitions: + description: partition info + items: + $ref: '#/components/schemas/v0.0.36_partition' + type: array + type: object + v0.0.36_error: + example: + errno: 0 + error: error + properties: + error: + description: error message + type: string + errno: + description: error number + type: integer + type: object + v0.0.36_signal: + description: POSIX signal name + enum: + - HUP + - INT + - QUIT + - ABRT + - KILL + - ALRM + - TERM + - USR1 + - USR2 + - URG + - CONT + - STOP + - TSTP + - TTIN + - TTOU + format: int32 + type: string + v0.0.36_job_submission_response: + example: + job_id: 0 + step_id: step_id + errors: + - errno: 0 + error: error + - errno: 0 + error: error + job_submit_user_msg: job_submit_user_msg + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + job_id: + description: new job ID + type: integer + step_id: + description: new job step ID + type: string + job_submit_user_msg: + description: Message to user from job_submit plugin + type: string + type: object + v0.0.36_job_submission: + properties: + script: + description: Executable script (full contents) to run in batch step + type: string + job: + $ref: '#/components/schemas/v0.0.36_job_properties' + jobs: + description: Properties of an HetJob + items: + $ref: '#/components/schemas/v0.0.36_job_properties' + type: array + required: + - script + v0.0.36_jobs_response: + example: + jobs: + - cluster: cluster + time_minimum: time_minimum + memory_per_tres: memory_per_tres + qos: qos + resize_time: 2 + eligible_time: 6 + cpus_per_tres: cpus_per_tres + tasks: tasks + system_comment: system_comment + federation_siblings_active: federation_siblings_active + tasks_per_core: tasks_per_core + accrue_time: 0 + dependency: dependency + profile: + - profile + - profile + priority: priority + tres_per_job: tres_per_job + derived_exit_code: derived_exit_code + core_spec: core_spec + mcs_label: mcs_label + required_nodes: required_nodes + tres_bind: tres_bind + user_id: user_id + exit_code: 5 + federation_origin: federation_origin + shared: shared + tasks_per_board: tasks_per_board + user_name: user_name + flags: + - flags + - flags + standard_input: standard_input + admin_comment: admin_comment + cores_per_socket: cores_per_socket + job_state: job_state + current_working_directory: current_working_directory + standard_error: standard_error + array_job_id: array_job_id + cluster_features: cluster_features + partition: partition + threads_per_core: threads_per_core + tres_alloc_str: tres_alloc_str + memory_per_cpu: memory_per_cpu + cpu_frequency_minimum: cpu_frequency_minimum + node_count: node_count + deadline: deadline + memory_per_node: memory_per_node + state_reason: state_reason + het_job_offset: het_job_offset + end_time: 1 + sockets_per_board: sockets_per_board + nice: nice + last_sched_evaluation: last_sched_evaluation + tres_per_node: tres_per_node + burst_buffer: burst_buffer + licenses: licenses + excluded_nodes: excluded_nodes + array_max_tasks: array_max_tasks + het_job_id: het_job_id + sockets_per_node: sockets_per_node + time_limit: time_limit + minimum_cpus_per_node: minimum_cpus_per_node + tasks_per_socket: tasks_per_socket + batch_host: batch_host + max_cpus: max_cpus + cpu_frequency_maximum: cpu_frequency_maximum + features: features + het_job_id_set: het_job_id_set + state_description: state_description + show_flags: + - show_flags + - show_flags + array_task_id: array_task_id + minimum_tmp_disk_per_node: minimum_tmp_disk_per_node + tres_req_str: tres_req_str + burst_buffer_state: burst_buffer_state + tres_per_socket: tres_per_socket + array_task_string: array_task_string + submit_time: 7 + wckey: wckey + max_nodes: max_nodes + batch_flag: true + start_time: 4 + name: name + preempt_time: 9 + contiguous: true + job_resources: + nodes: nodes + allocated_nodes: + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + allocated_cpus: 5 + allocated_hosts: 2 + billable_tres: billable_tres + federation_siblings_viable: federation_siblings_viable + cpus_per_task: cpus_per_task + batch_features: batch_features + thread_spec: thread_spec + cpu_frequency_governor: cpu_frequency_governor + gres_detail: + - gres_detail + - gres_detail + restart_cnt: restart_cnt + resv_name: resv_name + delay_boot: delay_boot + reboot: true + cpus: cpus + standard_output: standard_output + pre_sus_time: 3 + suspend_time: 1 + association_id: association_id + command: command + tres_freq: tres_freq + requeue: true + tres_per_task: tres_per_task + nodes: nodes + group_id: group_id + job_id: job_id + comment: comment + account: account + - cluster: cluster + time_minimum: time_minimum + memory_per_tres: memory_per_tres + qos: qos + resize_time: 2 + eligible_time: 6 + cpus_per_tres: cpus_per_tres + tasks: tasks + system_comment: system_comment + federation_siblings_active: federation_siblings_active + tasks_per_core: tasks_per_core + accrue_time: 0 + dependency: dependency + profile: + - profile + - profile + priority: priority + tres_per_job: tres_per_job + derived_exit_code: derived_exit_code + core_spec: core_spec + mcs_label: mcs_label + required_nodes: required_nodes + tres_bind: tres_bind + user_id: user_id + exit_code: 5 + federation_origin: federation_origin + shared: shared + tasks_per_board: tasks_per_board + user_name: user_name + flags: + - flags + - flags + standard_input: standard_input + admin_comment: admin_comment + cores_per_socket: cores_per_socket + job_state: job_state + current_working_directory: current_working_directory + standard_error: standard_error + array_job_id: array_job_id + cluster_features: cluster_features + partition: partition + threads_per_core: threads_per_core + tres_alloc_str: tres_alloc_str + memory_per_cpu: memory_per_cpu + cpu_frequency_minimum: cpu_frequency_minimum + node_count: node_count + deadline: deadline + memory_per_node: memory_per_node + state_reason: state_reason + het_job_offset: het_job_offset + end_time: 1 + sockets_per_board: sockets_per_board + nice: nice + last_sched_evaluation: last_sched_evaluation + tres_per_node: tres_per_node + burst_buffer: burst_buffer + licenses: licenses + excluded_nodes: excluded_nodes + array_max_tasks: array_max_tasks + het_job_id: het_job_id + sockets_per_node: sockets_per_node + time_limit: time_limit + minimum_cpus_per_node: minimum_cpus_per_node + tasks_per_socket: tasks_per_socket + batch_host: batch_host + max_cpus: max_cpus + cpu_frequency_maximum: cpu_frequency_maximum + features: features + het_job_id_set: het_job_id_set + state_description: state_description + show_flags: + - show_flags + - show_flags + array_task_id: array_task_id + minimum_tmp_disk_per_node: minimum_tmp_disk_per_node + tres_req_str: tres_req_str + burst_buffer_state: burst_buffer_state + tres_per_socket: tres_per_socket + array_task_string: array_task_string + submit_time: 7 + wckey: wckey + max_nodes: max_nodes + batch_flag: true + start_time: 4 + name: name + preempt_time: 9 + contiguous: true + job_resources: + nodes: nodes + allocated_nodes: + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + allocated_cpus: 5 + allocated_hosts: 2 + billable_tres: billable_tres + federation_siblings_viable: federation_siblings_viable + cpus_per_task: cpus_per_task + batch_features: batch_features + thread_spec: thread_spec + cpu_frequency_governor: cpu_frequency_governor + gres_detail: + - gres_detail + - gres_detail + restart_cnt: restart_cnt + resv_name: resv_name + delay_boot: delay_boot + reboot: true + cpus: cpus + standard_output: standard_output + pre_sus_time: 3 + suspend_time: 1 + association_id: association_id + command: command + tres_freq: tres_freq + requeue: true + tres_per_task: tres_per_task + nodes: nodes + group_id: group_id + job_id: job_id + comment: comment + account: account + errors: + - errno: 0 + error: error + - errno: 0 + error: error + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + jobs: + description: job descriptions + items: + $ref: '#/components/schemas/v0.0.36_job_response_properties' + type: array + type: object + v0.0.36_job_response_properties: + example: + cluster: cluster + time_minimum: time_minimum + memory_per_tres: memory_per_tres + qos: qos + resize_time: 2 + eligible_time: 6 + cpus_per_tres: cpus_per_tres + tasks: tasks + system_comment: system_comment + federation_siblings_active: federation_siblings_active + tasks_per_core: tasks_per_core + accrue_time: 0 + dependency: dependency + profile: + - profile + - profile + priority: priority + tres_per_job: tres_per_job + derived_exit_code: derived_exit_code + core_spec: core_spec + mcs_label: mcs_label + required_nodes: required_nodes + tres_bind: tres_bind + user_id: user_id + exit_code: 5 + federation_origin: federation_origin + shared: shared + tasks_per_board: tasks_per_board + user_name: user_name + flags: + - flags + - flags + standard_input: standard_input + admin_comment: admin_comment + cores_per_socket: cores_per_socket + job_state: job_state + current_working_directory: current_working_directory + standard_error: standard_error + array_job_id: array_job_id + cluster_features: cluster_features + partition: partition + threads_per_core: threads_per_core + tres_alloc_str: tres_alloc_str + memory_per_cpu: memory_per_cpu + cpu_frequency_minimum: cpu_frequency_minimum + node_count: node_count + deadline: deadline + memory_per_node: memory_per_node + state_reason: state_reason + het_job_offset: het_job_offset + end_time: 1 + sockets_per_board: sockets_per_board + nice: nice + last_sched_evaluation: last_sched_evaluation + tres_per_node: tres_per_node + burst_buffer: burst_buffer + licenses: licenses + excluded_nodes: excluded_nodes + array_max_tasks: array_max_tasks + het_job_id: het_job_id + sockets_per_node: sockets_per_node + time_limit: time_limit + minimum_cpus_per_node: minimum_cpus_per_node + tasks_per_socket: tasks_per_socket + batch_host: batch_host + max_cpus: max_cpus + cpu_frequency_maximum: cpu_frequency_maximum + features: features + het_job_id_set: het_job_id_set + state_description: state_description + show_flags: + - show_flags + - show_flags + array_task_id: array_task_id + minimum_tmp_disk_per_node: minimum_tmp_disk_per_node + tres_req_str: tres_req_str + burst_buffer_state: burst_buffer_state + tres_per_socket: tres_per_socket + array_task_string: array_task_string + submit_time: 7 + wckey: wckey + max_nodes: max_nodes + batch_flag: true + start_time: 4 + name: name + preempt_time: 9 + contiguous: true + job_resources: + nodes: nodes + allocated_nodes: + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + allocated_cpus: 5 + allocated_hosts: 2 + billable_tres: billable_tres + federation_siblings_viable: federation_siblings_viable + cpus_per_task: cpus_per_task + batch_features: batch_features + thread_spec: thread_spec + cpu_frequency_governor: cpu_frequency_governor + gres_detail: + - gres_detail + - gres_detail + restart_cnt: restart_cnt + resv_name: resv_name + delay_boot: delay_boot + reboot: true + cpus: cpus + standard_output: standard_output + pre_sus_time: 3 + suspend_time: 1 + association_id: association_id + command: command + tres_freq: tres_freq + requeue: true + tres_per_task: tres_per_task + nodes: nodes + group_id: group_id + job_id: job_id + comment: comment + account: account + properties: + account: + description: Charge resources used by this job to specified account + type: string + accrue_time: + description: time job is eligible for running + format: int64 + type: integer + admin_comment: + description: administrator's arbitrary comment + type: string + array_job_id: + description: job_id of a job array or 0 if N/A + type: string + array_task_id: + description: task_id of a job array + type: string + array_max_tasks: + description: Maximum number of running array tasks + type: string + array_task_string: + description: string expression of task IDs in this record + type: string + association_id: + description: association id for job + type: string + batch_features: + description: features required for batch script's node + type: string + batch_flag: + description: 'if batch: queued job with script' + type: boolean + batch_host: + description: name of host running batch script + type: string + flags: + description: Job flags + items: + type: string + type: array + burst_buffer: + description: burst buffer specifications + type: string + burst_buffer_state: + description: burst buffer state info + type: string + cluster: + description: name of cluster that the job is on + type: string + cluster_features: + description: comma separated list of required cluster features + type: string + command: + description: command to be executed + type: string + comment: + description: arbitrary comment + type: string + contiguous: + description: job requires contiguous nodes + type: boolean + core_spec: + description: specialized core count + type: string + thread_spec: + description: specialized thread count + type: string + cores_per_socket: + description: cores per socket required by job + type: string + billable_tres: + description: billable TRES + type: string + cpus_per_task: + description: number of processors required for each task + type: string + cpu_frequency_minimum: + description: Minimum cpu frequency + type: string + cpu_frequency_maximum: + description: Maximum cpu frequency + type: string + cpu_frequency_governor: + description: cpu frequency governor + type: string + cpus_per_tres: + description: semicolon delimited list of TRES=# values + type: string + deadline: + description: 'job start deadline ' + type: string + delay_boot: + description: command to be executed + type: string + dependency: + description: synchronize job execution with other jobs + type: string + derived_exit_code: + description: highest exit code of all job steps + type: string + eligible_time: + description: time job is eligible for running + format: int64 + type: integer + end_time: + description: time of termination, actual or expected + format: int64 + type: integer + excluded_nodes: + description: comma separated list of excluded nodes + type: string + exit_code: + description: exit code for job + type: integer + features: + description: comma separated list of required features + type: string + federation_origin: + description: Origin cluster's name + type: string + federation_siblings_active: + description: string of active sibling names + type: string + federation_siblings_viable: + description: string of viable sibling names + type: string + gres_detail: + description: Job flags + items: + type: string + type: array + group_id: + description: group job submitted as + type: string + job_id: + description: job ID + type: string + job_resources: + $ref: '#/components/schemas/v0.0.36_job_resources' + job_state: + description: state of the job + type: string + last_sched_evaluation: + description: last time job was evaluated for scheduling + type: string + licenses: + description: licenses required by the job + type: string + max_cpus: + description: maximum number of cpus usable by job + type: string + max_nodes: + description: maximum number of nodes usable by job + type: string + mcs_label: + description: mcs_label if mcs plugin in use + type: string + memory_per_tres: + description: semicolon delimited list of TRES=# values + type: string + name: + description: name of the job + type: string + nodes: + description: list of nodes allocated to job + type: string + nice: + description: requested priority change + type: string + tasks_per_core: + description: number of tasks to invoke on each core + type: string + tasks_per_socket: + description: number of tasks to invoke on each socket + type: string + tasks_per_board: + description: number of tasks to invoke on each board + type: string + cpus: + description: minimum number of cpus required by job + type: string + node_count: + description: minimum number of nodes required by job + type: string + tasks: + description: requested task count + type: string + het_job_id: + description: job ID of hetjob leader + type: string + het_job_id_set: + description: job IDs for all components + type: string + het_job_offset: + description: HetJob component offset from leader + type: string + partition: + description: name of assigned partition + type: string + memory_per_node: + description: minimum real memory per node + type: string + memory_per_cpu: + description: minimum real memory per cpu + type: string + minimum_cpus_per_node: + description: 'minimum # CPUs per node' + type: string + minimum_tmp_disk_per_node: + description: minimum tmp disk per node + type: string + preempt_time: + description: preemption signal time + format: int64 + type: integer + pre_sus_time: + description: time job ran prior to last suspend + format: int64 + type: integer + priority: + description: relative priority of the job + type: string + profile: + description: Job profiling requested + items: + type: string + type: array + qos: + description: Quality of Service + type: string + reboot: + description: node reboot requested before start + type: boolean + required_nodes: + description: comma separated list of required nodes + type: string + requeue: + description: enable or disable job requeue option + type: boolean + resize_time: + description: time of latest size change + format: int64 + type: integer + restart_cnt: + description: count of job restarts + type: string + resv_name: + description: reservation name + type: string + shared: + description: type and if job can share nodes with other jobs + type: string + show_flags: + description: details requested + items: + type: string + type: array + sockets_per_board: + description: sockets per board required by job + type: string + sockets_per_node: + description: sockets per node required by job + type: string + start_time: + description: time execution begins, actual or expected + format: int64 + type: integer + state_description: + description: optional details for state_reason + type: string + state_reason: + description: reason job still pending or failed + type: string + standard_error: + description: pathname of job's stderr file + type: string + standard_input: + description: pathname of job's stdin file + type: string + standard_output: + description: pathname of job's stdout file + type: string + submit_time: + description: time of job submission + format: int64 + type: integer + suspend_time: + description: time job last suspended or resumed + format: int64 + type: integer + system_comment: + description: slurmctld's arbitrary comment + type: string + time_limit: + description: maximum run time in minutes + type: string + time_minimum: + description: minimum run time in minutes + type: string + threads_per_core: + description: threads per core required by job + type: string + tres_bind: + description: Task to TRES binding directives + type: string + tres_freq: + description: TRES frequency directives + type: string + tres_per_job: + description: semicolon delimited list of TRES=# values + type: string + tres_per_node: + description: semicolon delimited list of TRES=# values + type: string + tres_per_socket: + description: semicolon delimited list of TRES=# values + type: string + tres_per_task: + description: semicolon delimited list of TRES=# values + type: string + tres_req_str: + description: tres reqeusted in the job + type: string + tres_alloc_str: + description: tres used in the job + type: string + user_id: + description: user id the job runs as + type: string + user_name: + description: user the job runs as + type: string + wckey: + description: wckey for job + type: string + current_working_directory: + description: pathname of working directory + type: string + type: object + v0.0.36_job_resources: + example: + nodes: nodes + allocated_nodes: + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + - memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + allocated_cpus: 5 + allocated_hosts: 2 + properties: + nodes: + description: list of assigned job nodes + type: string + allocated_cpus: + description: number of assigned job cpus + type: integer + allocated_hosts: + description: number of assigned job hosts + type: integer + allocated_nodes: + description: node allocations + items: + $ref: '#/components/schemas/v0.0.36_node_allocation' + type: array + type: object + v0.0.36_node_allocation: + example: + memory: 7 + cores: '{}' + cpus: '{}' + sockets: '{}' + properties: + memory: + description: amount of assigned job memory + type: integer + cpus: + description: amount of assigned job CPUs + type: object + sockets: + description: assignment status of each socket by socket id + type: object + cores: + description: assignment status of each core by core id + type: object + type: object + v0.0.36_job_properties: + properties: + account: + description: Charge resources used by this job to specified account. + type: string + account_gather_freqency: + description: Define the job accounting and profiling sampling intervals. + type: string + argv: + description: Arguments to the script. + items: + type: string + type: array + array: + description: Submit a job array, multiple jobs to be executed with identical + parameters. The indexes specification identifies what array index values + should be used. + type: string + batch_features: + description: features required for batch script's node + type: string + begin_time: + description: Submit the batch script to the Slurm controller immediately, + like normal, but tell the controller to defer the allocation of the job + until the specified time. + format: int64 + type: integer + burst_buffer: + description: Burst buffer specification. + type: string + cluster_constraints: + description: Specifies features that a federated cluster must have to have + a sibling job submitted to it. + type: string + comment: + description: An arbitrary comment. + type: string + constraints: + description: node features required by job. + type: string + core_specification: + description: Count of specialized threads per node reserved by the job for + system operations and not used by the application. + type: integer + cores_per_socket: + description: Restrict node selection to nodes with at least the specified + number of cores per socket. + type: integer + cpu_binding: + description: Cpu binding + type: string + cpu_binding_hint: + description: Cpu binding hint + type: string + cpu_frequency: + description: Request that job steps initiated by srun commands inside this + sbatch script be run at some requested frequency if possible, on the CPUs + selected for the step on the compute node(s). + type: string + cpus_per_gpu: + description: Number of CPUs requested per allocated GPU. + type: string + cpus_per_task: + description: Advise the Slurm controller that ensuing job steps will require + ncpus number of processors per task. + type: integer + current_working_directory: + description: Instruct Slurm to connect the batch script's standard output + directly to the file name. + type: string + deadline: + description: Remove the job if no ending is possible before this deadline + (start > (deadline - time[-min])). + type: string + delay_boot: + description: Do not reboot nodes in order to satisfied this job's feature + specification if the job has been eligible to run for less than this time + period. + type: integer + dependency: + description: Defer the start of this job until the specified dependencies + have been satisfied completed. + type: string + distribution: + description: Specify alternate distribution methods for remote processes. + type: string + environment: + description: Dictionary of environment entries. + type: object + exclusive: + description: The job allocation can share nodes just other users with the + "user" option or with the "mcs" option). + enum: + - user + - mcs + - "true" + - "false" + type: string + get_user_environment: + description: Load new login environment for user on job node. + type: boolean + gres: + description: Specifies a comma delimited list of generic consumable resources. + type: string + gres_flags: + description: Specify generic resource task binding options. + enum: + - disable-binding + - enforce-binding + type: string + gpu_binding: + description: Requested binding of tasks to GPU. + type: string + gpu_frequency: + description: Requested GPU frequency. + type: string + gpus: + description: GPUs per job. + type: string + gpus_per_node: + description: GPUs per node. + type: string + gpus_per_socket: + description: GPUs per socket. + type: string + gpus_per_task: + description: GPUs per task. + type: string + hold: + description: Specify the job is to be submitted in a held state (priority + of zero). + type: boolean + kill_on_invalid_dependency: + description: If a job has an invalid dependency, then Slurm is to terminate + it. + type: boolean + licenses: + description: Specification of licenses (or other resources available on + all nodes of the cluster) which must be allocated to this job. + type: string + mail_type: + description: Notify user by email when certain event types occur. + type: string + mail_user: + description: User to receive email notification of state changes as defined + by mail_type. + type: string + mcs_label: + description: This parameter is a group among the groups of the user. + type: string + memory_binding: + description: Bind tasks to memory. + type: string + memory_per_cpu: + description: Minimum real memory per cpu (MB). + type: integer + memory_per_gpu: + description: Minimum memory required per allocated GPU. + type: integer + memory_per_node: + description: Minimum real memory per node (MB). + type: integer + minimum_cpus_per_node: + description: Minimum number of CPUs per node. + type: integer + minimum_nodes: + description: If a range of node counts is given, prefer the smaller count. + type: boolean + name: + description: Specify a name for the job allocation. + type: string + nice: + description: Run the job with an adjusted scheduling priority within Slurm. + type: string + no_kill: + description: Do not automatically terminate a job if one of the nodes it + has been allocated fails. + type: boolean + nodes: + description: Request that a minimum of minnodes nodes and a maximum node + count. + items: + type: integer + maxItems: 2 + minItems: 1 + type: array + open_mode: + default: append + description: Open the output and error files using append or truncate mode + as specified. + enum: + - append + - truncate + type: string + partition: + description: Request a specific partition for the resource allocation. + type: string + priority: + description: Request a specific job priority. + type: string + qos: + description: Request a quality of service for the job. + type: string + requeue: + description: Specifies that the batch job should eligible to being requeue. + type: boolean + reservation: + description: Allocate resources for the job from the named reservation. + type: string + signal: + description: When a job is within sig_time seconds of its end time, send + it the signal sig_num. + pattern: '[B:][@]' + type: string + sockets_per_node: + description: Restrict node selection to nodes with at least the specified + number of sockets. + type: integer + spread_job: + description: Spread the job allocation over as many nodes as possible and + attempt to evenly distribute tasks across the allocated nodes. + type: boolean + standard_error: + description: Instruct Slurm to connect the batch script's standard error + directly to the file name. + type: string + standard_in: + description: Instruct Slurm to connect the batch script's standard input + directly to the file name specified. + type: string + standard_out: + description: Instruct Slurm to connect the batch script's standard output + directly to the file name. + type: string + tasks: + description: Advises the Slurm controller that job steps run within the + allocation will launch a maximum of number tasks and to provide for sufficient + resources. + type: integer + tasks_per_core: + description: Request the maximum ntasks be invoked on each core. + type: integer + tasks_per_node: + description: Request the maximum ntasks be invoked on each node. + type: integer + tasks_per_socket: + description: Request the maximum ntasks be invoked on each socket. + type: integer + thread_specification: + description: Count of specialized threads per node reserved by the job for + system operations and not used by the application. + type: integer + threads_per_core: + description: Restrict node selection to nodes with at least the specified + number of threads per core. + type: integer + time_limit: + description: Step time limit. + type: integer + time_minimum: + description: Minimum run time in minutes. + type: integer + wait_all_nodes: + description: Do not begin execution until all nodes are ready for use. + type: boolean + wckey: + description: Specify wckey to be used with job. + type: string + required: + - environment + type: object + v0.0.36_node: + example: + reason: reason + boards: 0 + alloc_cpus: 6 + active_features: active_features + reason_set_by_user: reason_set_by_user + slurmd_start_time: 4 + features: features + hostname: hostname + cores: 1 + slurmd_version: slurmd_version + reason_changed_at: 2 + operating_system: operating_system + tres: tres + cpu_binding: 5 + state: state + sockets: 7 + architecture: architecture + owner: owner + partitions: partitions + address: address + cpus: 7 + free_memory: 2 + gres: gres + gres_drained: gres_drained + threads: 1 + weight: 1 + boot_time: 6 + gres_used: gres_used + alloc_memory: 1 + mcs_label: mcs_label + real_memory: 3 + burstbuffer_network_address: burstbuffer_network_address + port: 9 + name: name + comment: comment + next_state_after_reboot: next_state_after_reboot + temporary_disk: 1 + tres_used: tres_used + idle_cpus: 7 + cpu_load: 5 + properties: + architecture: + description: computer architecture + type: string + burstbuffer_network_address: + description: BcastAddr + type: string + boards: + description: total number of boards per node + type: integer + boot_time: + description: timestamp of node boot + format: int64 + type: integer + comment: + description: Arbitrary comment + type: string + cores: + description: number of cores per socket + type: integer + cpu_binding: + description: Default task binding + type: integer + cpu_load: + description: CPU load * 100 + format: int64 + type: integer + free_memory: + description: free memory in MiB + type: integer + cpus: + description: configured count of cpus running on the node + type: integer + features: + type: string + active_features: + description: list of a node's available features + type: string + gres: + description: list of a node's generic resources + type: string + gres_drained: + description: list of drained GRES + type: string + gres_used: + description: list of GRES in current use + type: string + mcs_label: + description: mcs label if mcs plugin in use + type: string + name: + description: node name to slurm + type: string + next_state_after_reboot: + type: string + address: + description: state after reboot + type: string + hostname: + description: node's hostname + type: string + state: + description: current node state + type: string + operating_system: + description: operating system + type: string + owner: + description: User allowed to use this node + type: string + port: + description: TCP port number of the slurmd + type: integer + real_memory: + description: configured MB of real memory on the node + type: integer + reason: + description: reason for node being DOWN or DRAINING + type: string + reason_changed_at: + description: Time stamp when reason was set + type: integer + reason_set_by_user: + description: User that set the reason + type: string + slurmd_start_time: + description: timestamp of slurmd startup + format: int64 + type: integer + sockets: + description: total number of sockets per node + type: integer + threads: + description: number of threads per core + type: integer + temporary_disk: + description: configured MB of total disk in TMP_FS + type: integer + weight: + description: arbitrary priority of node for scheduling + type: integer + tres: + description: TRES on node + type: string + tres_used: + description: TRES used on node + type: string + slurmd_version: + description: Slurmd version + type: string + alloc_cpus: + type: integer + idle_cpus: + type: integer + partitions: + type: string + alloc_memory: + type: integer + type: object + v0.0.36_nodes_response: + example: + nodes: + - reason: reason + boards: 0 + alloc_cpus: 6 + active_features: active_features + reason_set_by_user: reason_set_by_user + slurmd_start_time: 4 + features: features + hostname: hostname + cores: 1 + slurmd_version: slurmd_version + reason_changed_at: 2 + operating_system: operating_system + tres: tres + cpu_binding: 5 + state: state + sockets: 7 + architecture: architecture + owner: owner + partitions: partitions + address: address + cpus: 7 + free_memory: 2 + gres: gres + gres_drained: gres_drained + threads: 1 + weight: 1 + boot_time: 6 + gres_used: gres_used + alloc_memory: 1 + mcs_label: mcs_label + real_memory: 3 + burstbuffer_network_address: burstbuffer_network_address + port: 9 + name: name + comment: comment + next_state_after_reboot: next_state_after_reboot + temporary_disk: 1 + tres_used: tres_used + idle_cpus: 7 + cpu_load: 5 + - reason: reason + boards: 0 + alloc_cpus: 6 + active_features: active_features + reason_set_by_user: reason_set_by_user + slurmd_start_time: 4 + features: features + hostname: hostname + cores: 1 + slurmd_version: slurmd_version + reason_changed_at: 2 + operating_system: operating_system + tres: tres + cpu_binding: 5 + state: state + sockets: 7 + architecture: architecture + owner: owner + partitions: partitions + address: address + cpus: 7 + free_memory: 2 + gres: gres + gres_drained: gres_drained + threads: 1 + weight: 1 + boot_time: 6 + gres_used: gres_used + alloc_memory: 1 + mcs_label: mcs_label + real_memory: 3 + burstbuffer_network_address: burstbuffer_network_address + port: 9 + name: name + comment: comment + next_state_after_reboot: next_state_after_reboot + temporary_disk: 1 + tres_used: tres_used + idle_cpus: 7 + cpu_load: 5 + errors: + - errno: 0 + error: error + - errno: 0 + error: error + properties: + errors: + description: slurm errors + items: + $ref: '#/components/schemas/v0.0.36_error' + type: array + nodes: + description: nodes info + items: + $ref: '#/components/schemas/v0.0.36_node' + type: array + type: object + v0_0_36_diag_statistics: + description: Slurm statistics + example: + schedule_cycle_per_minute: 6 + req_time_start: 5 + jobs_running: 8 + bf_cycle_max: 6 + bf_last_backfilled_jobs: 3 + bf_last_depth: 6 + bf_backfilled_het_jobs: 6 + bf_backfilled_jobs: 6 + bf_cycle_mean: 2 + job_states_ts: 9 + bf_queue_len: 7 + jobs_started: 4 + schedule_cycle_max: 4 + server_thread_count: 5 + dbd_agent_queue_size: 3 + jobs_pending: 6 + agent_count: 7 + bf_cycle_last: 3 + parts_packed: 6 + agent_thread_count: 9 + jobs_completed: 5 + bf_depth_mean: 6 + bf_active: true + bf_depth_mean_try: 3 + schedule_cycle_mean: 1 + agent_queue_size: 2 + jobs_failed: 9 + gettimeofday_latency: 2 + bf_last_depth_try: 5 + req_time: 1 + bf_cycle_counter: 1 + schedule_queue_length: 7 + bf_queue_len_mean: 0 + schedule_cycle_total: 1 + bf_when_last_cycle: 7 + schedule_cycle_last: 7 + jobs_canceled: 9 + jobs_submitted: 1 + schedule_cycle_mean_depth: 1 + properties: + parts_packed: + description: partition records packed + type: integer + req_time: + description: generation time + type: integer + req_time_start: + description: data since + type: integer + server_thread_count: + description: Server thread count + type: integer + agent_queue_size: + description: Agent queue size + type: integer + agent_count: + description: Agent count + type: integer + agent_thread_count: + description: Agent thread count + type: integer + dbd_agent_queue_size: + description: DBD Agent queue size + type: integer + gettimeofday_latency: + description: Latency for 1000 calls to gettimeofday() + type: integer + schedule_cycle_max: + description: Main Schedule max cycle + type: integer + schedule_cycle_last: + description: Main Schedule last cycle + type: integer + schedule_cycle_total: + description: Main Schedule cycle iterations + type: integer + schedule_cycle_mean: + description: Average time for Schedule Max cycle + type: integer + schedule_cycle_mean_depth: + description: Average depth for Schedule Max cycle + type: integer + schedule_cycle_per_minute: + description: Main Schedule Cycles per minute + type: integer + schedule_queue_length: + description: Main Schedule Last queue length + type: integer + jobs_submitted: + description: Job submitted + type: integer + jobs_started: + description: Job started + type: integer + jobs_completed: + description: Job completed + type: integer + jobs_canceled: + description: Job cancelled + type: integer + jobs_failed: + description: Job failed + type: integer + jobs_pending: + description: Job pending + type: integer + jobs_running: + description: Job running + type: integer + job_states_ts: + description: Job states timestamp + type: integer + bf_backfilled_jobs: + description: Total backfilled jobs (since last slurm start) + type: integer + bf_last_backfilled_jobs: + description: Total backfilled jobs (since last stats cycle start) + type: integer + bf_backfilled_het_jobs: + description: Total backfilled heterogeneous job components + type: integer + bf_cycle_counter: + description: Backfill Schedule Total cycles + type: integer + bf_cycle_mean: + description: Backfill Schedule Mean cycle + type: integer + bf_cycle_max: + description: Backfill Schedule Max cycle time + type: integer + bf_last_depth: + description: Backfill Schedule Last depth cycle + type: integer + bf_last_depth_try: + description: Backfill Schedule Mean cycle (try sched) + type: integer + bf_depth_mean: + description: Backfill Schedule Depth Mean + type: integer + bf_depth_mean_try: + description: Backfill Schedule Depth Mean (try sched) + type: integer + bf_cycle_last: + description: Backfill Schedule Last cycle time + type: integer + bf_queue_len: + description: Backfill Schedule Last queue length + type: integer + bf_queue_len_mean: + description: Backfill Schedule Mean queue length + type: integer + bf_when_last_cycle: + description: Last cycle timestamp + type: integer + bf_active: + description: Backfill Schedule currently active + type: boolean + type: object + securitySchemes: + user: + description: User name + in: header + name: X-SLURM-USER-NAME + type: apiKey + token: + description: User access token + in: header + name: X-SLURM-USER-TOKEN + type: apiKey diff --git a/api_openapi.go b/api_openapi.go new file mode 100644 index 0000000..a8c4d5e --- /dev/null +++ b/api_openapi.go @@ -0,0 +1,500 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "bytes" + _context "context" + _ioutil "io/ioutil" + _nethttp "net/http" + _neturl "net/url" +) + +// Linger please +var ( + _ _context.Context +) + +// OpenapiApiService OpenapiApi service +type OpenapiApiService service + +type ApiOpenapiGetRequest struct { + ctx _context.Context + ApiService *OpenapiApiService +} + + +func (r ApiOpenapiGetRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.OpenapiGetExecute(r) +} + +/* + * OpenapiGet Retrieve OpenAPI Specification + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiOpenapiGetRequest + */ +func (a *OpenapiApiService) OpenapiGet(ctx _context.Context) ApiOpenapiGetRequest { + return ApiOpenapiGetRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + */ +func (a *OpenapiApiService) OpenapiGetExecute(r ApiOpenapiGetRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenapiApiService.OpenapiGet") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/openapi" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiOpenapiJsonGetRequest struct { + ctx _context.Context + ApiService *OpenapiApiService +} + + +func (r ApiOpenapiJsonGetRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.OpenapiJsonGetExecute(r) +} + +/* + * OpenapiJsonGet Retrieve OpenAPI Specification + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiOpenapiJsonGetRequest + */ +func (a *OpenapiApiService) OpenapiJsonGet(ctx _context.Context) ApiOpenapiJsonGetRequest { + return ApiOpenapiJsonGetRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + */ +func (a *OpenapiApiService) OpenapiJsonGetExecute(r ApiOpenapiJsonGetRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenapiApiService.OpenapiJsonGet") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/openapi.json" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiOpenapiV3GetRequest struct { + ctx _context.Context + ApiService *OpenapiApiService +} + + +func (r ApiOpenapiV3GetRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.OpenapiV3GetExecute(r) +} + +/* + * OpenapiV3Get Retrieve OpenAPI Specification + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiOpenapiV3GetRequest + */ +func (a *OpenapiApiService) OpenapiV3Get(ctx _context.Context) ApiOpenapiV3GetRequest { + return ApiOpenapiV3GetRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + */ +func (a *OpenapiApiService) OpenapiV3GetExecute(r ApiOpenapiV3GetRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenapiApiService.OpenapiV3Get") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/openapi/v3" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiOpenapiYamlGetRequest struct { + ctx _context.Context + ApiService *OpenapiApiService +} + + +func (r ApiOpenapiYamlGetRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.OpenapiYamlGetExecute(r) +} + +/* + * OpenapiYamlGet Retrieve OpenAPI Specification + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiOpenapiYamlGetRequest + */ +func (a *OpenapiApiService) OpenapiYamlGet(ctx _context.Context) ApiOpenapiYamlGetRequest { + return ApiOpenapiYamlGetRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + */ +func (a *OpenapiApiService) OpenapiYamlGetExecute(r ApiOpenapiYamlGetRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenapiApiService.OpenapiYamlGet") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/openapi.yaml" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/api_slurm.go b/api_slurm.go new file mode 100644 index 0000000..edd2569 --- /dev/null +++ b/api_slurm.go @@ -0,0 +1,1474 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "bytes" + _context "context" + _ioutil "io/ioutil" + _nethttp "net/http" + _neturl "net/url" + "strings" +) + +// Linger please +var ( + _ _context.Context +) + +// SlurmApiService SlurmApi service +type SlurmApiService service + +type ApiSlurmctldCancelJobRequest struct { + ctx _context.Context + ApiService *SlurmApiService + jobId int64 + signal *V0036Signal +} + +func (r ApiSlurmctldCancelJobRequest) Signal(signal V0036Signal) ApiSlurmctldCancelJobRequest { + r.signal = &signal + return r +} + +func (r ApiSlurmctldCancelJobRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.SlurmctldCancelJobExecute(r) +} + +/* + * SlurmctldCancelJob cancel or signal job + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param jobId Slurm Job ID + * @return ApiSlurmctldCancelJobRequest + */ +func (a *SlurmApiService) SlurmctldCancelJob(ctx _context.Context, jobId int64) ApiSlurmctldCancelJobRequest { + return ApiSlurmctldCancelJobRequest{ + ApiService: a, + ctx: ctx, + jobId: jobId, + } +} + +/* + * Execute executes the request + */ +func (a *SlurmApiService) SlurmctldCancelJobExecute(r ApiSlurmctldCancelJobRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodDelete + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldCancelJob") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/job/{job_id}" + localVarPath = strings.Replace(localVarPath, "{"+"job_id"+"}", _neturl.PathEscape(parameterToString(r.jobId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + if r.signal != nil { + localVarQueryParams.Add("signal", parameterToString(*r.signal, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiSlurmctldDiagRequest struct { + ctx _context.Context + ApiService *SlurmApiService +} + + +func (r ApiSlurmctldDiagRequest) Execute() (V0036Diag, *_nethttp.Response, error) { + return r.ApiService.SlurmctldDiagExecute(r) +} + +/* + * SlurmctldDiag get diagnostics + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldDiagRequest + */ +func (a *SlurmApiService) SlurmctldDiag(ctx _context.Context) ApiSlurmctldDiagRequest { + return ApiSlurmctldDiagRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036Diag + */ +func (a *SlurmApiService) SlurmctldDiagExecute(r ApiSlurmctldDiagRequest) (V0036Diag, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036Diag + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldDiag") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/diag/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetJobRequest struct { + ctx _context.Context + ApiService *SlurmApiService + jobId int64 +} + + +func (r ApiSlurmctldGetJobRequest) Execute() (V0036JobsResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetJobExecute(r) +} + +/* + * SlurmctldGetJob get job info + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param jobId Slurm Job ID + * @return ApiSlurmctldGetJobRequest + */ +func (a *SlurmApiService) SlurmctldGetJob(ctx _context.Context, jobId int64) ApiSlurmctldGetJobRequest { + return ApiSlurmctldGetJobRequest{ + ApiService: a, + ctx: ctx, + jobId: jobId, + } +} + +/* + * Execute executes the request + * @return V0036JobsResponse + */ +func (a *SlurmApiService) SlurmctldGetJobExecute(r ApiSlurmctldGetJobRequest) (V0036JobsResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036JobsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetJob") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/job/{job_id}" + localVarPath = strings.Replace(localVarPath, "{"+"job_id"+"}", _neturl.PathEscape(parameterToString(r.jobId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetJobsRequest struct { + ctx _context.Context + ApiService *SlurmApiService +} + + +func (r ApiSlurmctldGetJobsRequest) Execute() (V0036JobsResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetJobsExecute(r) +} + +/* + * SlurmctldGetJobs get list of jobs + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldGetJobsRequest + */ +func (a *SlurmApiService) SlurmctldGetJobs(ctx _context.Context) ApiSlurmctldGetJobsRequest { + return ApiSlurmctldGetJobsRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036JobsResponse + */ +func (a *SlurmApiService) SlurmctldGetJobsExecute(r ApiSlurmctldGetJobsRequest) (V0036JobsResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036JobsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetJobs") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/jobs/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetNodeRequest struct { + ctx _context.Context + ApiService *SlurmApiService + nodeName string +} + + +func (r ApiSlurmctldGetNodeRequest) Execute() (V0036NodesResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetNodeExecute(r) +} + +/* + * SlurmctldGetNode get node info + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param nodeName Slurm Node Name + * @return ApiSlurmctldGetNodeRequest + */ +func (a *SlurmApiService) SlurmctldGetNode(ctx _context.Context, nodeName string) ApiSlurmctldGetNodeRequest { + return ApiSlurmctldGetNodeRequest{ + ApiService: a, + ctx: ctx, + nodeName: nodeName, + } +} + +/* + * Execute executes the request + * @return V0036NodesResponse + */ +func (a *SlurmApiService) SlurmctldGetNodeExecute(r ApiSlurmctldGetNodeRequest) (V0036NodesResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036NodesResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetNode") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/node/{node_name}" + localVarPath = strings.Replace(localVarPath, "{"+"node_name"+"}", _neturl.PathEscape(parameterToString(r.nodeName, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetNodesRequest struct { + ctx _context.Context + ApiService *SlurmApiService +} + + +func (r ApiSlurmctldGetNodesRequest) Execute() (V0036NodesResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetNodesExecute(r) +} + +/* + * SlurmctldGetNodes get all node info + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldGetNodesRequest + */ +func (a *SlurmApiService) SlurmctldGetNodes(ctx _context.Context) ApiSlurmctldGetNodesRequest { + return ApiSlurmctldGetNodesRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036NodesResponse + */ +func (a *SlurmApiService) SlurmctldGetNodesExecute(r ApiSlurmctldGetNodesRequest) (V0036NodesResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036NodesResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetNodes") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/nodes/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetPartitionRequest struct { + ctx _context.Context + ApiService *SlurmApiService + partitionName string +} + + +func (r ApiSlurmctldGetPartitionRequest) Execute() (V0036PartitionsResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetPartitionExecute(r) +} + +/* + * SlurmctldGetPartition get partition info + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param partitionName Slurm Partition Name + * @return ApiSlurmctldGetPartitionRequest + */ +func (a *SlurmApiService) SlurmctldGetPartition(ctx _context.Context, partitionName string) ApiSlurmctldGetPartitionRequest { + return ApiSlurmctldGetPartitionRequest{ + ApiService: a, + ctx: ctx, + partitionName: partitionName, + } +} + +/* + * Execute executes the request + * @return V0036PartitionsResponse + */ +func (a *SlurmApiService) SlurmctldGetPartitionExecute(r ApiSlurmctldGetPartitionRequest) (V0036PartitionsResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036PartitionsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetPartition") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/partition/{partition_name}" + localVarPath = strings.Replace(localVarPath, "{"+"partition_name"+"}", _neturl.PathEscape(parameterToString(r.partitionName, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldGetPartitionsRequest struct { + ctx _context.Context + ApiService *SlurmApiService +} + + +func (r ApiSlurmctldGetPartitionsRequest) Execute() (V0036PartitionsResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldGetPartitionsExecute(r) +} + +/* + * SlurmctldGetPartitions get all partition info + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldGetPartitionsRequest + */ +func (a *SlurmApiService) SlurmctldGetPartitions(ctx _context.Context) ApiSlurmctldGetPartitionsRequest { + return ApiSlurmctldGetPartitionsRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036PartitionsResponse + */ +func (a *SlurmApiService) SlurmctldGetPartitionsExecute(r ApiSlurmctldGetPartitionsRequest) (V0036PartitionsResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036PartitionsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldGetPartitions") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/partitions/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldPingRequest struct { + ctx _context.Context + ApiService *SlurmApiService +} + + +func (r ApiSlurmctldPingRequest) Execute() (V0036Pings, *_nethttp.Response, error) { + return r.ApiService.SlurmctldPingExecute(r) +} + +/* + * SlurmctldPing ping test + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldPingRequest + */ +func (a *SlurmApiService) SlurmctldPing(ctx _context.Context) ApiSlurmctldPingRequest { + return ApiSlurmctldPingRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036Pings + */ +func (a *SlurmApiService) SlurmctldPingExecute(r ApiSlurmctldPingRequest) (V0036Pings, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodGet + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036Pings + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldPing") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/ping/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldSubmitJobRequest struct { + ctx _context.Context + ApiService *SlurmApiService + v0036JobSubmission *V0036JobSubmission +} + +func (r ApiSlurmctldSubmitJobRequest) V0036JobSubmission(v0036JobSubmission V0036JobSubmission) ApiSlurmctldSubmitJobRequest { + r.v0036JobSubmission = &v0036JobSubmission + return r +} + +func (r ApiSlurmctldSubmitJobRequest) Execute() (V0036JobSubmissionResponse, *_nethttp.Response, error) { + return r.ApiService.SlurmctldSubmitJobExecute(r) +} + +/* + * SlurmctldSubmitJob submit new job + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @return ApiSlurmctldSubmitJobRequest + */ +func (a *SlurmApiService) SlurmctldSubmitJob(ctx _context.Context) ApiSlurmctldSubmitJobRequest { + return ApiSlurmctldSubmitJobRequest{ + ApiService: a, + ctx: ctx, + } +} + +/* + * Execute executes the request + * @return V0036JobSubmissionResponse + */ +func (a *SlurmApiService) SlurmctldSubmitJobExecute(r ApiSlurmctldSubmitJobRequest) (V0036JobSubmissionResponse, *_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodPost + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue V0036JobSubmissionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldSubmitJob") + if err != nil { + return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/job/submit" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + if r.v0036JobSubmission == nil { + return localVarReturnValue, nil, reportError("v0036JobSubmission is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-yaml"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.v0036JobSubmission + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSlurmctldUpdateJobRequest struct { + ctx _context.Context + ApiService *SlurmApiService + jobId int64 + v0036JobProperties *V0036JobProperties +} + +func (r ApiSlurmctldUpdateJobRequest) V0036JobProperties(v0036JobProperties V0036JobProperties) ApiSlurmctldUpdateJobRequest { + r.v0036JobProperties = &v0036JobProperties + return r +} + +func (r ApiSlurmctldUpdateJobRequest) Execute() (*_nethttp.Response, error) { + return r.ApiService.SlurmctldUpdateJobExecute(r) +} + +/* + * SlurmctldUpdateJob update job + * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param jobId Slurm Job ID + * @return ApiSlurmctldUpdateJobRequest + */ +func (a *SlurmApiService) SlurmctldUpdateJob(ctx _context.Context, jobId int64) ApiSlurmctldUpdateJobRequest { + return ApiSlurmctldUpdateJobRequest{ + ApiService: a, + ctx: ctx, + jobId: jobId, + } +} + +/* + * Execute executes the request + */ +func (a *SlurmApiService) SlurmctldUpdateJobExecute(r ApiSlurmctldUpdateJobRequest) (*_nethttp.Response, error) { + var ( + localVarHTTPMethod = _nethttp.MethodPost + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SlurmApiService.SlurmctldUpdateJob") + if err != nil { + return nil, GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/job/{job_id}" + localVarPath = strings.Replace(localVarPath, "{"+"job_id"+"}", _neturl.PathEscape(parameterToString(r.jobId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := _neturl.Values{} + localVarFormParams := _neturl.Values{} + if r.v0036JobProperties == nil { + return nil, reportError("v0036JobProperties is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-yaml"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.v0036JobProperties + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["token"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-TOKEN"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["user"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-SLURM-USER-NAME"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/client.go b/client.go new file mode 100644 index 0000000..600eca9 --- /dev/null +++ b/client.go @@ -0,0 +1,539 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + + "golang.org/x/oauth2" +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) +) + +// APIClient manages communication with the Slurm Rest API API v0.0.36 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + OpenapiApi *OpenapiApiService + + SlurmApi *SlurmApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.OpenapiApi = (*OpenapiApiService)(&c.common) + c.SlurmApi = (*SlurmApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insenstive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.ToLower(a) == strings.ToLower(needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. +func parameterToString(obj interface{}, collectionFormat string) string { + var delimiter string + + switch collectionFormat { + case "pipes": + delimiter = "|" + case "ssv": + delimiter = " " + case "tsv": + delimiter = "\t" + case "csv": + delimiter = "," + } + + if reflect.TypeOf(obj).Kind() == reflect.Slice { + return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") + } else if t, ok := obj.(time.Time); ok { + return t.Format(time.RFC3339) + } + + return fmt.Sprintf("%v", obj) +} + +// helper for converting interface{} parameters to json strings +func parameterToJson(obj interface{}) (string, error) { + jsonBuf, err := json.Marshal(obj) + if err != nil { + return "", err + } + return string(jsonBuf), err +} + +// callAPI do the request. +func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { + if c.cfg.Debug { + dump, err := httputil.DumpRequestOut(request, true) + if err != nil { + return nil, err + } + log.Printf("\n%s\n", string(dump)) + } + + resp, err := c.cfg.HTTPClient.Do(request) + if err != nil { + return resp, err + } + + if c.cfg.Debug { + dump, err := httputil.DumpResponse(resp, true) + if err != nil { + return resp, err + } + log.Printf("\n%s\n", string(dump)) + } + return resp, err +} + +// Allow modification of underlying config for alternate implementations and testing +// Caution: modifying the configuration while live can cause data races and potentially unwanted behavior +func (c *APIClient) GetConfig() *Configuration { + return c.cfg +} + +// prepareRequest build the request +func (c *APIClient) prepareRequest( + ctx context.Context, + path string, method string, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams url.Values, + formFileName string, + fileName string, + fileBytes []byte) (localVarRequest *http.Request, err error) { + + var body *bytes.Buffer + + // Detect postBody type and post. + if postBody != nil { + contentType := headerParams["Content-Type"] + if contentType == "" { + contentType = detectContentType(postBody) + headerParams["Content-Type"] = contentType + } + + body, err = setBody(postBody, contentType) + if err != nil { + return nil, err + } + } + + // add form parameters and file if available. + if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + if len(fileBytes) > 0 && fileName != "" { + w.Boundary() + //_, fileNm := filepath.Split(fileName) + part, err := w.CreateFormFile(formFileName, filepath.Base(fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(fileBytes) + if err != nil { + return nil, err + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = query.Encode() + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers.Set(h, v) + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + // OAuth2 authentication + if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { + // We were able to grab an oauth2 token from the context + var latestToken *oauth2.Token + if latestToken, err = tok.Token(); err != nil { + return nil, err + } + + latestToken.SetAuthHeader(localVarRequest) + } + + // Basic HTTP Authentication + if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { + localVarRequest.SetBasicAuth(auth.UserName, auth.Password) + } + + // AccessToken Authentication + if auth, ok := ctx.Value(ContextAccessToken).(string); ok { + localVarRequest.Header.Add("Authorization", "Bearer "+auth) + } + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(**os.File); ok { + _, err = bodyBuf.ReadFrom(*fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("Invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} diff --git a/configuration.go b/configuration.go new file mode 100644 index 0000000..4a49f0a --- /dev/null +++ b/configuration.go @@ -0,0 +1,255 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. + ContextOAuth2 = contextKey("token") + + // ContextBasicAuth takes BasicAuth as authentication for the request. + ContextBasicAuth = contextKey("basic") + + // ContextAccessToken takes a string oauth2 access token as authentication for the request. + ContextAccessToken = contextKey("accesstoken") + + // ContextAPIKeys takes a string apikey as authentication for the request + ContextAPIKeys = contextKey("apiKeys") + + // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. + ContextHttpSignatureAuth = contextKey("httpsignature") + + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "/slurm/v0.0.36", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + "OpenapiApiService.OpenapiGet": { + { + URL: "/", + Description: "No description provided", + }, + }, + "OpenapiApiService.OpenapiJsonGet": { + { + URL: "/", + Description: "No description provided", + }, + }, + "OpenapiApiService.OpenapiV3Get": { + { + URL: "/", + Description: "No description provided", + }, + }, + "OpenapiApiService.OpenapiYamlGet": { + { + URL: "/", + Description: "No description provided", + }, + }, + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("Index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("The variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/docs/OpenapiApi.md b/docs/OpenapiApi.md new file mode 100644 index 0000000..7954965 --- /dev/null +++ b/docs/OpenapiApi.md @@ -0,0 +1,240 @@ +# \OpenapiApi + +All URIs are relative to *http://localhost/slurm/v0.0.36* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**OpenapiGet**](OpenapiApi.md#OpenapiGet) | **Get** /openapi | Retrieve OpenAPI Specification +[**OpenapiJsonGet**](OpenapiApi.md#OpenapiJsonGet) | **Get** /openapi.json | Retrieve OpenAPI Specification +[**OpenapiV3Get**](OpenapiApi.md#OpenapiV3Get) | **Get** /openapi/v3 | Retrieve OpenAPI Specification +[**OpenapiYamlGet**](OpenapiApi.md#OpenapiYamlGet) | **Get** /openapi.yaml | Retrieve OpenAPI Specification + + + +## OpenapiGet + +> OpenapiGet(ctx).Execute() + +Retrieve OpenAPI Specification + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.OpenapiApi.OpenapiGet(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OpenapiApi.OpenapiGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiOpenapiGetRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OpenapiJsonGet + +> OpenapiJsonGet(ctx).Execute() + +Retrieve OpenAPI Specification + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.OpenapiApi.OpenapiJsonGet(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OpenapiApi.OpenapiJsonGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiOpenapiJsonGetRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OpenapiV3Get + +> OpenapiV3Get(ctx).Execute() + +Retrieve OpenAPI Specification + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.OpenapiApi.OpenapiV3Get(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OpenapiApi.OpenapiV3Get``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiOpenapiV3GetRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OpenapiYamlGet + +> OpenapiYamlGet(ctx).Execute() + +Retrieve OpenAPI Specification + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.OpenapiApi.OpenapiYamlGet(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OpenapiApi.OpenapiYamlGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiOpenapiYamlGetRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/SlurmApi.md b/docs/SlurmApi.md new file mode 100644 index 0000000..e715509 --- /dev/null +++ b/docs/SlurmApi.md @@ -0,0 +1,718 @@ +# \SlurmApi + +All URIs are relative to *http://localhost/slurm/v0.0.36* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**SlurmctldCancelJob**](SlurmApi.md#SlurmctldCancelJob) | **Delete** /job/{job_id} | cancel or signal job +[**SlurmctldDiag**](SlurmApi.md#SlurmctldDiag) | **Get** /diag/ | get diagnostics +[**SlurmctldGetJob**](SlurmApi.md#SlurmctldGetJob) | **Get** /job/{job_id} | get job info +[**SlurmctldGetJobs**](SlurmApi.md#SlurmctldGetJobs) | **Get** /jobs/ | get list of jobs +[**SlurmctldGetNode**](SlurmApi.md#SlurmctldGetNode) | **Get** /node/{node_name} | get node info +[**SlurmctldGetNodes**](SlurmApi.md#SlurmctldGetNodes) | **Get** /nodes/ | get all node info +[**SlurmctldGetPartition**](SlurmApi.md#SlurmctldGetPartition) | **Get** /partition/{partition_name} | get partition info +[**SlurmctldGetPartitions**](SlurmApi.md#SlurmctldGetPartitions) | **Get** /partitions/ | get all partition info +[**SlurmctldPing**](SlurmApi.md#SlurmctldPing) | **Get** /ping/ | ping test +[**SlurmctldSubmitJob**](SlurmApi.md#SlurmctldSubmitJob) | **Post** /job/submit | submit new job +[**SlurmctldUpdateJob**](SlurmApi.md#SlurmctldUpdateJob) | **Post** /job/{job_id} | update job + + + +## SlurmctldCancelJob + +> SlurmctldCancelJob(ctx, jobId).Signal(signal).Execute() + +cancel or signal job + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + jobId := int64(789) // int64 | Slurm Job ID + signal := openapiclient.v0.0.36_signal("HUP") // V0036Signal | signal to send to job (optional) + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldCancelJob(context.Background(), jobId).Signal(signal).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldCancelJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**jobId** | **int64** | Slurm Job ID | + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldCancelJobRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **signal** | [**V0036Signal**](V0036Signal.md) | signal to send to job | + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldDiag + +> V0036Diag SlurmctldDiag(ctx).Execute() + +get diagnostics + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldDiag(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldDiag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldDiag`: V0036Diag + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldDiag`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldDiagRequest struct via the builder pattern + + +### Return type + +[**V0036Diag**](V0036Diag.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetJob + +> V0036JobsResponse SlurmctldGetJob(ctx, jobId).Execute() + +get job info + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + jobId := int64(789) // int64 | Slurm Job ID + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetJob(context.Background(), jobId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetJob`: V0036JobsResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetJob`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**jobId** | **int64** | Slurm Job ID | + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetJobRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**V0036JobsResponse**](V0036JobsResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetJobs + +> V0036JobsResponse SlurmctldGetJobs(ctx).Execute() + +get list of jobs + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetJobs(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetJobs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetJobs`: V0036JobsResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetJobs`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetJobsRequest struct via the builder pattern + + +### Return type + +[**V0036JobsResponse**](V0036JobsResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetNode + +> V0036NodesResponse SlurmctldGetNode(ctx, nodeName).Execute() + +get node info + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + nodeName := "nodeName_example" // string | Slurm Node Name + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetNode(context.Background(), nodeName).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetNode``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetNode`: V0036NodesResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetNode`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**nodeName** | **string** | Slurm Node Name | + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetNodeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**V0036NodesResponse**](V0036NodesResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetNodes + +> V0036NodesResponse SlurmctldGetNodes(ctx).Execute() + +get all node info + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetNodes(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetNodes``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetNodes`: V0036NodesResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetNodes`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetNodesRequest struct via the builder pattern + + +### Return type + +[**V0036NodesResponse**](V0036NodesResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetPartition + +> V0036PartitionsResponse SlurmctldGetPartition(ctx, partitionName).Execute() + +get partition info + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + partitionName := "partitionName_example" // string | Slurm Partition Name + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetPartition(context.Background(), partitionName).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetPartition``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetPartition`: V0036PartitionsResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetPartition`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**partitionName** | **string** | Slurm Partition Name | + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetPartitionRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**V0036PartitionsResponse**](V0036PartitionsResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldGetPartitions + +> V0036PartitionsResponse SlurmctldGetPartitions(ctx).Execute() + +get all partition info + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldGetPartitions(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldGetPartitions``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldGetPartitions`: V0036PartitionsResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldGetPartitions`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldGetPartitionsRequest struct via the builder pattern + + +### Return type + +[**V0036PartitionsResponse**](V0036PartitionsResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldPing + +> V0036Pings SlurmctldPing(ctx).Execute() + +ping test + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldPing(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldPing``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldPing`: V0036Pings + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldPing`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldPingRequest struct via the builder pattern + + +### Return type + +[**V0036Pings**](V0036Pings.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldSubmitJob + +> V0036JobSubmissionResponse SlurmctldSubmitJob(ctx).V0036JobSubmission(v0036JobSubmission).Execute() + +submit new job + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + v0036JobSubmission := *openapiclient.NewV0036JobSubmission("Script_example") // V0036JobSubmission | submit new job + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldSubmitJob(context.Background()).V0036JobSubmission(v0036JobSubmission).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldSubmitJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `SlurmctldSubmitJob`: V0036JobSubmissionResponse + fmt.Fprintf(os.Stdout, "Response from `SlurmApi.SlurmctldSubmitJob`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldSubmitJobRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **v0036JobSubmission** | [**V0036JobSubmission**](V0036JobSubmission.md) | submit new job | + +### Return type + +[**V0036JobSubmissionResponse**](V0036JobSubmissionResponse.md) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-yaml +- **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## SlurmctldUpdateJob + +> SlurmctldUpdateJob(ctx, jobId).V0036JobProperties(v0036JobProperties).Execute() + +update job + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + jobId := int64(789) // int64 | Slurm Job ID + v0036JobProperties := *openapiclient.NewV0036JobProperties(map[string]interface{}(123)) // V0036JobProperties | update job + + configuration := openapiclient.NewConfiguration() + api_client := openapiclient.NewAPIClient(configuration) + resp, r, err := api_client.SlurmApi.SlurmctldUpdateJob(context.Background(), jobId).V0036JobProperties(v0036JobProperties).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SlurmApi.SlurmctldUpdateJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**jobId** | **int64** | Slurm Job ID | + +### Other Parameters + +Other parameters are passed through a pointer to a apiSlurmctldUpdateJobRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **v0036JobProperties** | [**V0036JobProperties**](V0036JobProperties.md) | update job | + +### Return type + + (empty response body) + +### Authorization + +[token](../README.md#token), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-yaml +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/V0036Diag.md b/docs/V0036Diag.md new file mode 100644 index 0000000..ced8771 --- /dev/null +++ b/docs/V0036Diag.md @@ -0,0 +1,82 @@ +# V0036Diag + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**Statistics** | Pointer to [**V0036DiagStatistics**](V0036DiagStatistics.md) | | [optional] + +## Methods + +### NewV0036Diag + +`func NewV0036Diag() *V0036Diag` + +NewV0036Diag instantiates a new V0036Diag 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 + +### NewV0036DiagWithDefaults + +`func NewV0036DiagWithDefaults() *V0036Diag` + +NewV0036DiagWithDefaults instantiates a new V0036Diag 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 + +### GetErrors + +`func (o *V0036Diag) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036Diag) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036Diag) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036Diag) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetStatistics + +`func (o *V0036Diag) GetStatistics() V0036DiagStatistics` + +GetStatistics returns the Statistics field if non-nil, zero value otherwise. + +### GetStatisticsOk + +`func (o *V0036Diag) GetStatisticsOk() (*V0036DiagStatistics, bool)` + +GetStatisticsOk returns a tuple with the Statistics field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatistics + +`func (o *V0036Diag) SetStatistics(v V0036DiagStatistics)` + +SetStatistics sets Statistics field to given value. + +### HasStatistics + +`func (o *V0036Diag) HasStatistics() bool` + +HasStatistics returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036DiagStatistics.md b/docs/V0036DiagStatistics.md new file mode 100644 index 0000000..f0ea8fa --- /dev/null +++ b/docs/V0036DiagStatistics.md @@ -0,0 +1,1044 @@ +# V0036DiagStatistics + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PartsPacked** | Pointer to **int32** | partition records packed | [optional] +**ReqTime** | Pointer to **int32** | generation time | [optional] +**ReqTimeStart** | Pointer to **int32** | data since | [optional] +**ServerThreadCount** | Pointer to **int32** | Server thread count | [optional] +**AgentQueueSize** | Pointer to **int32** | Agent queue size | [optional] +**AgentCount** | Pointer to **int32** | Agent count | [optional] +**AgentThreadCount** | Pointer to **int32** | Agent thread count | [optional] +**DbdAgentQueueSize** | Pointer to **int32** | DBD Agent queue size | [optional] +**GettimeofdayLatency** | Pointer to **int32** | Latency for 1000 calls to gettimeofday() | [optional] +**ScheduleCycleMax** | Pointer to **int32** | Main Schedule max cycle | [optional] +**ScheduleCycleLast** | Pointer to **int32** | Main Schedule last cycle | [optional] +**ScheduleCycleTotal** | Pointer to **int32** | Main Schedule cycle iterations | [optional] +**ScheduleCycleMean** | Pointer to **int32** | Average time for Schedule Max cycle | [optional] +**ScheduleCycleMeanDepth** | Pointer to **int32** | Average depth for Schedule Max cycle | [optional] +**ScheduleCyclePerMinute** | Pointer to **int32** | Main Schedule Cycles per minute | [optional] +**ScheduleQueueLength** | Pointer to **int32** | Main Schedule Last queue length | [optional] +**JobsSubmitted** | Pointer to **int32** | Job submitted | [optional] +**JobsStarted** | Pointer to **int32** | Job started | [optional] +**JobsCompleted** | Pointer to **int32** | Job completed | [optional] +**JobsCanceled** | Pointer to **int32** | Job cancelled | [optional] +**JobsFailed** | Pointer to **int32** | Job failed | [optional] +**JobsPending** | Pointer to **int32** | Job pending | [optional] +**JobsRunning** | Pointer to **int32** | Job running | [optional] +**JobStatesTs** | Pointer to **int32** | Job states timestamp | [optional] +**BfBackfilledJobs** | Pointer to **int32** | Total backfilled jobs (since last slurm start) | [optional] +**BfLastBackfilledJobs** | Pointer to **int32** | Total backfilled jobs (since last stats cycle start) | [optional] +**BfBackfilledHetJobs** | Pointer to **int32** | Total backfilled heterogeneous job components | [optional] +**BfCycleCounter** | Pointer to **int32** | Backfill Schedule Total cycles | [optional] +**BfCycleMean** | Pointer to **int32** | Backfill Schedule Mean cycle | [optional] +**BfCycleMax** | Pointer to **int32** | Backfill Schedule Max cycle time | [optional] +**BfLastDepth** | Pointer to **int32** | Backfill Schedule Last depth cycle | [optional] +**BfLastDepthTry** | Pointer to **int32** | Backfill Schedule Mean cycle (try sched) | [optional] +**BfDepthMean** | Pointer to **int32** | Backfill Schedule Depth Mean | [optional] +**BfDepthMeanTry** | Pointer to **int32** | Backfill Schedule Depth Mean (try sched) | [optional] +**BfCycleLast** | Pointer to **int32** | Backfill Schedule Last cycle time | [optional] +**BfQueueLen** | Pointer to **int32** | Backfill Schedule Last queue length | [optional] +**BfQueueLenMean** | Pointer to **int32** | Backfill Schedule Mean queue length | [optional] +**BfWhenLastCycle** | Pointer to **int32** | Last cycle timestamp | [optional] +**BfActive** | Pointer to **bool** | Backfill Schedule currently active | [optional] + +## Methods + +### NewV0036DiagStatistics + +`func NewV0036DiagStatistics() *V0036DiagStatistics` + +NewV0036DiagStatistics instantiates a new V0036DiagStatistics 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 + +### NewV0036DiagStatisticsWithDefaults + +`func NewV0036DiagStatisticsWithDefaults() *V0036DiagStatistics` + +NewV0036DiagStatisticsWithDefaults instantiates a new V0036DiagStatistics 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 + +### GetPartsPacked + +`func (o *V0036DiagStatistics) GetPartsPacked() int32` + +GetPartsPacked returns the PartsPacked field if non-nil, zero value otherwise. + +### GetPartsPackedOk + +`func (o *V0036DiagStatistics) GetPartsPackedOk() (*int32, bool)` + +GetPartsPackedOk returns a tuple with the PartsPacked field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartsPacked + +`func (o *V0036DiagStatistics) SetPartsPacked(v int32)` + +SetPartsPacked sets PartsPacked field to given value. + +### HasPartsPacked + +`func (o *V0036DiagStatistics) HasPartsPacked() bool` + +HasPartsPacked returns a boolean if a field has been set. + +### GetReqTime + +`func (o *V0036DiagStatistics) GetReqTime() int32` + +GetReqTime returns the ReqTime field if non-nil, zero value otherwise. + +### GetReqTimeOk + +`func (o *V0036DiagStatistics) GetReqTimeOk() (*int32, bool)` + +GetReqTimeOk returns a tuple with the ReqTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReqTime + +`func (o *V0036DiagStatistics) SetReqTime(v int32)` + +SetReqTime sets ReqTime field to given value. + +### HasReqTime + +`func (o *V0036DiagStatistics) HasReqTime() bool` + +HasReqTime returns a boolean if a field has been set. + +### GetReqTimeStart + +`func (o *V0036DiagStatistics) GetReqTimeStart() int32` + +GetReqTimeStart returns the ReqTimeStart field if non-nil, zero value otherwise. + +### GetReqTimeStartOk + +`func (o *V0036DiagStatistics) GetReqTimeStartOk() (*int32, bool)` + +GetReqTimeStartOk returns a tuple with the ReqTimeStart field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReqTimeStart + +`func (o *V0036DiagStatistics) SetReqTimeStart(v int32)` + +SetReqTimeStart sets ReqTimeStart field to given value. + +### HasReqTimeStart + +`func (o *V0036DiagStatistics) HasReqTimeStart() bool` + +HasReqTimeStart returns a boolean if a field has been set. + +### GetServerThreadCount + +`func (o *V0036DiagStatistics) GetServerThreadCount() int32` + +GetServerThreadCount returns the ServerThreadCount field if non-nil, zero value otherwise. + +### GetServerThreadCountOk + +`func (o *V0036DiagStatistics) GetServerThreadCountOk() (*int32, bool)` + +GetServerThreadCountOk returns a tuple with the ServerThreadCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetServerThreadCount + +`func (o *V0036DiagStatistics) SetServerThreadCount(v int32)` + +SetServerThreadCount sets ServerThreadCount field to given value. + +### HasServerThreadCount + +`func (o *V0036DiagStatistics) HasServerThreadCount() bool` + +HasServerThreadCount returns a boolean if a field has been set. + +### GetAgentQueueSize + +`func (o *V0036DiagStatistics) GetAgentQueueSize() int32` + +GetAgentQueueSize returns the AgentQueueSize field if non-nil, zero value otherwise. + +### GetAgentQueueSizeOk + +`func (o *V0036DiagStatistics) GetAgentQueueSizeOk() (*int32, bool)` + +GetAgentQueueSizeOk returns a tuple with the AgentQueueSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAgentQueueSize + +`func (o *V0036DiagStatistics) SetAgentQueueSize(v int32)` + +SetAgentQueueSize sets AgentQueueSize field to given value. + +### HasAgentQueueSize + +`func (o *V0036DiagStatistics) HasAgentQueueSize() bool` + +HasAgentQueueSize returns a boolean if a field has been set. + +### GetAgentCount + +`func (o *V0036DiagStatistics) GetAgentCount() int32` + +GetAgentCount returns the AgentCount field if non-nil, zero value otherwise. + +### GetAgentCountOk + +`func (o *V0036DiagStatistics) GetAgentCountOk() (*int32, bool)` + +GetAgentCountOk returns a tuple with the AgentCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAgentCount + +`func (o *V0036DiagStatistics) SetAgentCount(v int32)` + +SetAgentCount sets AgentCount field to given value. + +### HasAgentCount + +`func (o *V0036DiagStatistics) HasAgentCount() bool` + +HasAgentCount returns a boolean if a field has been set. + +### GetAgentThreadCount + +`func (o *V0036DiagStatistics) GetAgentThreadCount() int32` + +GetAgentThreadCount returns the AgentThreadCount field if non-nil, zero value otherwise. + +### GetAgentThreadCountOk + +`func (o *V0036DiagStatistics) GetAgentThreadCountOk() (*int32, bool)` + +GetAgentThreadCountOk returns a tuple with the AgentThreadCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAgentThreadCount + +`func (o *V0036DiagStatistics) SetAgentThreadCount(v int32)` + +SetAgentThreadCount sets AgentThreadCount field to given value. + +### HasAgentThreadCount + +`func (o *V0036DiagStatistics) HasAgentThreadCount() bool` + +HasAgentThreadCount returns a boolean if a field has been set. + +### GetDbdAgentQueueSize + +`func (o *V0036DiagStatistics) GetDbdAgentQueueSize() int32` + +GetDbdAgentQueueSize returns the DbdAgentQueueSize field if non-nil, zero value otherwise. + +### GetDbdAgentQueueSizeOk + +`func (o *V0036DiagStatistics) GetDbdAgentQueueSizeOk() (*int32, bool)` + +GetDbdAgentQueueSizeOk returns a tuple with the DbdAgentQueueSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDbdAgentQueueSize + +`func (o *V0036DiagStatistics) SetDbdAgentQueueSize(v int32)` + +SetDbdAgentQueueSize sets DbdAgentQueueSize field to given value. + +### HasDbdAgentQueueSize + +`func (o *V0036DiagStatistics) HasDbdAgentQueueSize() bool` + +HasDbdAgentQueueSize returns a boolean if a field has been set. + +### GetGettimeofdayLatency + +`func (o *V0036DiagStatistics) GetGettimeofdayLatency() int32` + +GetGettimeofdayLatency returns the GettimeofdayLatency field if non-nil, zero value otherwise. + +### GetGettimeofdayLatencyOk + +`func (o *V0036DiagStatistics) GetGettimeofdayLatencyOk() (*int32, bool)` + +GetGettimeofdayLatencyOk returns a tuple with the GettimeofdayLatency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGettimeofdayLatency + +`func (o *V0036DiagStatistics) SetGettimeofdayLatency(v int32)` + +SetGettimeofdayLatency sets GettimeofdayLatency field to given value. + +### HasGettimeofdayLatency + +`func (o *V0036DiagStatistics) HasGettimeofdayLatency() bool` + +HasGettimeofdayLatency returns a boolean if a field has been set. + +### GetScheduleCycleMax + +`func (o *V0036DiagStatistics) GetScheduleCycleMax() int32` + +GetScheduleCycleMax returns the ScheduleCycleMax field if non-nil, zero value otherwise. + +### GetScheduleCycleMaxOk + +`func (o *V0036DiagStatistics) GetScheduleCycleMaxOk() (*int32, bool)` + +GetScheduleCycleMaxOk returns a tuple with the ScheduleCycleMax field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCycleMax + +`func (o *V0036DiagStatistics) SetScheduleCycleMax(v int32)` + +SetScheduleCycleMax sets ScheduleCycleMax field to given value. + +### HasScheduleCycleMax + +`func (o *V0036DiagStatistics) HasScheduleCycleMax() bool` + +HasScheduleCycleMax returns a boolean if a field has been set. + +### GetScheduleCycleLast + +`func (o *V0036DiagStatistics) GetScheduleCycleLast() int32` + +GetScheduleCycleLast returns the ScheduleCycleLast field if non-nil, zero value otherwise. + +### GetScheduleCycleLastOk + +`func (o *V0036DiagStatistics) GetScheduleCycleLastOk() (*int32, bool)` + +GetScheduleCycleLastOk returns a tuple with the ScheduleCycleLast field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCycleLast + +`func (o *V0036DiagStatistics) SetScheduleCycleLast(v int32)` + +SetScheduleCycleLast sets ScheduleCycleLast field to given value. + +### HasScheduleCycleLast + +`func (o *V0036DiagStatistics) HasScheduleCycleLast() bool` + +HasScheduleCycleLast returns a boolean if a field has been set. + +### GetScheduleCycleTotal + +`func (o *V0036DiagStatistics) GetScheduleCycleTotal() int32` + +GetScheduleCycleTotal returns the ScheduleCycleTotal field if non-nil, zero value otherwise. + +### GetScheduleCycleTotalOk + +`func (o *V0036DiagStatistics) GetScheduleCycleTotalOk() (*int32, bool)` + +GetScheduleCycleTotalOk returns a tuple with the ScheduleCycleTotal field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCycleTotal + +`func (o *V0036DiagStatistics) SetScheduleCycleTotal(v int32)` + +SetScheduleCycleTotal sets ScheduleCycleTotal field to given value. + +### HasScheduleCycleTotal + +`func (o *V0036DiagStatistics) HasScheduleCycleTotal() bool` + +HasScheduleCycleTotal returns a boolean if a field has been set. + +### GetScheduleCycleMean + +`func (o *V0036DiagStatistics) GetScheduleCycleMean() int32` + +GetScheduleCycleMean returns the ScheduleCycleMean field if non-nil, zero value otherwise. + +### GetScheduleCycleMeanOk + +`func (o *V0036DiagStatistics) GetScheduleCycleMeanOk() (*int32, bool)` + +GetScheduleCycleMeanOk returns a tuple with the ScheduleCycleMean field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCycleMean + +`func (o *V0036DiagStatistics) SetScheduleCycleMean(v int32)` + +SetScheduleCycleMean sets ScheduleCycleMean field to given value. + +### HasScheduleCycleMean + +`func (o *V0036DiagStatistics) HasScheduleCycleMean() bool` + +HasScheduleCycleMean returns a boolean if a field has been set. + +### GetScheduleCycleMeanDepth + +`func (o *V0036DiagStatistics) GetScheduleCycleMeanDepth() int32` + +GetScheduleCycleMeanDepth returns the ScheduleCycleMeanDepth field if non-nil, zero value otherwise. + +### GetScheduleCycleMeanDepthOk + +`func (o *V0036DiagStatistics) GetScheduleCycleMeanDepthOk() (*int32, bool)` + +GetScheduleCycleMeanDepthOk returns a tuple with the ScheduleCycleMeanDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCycleMeanDepth + +`func (o *V0036DiagStatistics) SetScheduleCycleMeanDepth(v int32)` + +SetScheduleCycleMeanDepth sets ScheduleCycleMeanDepth field to given value. + +### HasScheduleCycleMeanDepth + +`func (o *V0036DiagStatistics) HasScheduleCycleMeanDepth() bool` + +HasScheduleCycleMeanDepth returns a boolean if a field has been set. + +### GetScheduleCyclePerMinute + +`func (o *V0036DiagStatistics) GetScheduleCyclePerMinute() int32` + +GetScheduleCyclePerMinute returns the ScheduleCyclePerMinute field if non-nil, zero value otherwise. + +### GetScheduleCyclePerMinuteOk + +`func (o *V0036DiagStatistics) GetScheduleCyclePerMinuteOk() (*int32, bool)` + +GetScheduleCyclePerMinuteOk returns a tuple with the ScheduleCyclePerMinute field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleCyclePerMinute + +`func (o *V0036DiagStatistics) SetScheduleCyclePerMinute(v int32)` + +SetScheduleCyclePerMinute sets ScheduleCyclePerMinute field to given value. + +### HasScheduleCyclePerMinute + +`func (o *V0036DiagStatistics) HasScheduleCyclePerMinute() bool` + +HasScheduleCyclePerMinute returns a boolean if a field has been set. + +### GetScheduleQueueLength + +`func (o *V0036DiagStatistics) GetScheduleQueueLength() int32` + +GetScheduleQueueLength returns the ScheduleQueueLength field if non-nil, zero value otherwise. + +### GetScheduleQueueLengthOk + +`func (o *V0036DiagStatistics) GetScheduleQueueLengthOk() (*int32, bool)` + +GetScheduleQueueLengthOk returns a tuple with the ScheduleQueueLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleQueueLength + +`func (o *V0036DiagStatistics) SetScheduleQueueLength(v int32)` + +SetScheduleQueueLength sets ScheduleQueueLength field to given value. + +### HasScheduleQueueLength + +`func (o *V0036DiagStatistics) HasScheduleQueueLength() bool` + +HasScheduleQueueLength returns a boolean if a field has been set. + +### GetJobsSubmitted + +`func (o *V0036DiagStatistics) GetJobsSubmitted() int32` + +GetJobsSubmitted returns the JobsSubmitted field if non-nil, zero value otherwise. + +### GetJobsSubmittedOk + +`func (o *V0036DiagStatistics) GetJobsSubmittedOk() (*int32, bool)` + +GetJobsSubmittedOk returns a tuple with the JobsSubmitted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsSubmitted + +`func (o *V0036DiagStatistics) SetJobsSubmitted(v int32)` + +SetJobsSubmitted sets JobsSubmitted field to given value. + +### HasJobsSubmitted + +`func (o *V0036DiagStatistics) HasJobsSubmitted() bool` + +HasJobsSubmitted returns a boolean if a field has been set. + +### GetJobsStarted + +`func (o *V0036DiagStatistics) GetJobsStarted() int32` + +GetJobsStarted returns the JobsStarted field if non-nil, zero value otherwise. + +### GetJobsStartedOk + +`func (o *V0036DiagStatistics) GetJobsStartedOk() (*int32, bool)` + +GetJobsStartedOk returns a tuple with the JobsStarted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsStarted + +`func (o *V0036DiagStatistics) SetJobsStarted(v int32)` + +SetJobsStarted sets JobsStarted field to given value. + +### HasJobsStarted + +`func (o *V0036DiagStatistics) HasJobsStarted() bool` + +HasJobsStarted returns a boolean if a field has been set. + +### GetJobsCompleted + +`func (o *V0036DiagStatistics) GetJobsCompleted() int32` + +GetJobsCompleted returns the JobsCompleted field if non-nil, zero value otherwise. + +### GetJobsCompletedOk + +`func (o *V0036DiagStatistics) GetJobsCompletedOk() (*int32, bool)` + +GetJobsCompletedOk returns a tuple with the JobsCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsCompleted + +`func (o *V0036DiagStatistics) SetJobsCompleted(v int32)` + +SetJobsCompleted sets JobsCompleted field to given value. + +### HasJobsCompleted + +`func (o *V0036DiagStatistics) HasJobsCompleted() bool` + +HasJobsCompleted returns a boolean if a field has been set. + +### GetJobsCanceled + +`func (o *V0036DiagStatistics) GetJobsCanceled() int32` + +GetJobsCanceled returns the JobsCanceled field if non-nil, zero value otherwise. + +### GetJobsCanceledOk + +`func (o *V0036DiagStatistics) GetJobsCanceledOk() (*int32, bool)` + +GetJobsCanceledOk returns a tuple with the JobsCanceled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsCanceled + +`func (o *V0036DiagStatistics) SetJobsCanceled(v int32)` + +SetJobsCanceled sets JobsCanceled field to given value. + +### HasJobsCanceled + +`func (o *V0036DiagStatistics) HasJobsCanceled() bool` + +HasJobsCanceled returns a boolean if a field has been set. + +### GetJobsFailed + +`func (o *V0036DiagStatistics) GetJobsFailed() int32` + +GetJobsFailed returns the JobsFailed field if non-nil, zero value otherwise. + +### GetJobsFailedOk + +`func (o *V0036DiagStatistics) GetJobsFailedOk() (*int32, bool)` + +GetJobsFailedOk returns a tuple with the JobsFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsFailed + +`func (o *V0036DiagStatistics) SetJobsFailed(v int32)` + +SetJobsFailed sets JobsFailed field to given value. + +### HasJobsFailed + +`func (o *V0036DiagStatistics) HasJobsFailed() bool` + +HasJobsFailed returns a boolean if a field has been set. + +### GetJobsPending + +`func (o *V0036DiagStatistics) GetJobsPending() int32` + +GetJobsPending returns the JobsPending field if non-nil, zero value otherwise. + +### GetJobsPendingOk + +`func (o *V0036DiagStatistics) GetJobsPendingOk() (*int32, bool)` + +GetJobsPendingOk returns a tuple with the JobsPending field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsPending + +`func (o *V0036DiagStatistics) SetJobsPending(v int32)` + +SetJobsPending sets JobsPending field to given value. + +### HasJobsPending + +`func (o *V0036DiagStatistics) HasJobsPending() bool` + +HasJobsPending returns a boolean if a field has been set. + +### GetJobsRunning + +`func (o *V0036DiagStatistics) GetJobsRunning() int32` + +GetJobsRunning returns the JobsRunning field if non-nil, zero value otherwise. + +### GetJobsRunningOk + +`func (o *V0036DiagStatistics) GetJobsRunningOk() (*int32, bool)` + +GetJobsRunningOk returns a tuple with the JobsRunning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobsRunning + +`func (o *V0036DiagStatistics) SetJobsRunning(v int32)` + +SetJobsRunning sets JobsRunning field to given value. + +### HasJobsRunning + +`func (o *V0036DiagStatistics) HasJobsRunning() bool` + +HasJobsRunning returns a boolean if a field has been set. + +### GetJobStatesTs + +`func (o *V0036DiagStatistics) GetJobStatesTs() int32` + +GetJobStatesTs returns the JobStatesTs field if non-nil, zero value otherwise. + +### GetJobStatesTsOk + +`func (o *V0036DiagStatistics) GetJobStatesTsOk() (*int32, bool)` + +GetJobStatesTsOk returns a tuple with the JobStatesTs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobStatesTs + +`func (o *V0036DiagStatistics) SetJobStatesTs(v int32)` + +SetJobStatesTs sets JobStatesTs field to given value. + +### HasJobStatesTs + +`func (o *V0036DiagStatistics) HasJobStatesTs() bool` + +HasJobStatesTs returns a boolean if a field has been set. + +### GetBfBackfilledJobs + +`func (o *V0036DiagStatistics) GetBfBackfilledJobs() int32` + +GetBfBackfilledJobs returns the BfBackfilledJobs field if non-nil, zero value otherwise. + +### GetBfBackfilledJobsOk + +`func (o *V0036DiagStatistics) GetBfBackfilledJobsOk() (*int32, bool)` + +GetBfBackfilledJobsOk returns a tuple with the BfBackfilledJobs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfBackfilledJobs + +`func (o *V0036DiagStatistics) SetBfBackfilledJobs(v int32)` + +SetBfBackfilledJobs sets BfBackfilledJobs field to given value. + +### HasBfBackfilledJobs + +`func (o *V0036DiagStatistics) HasBfBackfilledJobs() bool` + +HasBfBackfilledJobs returns a boolean if a field has been set. + +### GetBfLastBackfilledJobs + +`func (o *V0036DiagStatistics) GetBfLastBackfilledJobs() int32` + +GetBfLastBackfilledJobs returns the BfLastBackfilledJobs field if non-nil, zero value otherwise. + +### GetBfLastBackfilledJobsOk + +`func (o *V0036DiagStatistics) GetBfLastBackfilledJobsOk() (*int32, bool)` + +GetBfLastBackfilledJobsOk returns a tuple with the BfLastBackfilledJobs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfLastBackfilledJobs + +`func (o *V0036DiagStatistics) SetBfLastBackfilledJobs(v int32)` + +SetBfLastBackfilledJobs sets BfLastBackfilledJobs field to given value. + +### HasBfLastBackfilledJobs + +`func (o *V0036DiagStatistics) HasBfLastBackfilledJobs() bool` + +HasBfLastBackfilledJobs returns a boolean if a field has been set. + +### GetBfBackfilledHetJobs + +`func (o *V0036DiagStatistics) GetBfBackfilledHetJobs() int32` + +GetBfBackfilledHetJobs returns the BfBackfilledHetJobs field if non-nil, zero value otherwise. + +### GetBfBackfilledHetJobsOk + +`func (o *V0036DiagStatistics) GetBfBackfilledHetJobsOk() (*int32, bool)` + +GetBfBackfilledHetJobsOk returns a tuple with the BfBackfilledHetJobs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfBackfilledHetJobs + +`func (o *V0036DiagStatistics) SetBfBackfilledHetJobs(v int32)` + +SetBfBackfilledHetJobs sets BfBackfilledHetJobs field to given value. + +### HasBfBackfilledHetJobs + +`func (o *V0036DiagStatistics) HasBfBackfilledHetJobs() bool` + +HasBfBackfilledHetJobs returns a boolean if a field has been set. + +### GetBfCycleCounter + +`func (o *V0036DiagStatistics) GetBfCycleCounter() int32` + +GetBfCycleCounter returns the BfCycleCounter field if non-nil, zero value otherwise. + +### GetBfCycleCounterOk + +`func (o *V0036DiagStatistics) GetBfCycleCounterOk() (*int32, bool)` + +GetBfCycleCounterOk returns a tuple with the BfCycleCounter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfCycleCounter + +`func (o *V0036DiagStatistics) SetBfCycleCounter(v int32)` + +SetBfCycleCounter sets BfCycleCounter field to given value. + +### HasBfCycleCounter + +`func (o *V0036DiagStatistics) HasBfCycleCounter() bool` + +HasBfCycleCounter returns a boolean if a field has been set. + +### GetBfCycleMean + +`func (o *V0036DiagStatistics) GetBfCycleMean() int32` + +GetBfCycleMean returns the BfCycleMean field if non-nil, zero value otherwise. + +### GetBfCycleMeanOk + +`func (o *V0036DiagStatistics) GetBfCycleMeanOk() (*int32, bool)` + +GetBfCycleMeanOk returns a tuple with the BfCycleMean field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfCycleMean + +`func (o *V0036DiagStatistics) SetBfCycleMean(v int32)` + +SetBfCycleMean sets BfCycleMean field to given value. + +### HasBfCycleMean + +`func (o *V0036DiagStatistics) HasBfCycleMean() bool` + +HasBfCycleMean returns a boolean if a field has been set. + +### GetBfCycleMax + +`func (o *V0036DiagStatistics) GetBfCycleMax() int32` + +GetBfCycleMax returns the BfCycleMax field if non-nil, zero value otherwise. + +### GetBfCycleMaxOk + +`func (o *V0036DiagStatistics) GetBfCycleMaxOk() (*int32, bool)` + +GetBfCycleMaxOk returns a tuple with the BfCycleMax field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfCycleMax + +`func (o *V0036DiagStatistics) SetBfCycleMax(v int32)` + +SetBfCycleMax sets BfCycleMax field to given value. + +### HasBfCycleMax + +`func (o *V0036DiagStatistics) HasBfCycleMax() bool` + +HasBfCycleMax returns a boolean if a field has been set. + +### GetBfLastDepth + +`func (o *V0036DiagStatistics) GetBfLastDepth() int32` + +GetBfLastDepth returns the BfLastDepth field if non-nil, zero value otherwise. + +### GetBfLastDepthOk + +`func (o *V0036DiagStatistics) GetBfLastDepthOk() (*int32, bool)` + +GetBfLastDepthOk returns a tuple with the BfLastDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfLastDepth + +`func (o *V0036DiagStatistics) SetBfLastDepth(v int32)` + +SetBfLastDepth sets BfLastDepth field to given value. + +### HasBfLastDepth + +`func (o *V0036DiagStatistics) HasBfLastDepth() bool` + +HasBfLastDepth returns a boolean if a field has been set. + +### GetBfLastDepthTry + +`func (o *V0036DiagStatistics) GetBfLastDepthTry() int32` + +GetBfLastDepthTry returns the BfLastDepthTry field if non-nil, zero value otherwise. + +### GetBfLastDepthTryOk + +`func (o *V0036DiagStatistics) GetBfLastDepthTryOk() (*int32, bool)` + +GetBfLastDepthTryOk returns a tuple with the BfLastDepthTry field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfLastDepthTry + +`func (o *V0036DiagStatistics) SetBfLastDepthTry(v int32)` + +SetBfLastDepthTry sets BfLastDepthTry field to given value. + +### HasBfLastDepthTry + +`func (o *V0036DiagStatistics) HasBfLastDepthTry() bool` + +HasBfLastDepthTry returns a boolean if a field has been set. + +### GetBfDepthMean + +`func (o *V0036DiagStatistics) GetBfDepthMean() int32` + +GetBfDepthMean returns the BfDepthMean field if non-nil, zero value otherwise. + +### GetBfDepthMeanOk + +`func (o *V0036DiagStatistics) GetBfDepthMeanOk() (*int32, bool)` + +GetBfDepthMeanOk returns a tuple with the BfDepthMean field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfDepthMean + +`func (o *V0036DiagStatistics) SetBfDepthMean(v int32)` + +SetBfDepthMean sets BfDepthMean field to given value. + +### HasBfDepthMean + +`func (o *V0036DiagStatistics) HasBfDepthMean() bool` + +HasBfDepthMean returns a boolean if a field has been set. + +### GetBfDepthMeanTry + +`func (o *V0036DiagStatistics) GetBfDepthMeanTry() int32` + +GetBfDepthMeanTry returns the BfDepthMeanTry field if non-nil, zero value otherwise. + +### GetBfDepthMeanTryOk + +`func (o *V0036DiagStatistics) GetBfDepthMeanTryOk() (*int32, bool)` + +GetBfDepthMeanTryOk returns a tuple with the BfDepthMeanTry field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfDepthMeanTry + +`func (o *V0036DiagStatistics) SetBfDepthMeanTry(v int32)` + +SetBfDepthMeanTry sets BfDepthMeanTry field to given value. + +### HasBfDepthMeanTry + +`func (o *V0036DiagStatistics) HasBfDepthMeanTry() bool` + +HasBfDepthMeanTry returns a boolean if a field has been set. + +### GetBfCycleLast + +`func (o *V0036DiagStatistics) GetBfCycleLast() int32` + +GetBfCycleLast returns the BfCycleLast field if non-nil, zero value otherwise. + +### GetBfCycleLastOk + +`func (o *V0036DiagStatistics) GetBfCycleLastOk() (*int32, bool)` + +GetBfCycleLastOk returns a tuple with the BfCycleLast field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfCycleLast + +`func (o *V0036DiagStatistics) SetBfCycleLast(v int32)` + +SetBfCycleLast sets BfCycleLast field to given value. + +### HasBfCycleLast + +`func (o *V0036DiagStatistics) HasBfCycleLast() bool` + +HasBfCycleLast returns a boolean if a field has been set. + +### GetBfQueueLen + +`func (o *V0036DiagStatistics) GetBfQueueLen() int32` + +GetBfQueueLen returns the BfQueueLen field if non-nil, zero value otherwise. + +### GetBfQueueLenOk + +`func (o *V0036DiagStatistics) GetBfQueueLenOk() (*int32, bool)` + +GetBfQueueLenOk returns a tuple with the BfQueueLen field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfQueueLen + +`func (o *V0036DiagStatistics) SetBfQueueLen(v int32)` + +SetBfQueueLen sets BfQueueLen field to given value. + +### HasBfQueueLen + +`func (o *V0036DiagStatistics) HasBfQueueLen() bool` + +HasBfQueueLen returns a boolean if a field has been set. + +### GetBfQueueLenMean + +`func (o *V0036DiagStatistics) GetBfQueueLenMean() int32` + +GetBfQueueLenMean returns the BfQueueLenMean field if non-nil, zero value otherwise. + +### GetBfQueueLenMeanOk + +`func (o *V0036DiagStatistics) GetBfQueueLenMeanOk() (*int32, bool)` + +GetBfQueueLenMeanOk returns a tuple with the BfQueueLenMean field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfQueueLenMean + +`func (o *V0036DiagStatistics) SetBfQueueLenMean(v int32)` + +SetBfQueueLenMean sets BfQueueLenMean field to given value. + +### HasBfQueueLenMean + +`func (o *V0036DiagStatistics) HasBfQueueLenMean() bool` + +HasBfQueueLenMean returns a boolean if a field has been set. + +### GetBfWhenLastCycle + +`func (o *V0036DiagStatistics) GetBfWhenLastCycle() int32` + +GetBfWhenLastCycle returns the BfWhenLastCycle field if non-nil, zero value otherwise. + +### GetBfWhenLastCycleOk + +`func (o *V0036DiagStatistics) GetBfWhenLastCycleOk() (*int32, bool)` + +GetBfWhenLastCycleOk returns a tuple with the BfWhenLastCycle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfWhenLastCycle + +`func (o *V0036DiagStatistics) SetBfWhenLastCycle(v int32)` + +SetBfWhenLastCycle sets BfWhenLastCycle field to given value. + +### HasBfWhenLastCycle + +`func (o *V0036DiagStatistics) HasBfWhenLastCycle() bool` + +HasBfWhenLastCycle returns a boolean if a field has been set. + +### GetBfActive + +`func (o *V0036DiagStatistics) GetBfActive() bool` + +GetBfActive returns the BfActive field if non-nil, zero value otherwise. + +### GetBfActiveOk + +`func (o *V0036DiagStatistics) GetBfActiveOk() (*bool, bool)` + +GetBfActiveOk returns a tuple with the BfActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBfActive + +`func (o *V0036DiagStatistics) SetBfActive(v bool)` + +SetBfActive sets BfActive field to given value. + +### HasBfActive + +`func (o *V0036DiagStatistics) HasBfActive() bool` + +HasBfActive returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Error.md b/docs/V0036Error.md new file mode 100644 index 0000000..a0e6682 --- /dev/null +++ b/docs/V0036Error.md @@ -0,0 +1,82 @@ +# V0036Error + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Error** | Pointer to **string** | error message | [optional] +**Errno** | Pointer to **int32** | error number | [optional] + +## Methods + +### NewV0036Error + +`func NewV0036Error() *V0036Error` + +NewV0036Error instantiates a new V0036Error 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 + +### NewV0036ErrorWithDefaults + +`func NewV0036ErrorWithDefaults() *V0036Error` + +NewV0036ErrorWithDefaults instantiates a new V0036Error 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 + +### GetError + +`func (o *V0036Error) GetError() string` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *V0036Error) GetErrorOk() (*string, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *V0036Error) SetError(v string)` + +SetError sets Error field to given value. + +### HasError + +`func (o *V0036Error) HasError() bool` + +HasError returns a boolean if a field has been set. + +### GetErrno + +`func (o *V0036Error) GetErrno() int32` + +GetErrno returns the Errno field if non-nil, zero value otherwise. + +### GetErrnoOk + +`func (o *V0036Error) GetErrnoOk() (*int32, bool)` + +GetErrnoOk returns a tuple with the Errno field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrno + +`func (o *V0036Error) SetErrno(v int32)` + +SetErrno sets Errno field to given value. + +### HasErrno + +`func (o *V0036Error) HasErrno() bool` + +HasErrno returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobProperties.md b/docs/V0036JobProperties.md new file mode 100644 index 0000000..1789471 --- /dev/null +++ b/docs/V0036JobProperties.md @@ -0,0 +1,1871 @@ +# V0036JobProperties + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Account** | Pointer to **string** | Charge resources used by this job to specified account. | [optional] +**AccountGatherFreqency** | Pointer to **string** | Define the job accounting and profiling sampling intervals. | [optional] +**Argv** | Pointer to **[]string** | Arguments to the script. | [optional] +**Array** | Pointer to **string** | Submit a job array, multiple jobs to be executed with identical parameters. The indexes specification identifies what array index values should be used. | [optional] +**BatchFeatures** | Pointer to **string** | features required for batch script's node | [optional] +**BeginTime** | Pointer to **int64** | Submit the batch script to the Slurm controller immediately, like normal, but tell the controller to defer the allocation of the job until the specified time. | [optional] +**BurstBuffer** | Pointer to **string** | Burst buffer specification. | [optional] +**ClusterConstraints** | Pointer to **string** | Specifies features that a federated cluster must have to have a sibling job submitted to it. | [optional] +**Comment** | Pointer to **string** | An arbitrary comment. | [optional] +**Constraints** | Pointer to **string** | node features required by job. | [optional] +**CoreSpecification** | Pointer to **int32** | Count of specialized threads per node reserved by the job for system operations and not used by the application. | [optional] +**CoresPerSocket** | Pointer to **int32** | Restrict node selection to nodes with at least the specified number of cores per socket. | [optional] +**CpuBinding** | Pointer to **string** | Cpu binding | [optional] +**CpuBindingHint** | Pointer to **string** | Cpu binding hint | [optional] +**CpuFrequency** | Pointer to **string** | Request that job steps initiated by srun commands inside this sbatch script be run at some requested frequency if possible, on the CPUs selected for the step on the compute node(s). | [optional] +**CpusPerGpu** | Pointer to **string** | Number of CPUs requested per allocated GPU. | [optional] +**CpusPerTask** | Pointer to **int32** | Advise the Slurm controller that ensuing job steps will require ncpus number of processors per task. | [optional] +**CurrentWorkingDirectory** | Pointer to **string** | Instruct Slurm to connect the batch script's standard output directly to the file name. | [optional] +**Deadline** | Pointer to **string** | Remove the job if no ending is possible before this deadline (start > (deadline - time[-min])). | [optional] +**DelayBoot** | Pointer to **int32** | Do not reboot nodes in order to satisfied this job's feature specification if the job has been eligible to run for less than this time period. | [optional] +**Dependency** | Pointer to **string** | Defer the start of this job until the specified dependencies have been satisfied completed. | [optional] +**Distribution** | Pointer to **string** | Specify alternate distribution methods for remote processes. | [optional] +**Environment** | **map[string]interface{}** | Dictionary of environment entries. | +**Exclusive** | Pointer to **string** | The job allocation can share nodes just other users with the \"user\" option or with the \"mcs\" option). | [optional] +**GetUserEnvironment** | Pointer to **bool** | Load new login environment for user on job node. | [optional] +**Gres** | Pointer to **string** | Specifies a comma delimited list of generic consumable resources. | [optional] +**GresFlags** | Pointer to **string** | Specify generic resource task binding options. | [optional] +**GpuBinding** | Pointer to **string** | Requested binding of tasks to GPU. | [optional] +**GpuFrequency** | Pointer to **string** | Requested GPU frequency. | [optional] +**Gpus** | Pointer to **string** | GPUs per job. | [optional] +**GpusPerNode** | Pointer to **string** | GPUs per node. | [optional] +**GpusPerSocket** | Pointer to **string** | GPUs per socket. | [optional] +**GpusPerTask** | Pointer to **string** | GPUs per task. | [optional] +**Hold** | Pointer to **bool** | Specify the job is to be submitted in a held state (priority of zero). | [optional] +**KillOnInvalidDependency** | Pointer to **bool** | If a job has an invalid dependency, then Slurm is to terminate it. | [optional] +**Licenses** | Pointer to **string** | Specification of licenses (or other resources available on all nodes of the cluster) which must be allocated to this job. | [optional] +**MailType** | Pointer to **string** | Notify user by email when certain event types occur. | [optional] +**MailUser** | Pointer to **string** | User to receive email notification of state changes as defined by mail_type. | [optional] +**McsLabel** | Pointer to **string** | This parameter is a group among the groups of the user. | [optional] +**MemoryBinding** | Pointer to **string** | Bind tasks to memory. | [optional] +**MemoryPerCpu** | Pointer to **int32** | Minimum real memory per cpu (MB). | [optional] +**MemoryPerGpu** | Pointer to **int32** | Minimum memory required per allocated GPU. | [optional] +**MemoryPerNode** | Pointer to **int32** | Minimum real memory per node (MB). | [optional] +**MinimumCpusPerNode** | Pointer to **int32** | Minimum number of CPUs per node. | [optional] +**MinimumNodes** | Pointer to **bool** | If a range of node counts is given, prefer the smaller count. | [optional] +**Name** | Pointer to **string** | Specify a name for the job allocation. | [optional] +**Nice** | Pointer to **string** | Run the job with an adjusted scheduling priority within Slurm. | [optional] +**NoKill** | Pointer to **bool** | Do not automatically terminate a job if one of the nodes it has been allocated fails. | [optional] +**Nodes** | Pointer to **[]int32** | Request that a minimum of minnodes nodes and a maximum node count. | [optional] +**OpenMode** | Pointer to **string** | Open the output and error files using append or truncate mode as specified. | [optional] [default to "append"] +**Partition** | Pointer to **string** | Request a specific partition for the resource allocation. | [optional] +**Priority** | Pointer to **string** | Request a specific job priority. | [optional] +**Qos** | Pointer to **string** | Request a quality of service for the job. | [optional] +**Requeue** | Pointer to **bool** | Specifies that the batch job should eligible to being requeue. | [optional] +**Reservation** | Pointer to **string** | Allocate resources for the job from the named reservation. | [optional] +**Signal** | Pointer to **string** | When a job is within sig_time seconds of its end time, send it the signal sig_num. | [optional] +**SocketsPerNode** | Pointer to **int32** | Restrict node selection to nodes with at least the specified number of sockets. | [optional] +**SpreadJob** | Pointer to **bool** | Spread the job allocation over as many nodes as possible and attempt to evenly distribute tasks across the allocated nodes. | [optional] +**StandardError** | Pointer to **string** | Instruct Slurm to connect the batch script's standard error directly to the file name. | [optional] +**StandardIn** | Pointer to **string** | Instruct Slurm to connect the batch script's standard input directly to the file name specified. | [optional] +**StandardOut** | Pointer to **string** | Instruct Slurm to connect the batch script's standard output directly to the file name. | [optional] +**Tasks** | Pointer to **int32** | Advises the Slurm controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources. | [optional] +**TasksPerCore** | Pointer to **int32** | Request the maximum ntasks be invoked on each core. | [optional] +**TasksPerNode** | Pointer to **int32** | Request the maximum ntasks be invoked on each node. | [optional] +**TasksPerSocket** | Pointer to **int32** | Request the maximum ntasks be invoked on each socket. | [optional] +**ThreadSpecification** | Pointer to **int32** | Count of specialized threads per node reserved by the job for system operations and not used by the application. | [optional] +**ThreadsPerCore** | Pointer to **int32** | Restrict node selection to nodes with at least the specified number of threads per core. | [optional] +**TimeLimit** | Pointer to **int32** | Step time limit. | [optional] +**TimeMinimum** | Pointer to **int32** | Minimum run time in minutes. | [optional] +**WaitAllNodes** | Pointer to **bool** | Do not begin execution until all nodes are ready for use. | [optional] +**Wckey** | Pointer to **string** | Specify wckey to be used with job. | [optional] + +## Methods + +### NewV0036JobProperties + +`func NewV0036JobProperties(environment map[string]interface{}, ) *V0036JobProperties` + +NewV0036JobProperties instantiates a new V0036JobProperties 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 + +### NewV0036JobPropertiesWithDefaults + +`func NewV0036JobPropertiesWithDefaults() *V0036JobProperties` + +NewV0036JobPropertiesWithDefaults instantiates a new V0036JobProperties 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 + +### GetAccount + +`func (o *V0036JobProperties) GetAccount() string` + +GetAccount returns the Account field if non-nil, zero value otherwise. + +### GetAccountOk + +`func (o *V0036JobProperties) GetAccountOk() (*string, bool)` + +GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccount + +`func (o *V0036JobProperties) SetAccount(v string)` + +SetAccount sets Account field to given value. + +### HasAccount + +`func (o *V0036JobProperties) HasAccount() bool` + +HasAccount returns a boolean if a field has been set. + +### GetAccountGatherFreqency + +`func (o *V0036JobProperties) GetAccountGatherFreqency() string` + +GetAccountGatherFreqency returns the AccountGatherFreqency field if non-nil, zero value otherwise. + +### GetAccountGatherFreqencyOk + +`func (o *V0036JobProperties) GetAccountGatherFreqencyOk() (*string, bool)` + +GetAccountGatherFreqencyOk returns a tuple with the AccountGatherFreqency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccountGatherFreqency + +`func (o *V0036JobProperties) SetAccountGatherFreqency(v string)` + +SetAccountGatherFreqency sets AccountGatherFreqency field to given value. + +### HasAccountGatherFreqency + +`func (o *V0036JobProperties) HasAccountGatherFreqency() bool` + +HasAccountGatherFreqency returns a boolean if a field has been set. + +### GetArgv + +`func (o *V0036JobProperties) GetArgv() []string` + +GetArgv returns the Argv field if non-nil, zero value otherwise. + +### GetArgvOk + +`func (o *V0036JobProperties) GetArgvOk() (*[]string, bool)` + +GetArgvOk returns a tuple with the Argv field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArgv + +`func (o *V0036JobProperties) SetArgv(v []string)` + +SetArgv sets Argv field to given value. + +### HasArgv + +`func (o *V0036JobProperties) HasArgv() bool` + +HasArgv returns a boolean if a field has been set. + +### GetArray + +`func (o *V0036JobProperties) GetArray() string` + +GetArray returns the Array field if non-nil, zero value otherwise. + +### GetArrayOk + +`func (o *V0036JobProperties) GetArrayOk() (*string, bool)` + +GetArrayOk returns a tuple with the Array field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArray + +`func (o *V0036JobProperties) SetArray(v string)` + +SetArray sets Array field to given value. + +### HasArray + +`func (o *V0036JobProperties) HasArray() bool` + +HasArray returns a boolean if a field has been set. + +### GetBatchFeatures + +`func (o *V0036JobProperties) GetBatchFeatures() string` + +GetBatchFeatures returns the BatchFeatures field if non-nil, zero value otherwise. + +### GetBatchFeaturesOk + +`func (o *V0036JobProperties) GetBatchFeaturesOk() (*string, bool)` + +GetBatchFeaturesOk returns a tuple with the BatchFeatures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBatchFeatures + +`func (o *V0036JobProperties) SetBatchFeatures(v string)` + +SetBatchFeatures sets BatchFeatures field to given value. + +### HasBatchFeatures + +`func (o *V0036JobProperties) HasBatchFeatures() bool` + +HasBatchFeatures returns a boolean if a field has been set. + +### GetBeginTime + +`func (o *V0036JobProperties) GetBeginTime() int64` + +GetBeginTime returns the BeginTime field if non-nil, zero value otherwise. + +### GetBeginTimeOk + +`func (o *V0036JobProperties) GetBeginTimeOk() (*int64, bool)` + +GetBeginTimeOk returns a tuple with the BeginTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBeginTime + +`func (o *V0036JobProperties) SetBeginTime(v int64)` + +SetBeginTime sets BeginTime field to given value. + +### HasBeginTime + +`func (o *V0036JobProperties) HasBeginTime() bool` + +HasBeginTime returns a boolean if a field has been set. + +### GetBurstBuffer + +`func (o *V0036JobProperties) GetBurstBuffer() string` + +GetBurstBuffer returns the BurstBuffer field if non-nil, zero value otherwise. + +### GetBurstBufferOk + +`func (o *V0036JobProperties) GetBurstBufferOk() (*string, bool)` + +GetBurstBufferOk returns a tuple with the BurstBuffer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBurstBuffer + +`func (o *V0036JobProperties) SetBurstBuffer(v string)` + +SetBurstBuffer sets BurstBuffer field to given value. + +### HasBurstBuffer + +`func (o *V0036JobProperties) HasBurstBuffer() bool` + +HasBurstBuffer returns a boolean if a field has been set. + +### GetClusterConstraints + +`func (o *V0036JobProperties) GetClusterConstraints() string` + +GetClusterConstraints returns the ClusterConstraints field if non-nil, zero value otherwise. + +### GetClusterConstraintsOk + +`func (o *V0036JobProperties) GetClusterConstraintsOk() (*string, bool)` + +GetClusterConstraintsOk returns a tuple with the ClusterConstraints field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClusterConstraints + +`func (o *V0036JobProperties) SetClusterConstraints(v string)` + +SetClusterConstraints sets ClusterConstraints field to given value. + +### HasClusterConstraints + +`func (o *V0036JobProperties) HasClusterConstraints() bool` + +HasClusterConstraints returns a boolean if a field has been set. + +### GetComment + +`func (o *V0036JobProperties) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *V0036JobProperties) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *V0036JobProperties) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *V0036JobProperties) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetConstraints + +`func (o *V0036JobProperties) GetConstraints() string` + +GetConstraints returns the Constraints field if non-nil, zero value otherwise. + +### GetConstraintsOk + +`func (o *V0036JobProperties) GetConstraintsOk() (*string, bool)` + +GetConstraintsOk returns a tuple with the Constraints field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConstraints + +`func (o *V0036JobProperties) SetConstraints(v string)` + +SetConstraints sets Constraints field to given value. + +### HasConstraints + +`func (o *V0036JobProperties) HasConstraints() bool` + +HasConstraints returns a boolean if a field has been set. + +### GetCoreSpecification + +`func (o *V0036JobProperties) GetCoreSpecification() int32` + +GetCoreSpecification returns the CoreSpecification field if non-nil, zero value otherwise. + +### GetCoreSpecificationOk + +`func (o *V0036JobProperties) GetCoreSpecificationOk() (*int32, bool)` + +GetCoreSpecificationOk returns a tuple with the CoreSpecification field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoreSpecification + +`func (o *V0036JobProperties) SetCoreSpecification(v int32)` + +SetCoreSpecification sets CoreSpecification field to given value. + +### HasCoreSpecification + +`func (o *V0036JobProperties) HasCoreSpecification() bool` + +HasCoreSpecification returns a boolean if a field has been set. + +### GetCoresPerSocket + +`func (o *V0036JobProperties) GetCoresPerSocket() int32` + +GetCoresPerSocket returns the CoresPerSocket field if non-nil, zero value otherwise. + +### GetCoresPerSocketOk + +`func (o *V0036JobProperties) GetCoresPerSocketOk() (*int32, bool)` + +GetCoresPerSocketOk returns a tuple with the CoresPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoresPerSocket + +`func (o *V0036JobProperties) SetCoresPerSocket(v int32)` + +SetCoresPerSocket sets CoresPerSocket field to given value. + +### HasCoresPerSocket + +`func (o *V0036JobProperties) HasCoresPerSocket() bool` + +HasCoresPerSocket returns a boolean if a field has been set. + +### GetCpuBinding + +`func (o *V0036JobProperties) GetCpuBinding() string` + +GetCpuBinding returns the CpuBinding field if non-nil, zero value otherwise. + +### GetCpuBindingOk + +`func (o *V0036JobProperties) GetCpuBindingOk() (*string, bool)` + +GetCpuBindingOk returns a tuple with the CpuBinding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuBinding + +`func (o *V0036JobProperties) SetCpuBinding(v string)` + +SetCpuBinding sets CpuBinding field to given value. + +### HasCpuBinding + +`func (o *V0036JobProperties) HasCpuBinding() bool` + +HasCpuBinding returns a boolean if a field has been set. + +### GetCpuBindingHint + +`func (o *V0036JobProperties) GetCpuBindingHint() string` + +GetCpuBindingHint returns the CpuBindingHint field if non-nil, zero value otherwise. + +### GetCpuBindingHintOk + +`func (o *V0036JobProperties) GetCpuBindingHintOk() (*string, bool)` + +GetCpuBindingHintOk returns a tuple with the CpuBindingHint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuBindingHint + +`func (o *V0036JobProperties) SetCpuBindingHint(v string)` + +SetCpuBindingHint sets CpuBindingHint field to given value. + +### HasCpuBindingHint + +`func (o *V0036JobProperties) HasCpuBindingHint() bool` + +HasCpuBindingHint returns a boolean if a field has been set. + +### GetCpuFrequency + +`func (o *V0036JobProperties) GetCpuFrequency() string` + +GetCpuFrequency returns the CpuFrequency field if non-nil, zero value otherwise. + +### GetCpuFrequencyOk + +`func (o *V0036JobProperties) GetCpuFrequencyOk() (*string, bool)` + +GetCpuFrequencyOk returns a tuple with the CpuFrequency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuFrequency + +`func (o *V0036JobProperties) SetCpuFrequency(v string)` + +SetCpuFrequency sets CpuFrequency field to given value. + +### HasCpuFrequency + +`func (o *V0036JobProperties) HasCpuFrequency() bool` + +HasCpuFrequency returns a boolean if a field has been set. + +### GetCpusPerGpu + +`func (o *V0036JobProperties) GetCpusPerGpu() string` + +GetCpusPerGpu returns the CpusPerGpu field if non-nil, zero value otherwise. + +### GetCpusPerGpuOk + +`func (o *V0036JobProperties) GetCpusPerGpuOk() (*string, bool)` + +GetCpusPerGpuOk returns a tuple with the CpusPerGpu field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpusPerGpu + +`func (o *V0036JobProperties) SetCpusPerGpu(v string)` + +SetCpusPerGpu sets CpusPerGpu field to given value. + +### HasCpusPerGpu + +`func (o *V0036JobProperties) HasCpusPerGpu() bool` + +HasCpusPerGpu returns a boolean if a field has been set. + +### GetCpusPerTask + +`func (o *V0036JobProperties) GetCpusPerTask() int32` + +GetCpusPerTask returns the CpusPerTask field if non-nil, zero value otherwise. + +### GetCpusPerTaskOk + +`func (o *V0036JobProperties) GetCpusPerTaskOk() (*int32, bool)` + +GetCpusPerTaskOk returns a tuple with the CpusPerTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpusPerTask + +`func (o *V0036JobProperties) SetCpusPerTask(v int32)` + +SetCpusPerTask sets CpusPerTask field to given value. + +### HasCpusPerTask + +`func (o *V0036JobProperties) HasCpusPerTask() bool` + +HasCpusPerTask returns a boolean if a field has been set. + +### GetCurrentWorkingDirectory + +`func (o *V0036JobProperties) GetCurrentWorkingDirectory() string` + +GetCurrentWorkingDirectory returns the CurrentWorkingDirectory field if non-nil, zero value otherwise. + +### GetCurrentWorkingDirectoryOk + +`func (o *V0036JobProperties) GetCurrentWorkingDirectoryOk() (*string, bool)` + +GetCurrentWorkingDirectoryOk returns a tuple with the CurrentWorkingDirectory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCurrentWorkingDirectory + +`func (o *V0036JobProperties) SetCurrentWorkingDirectory(v string)` + +SetCurrentWorkingDirectory sets CurrentWorkingDirectory field to given value. + +### HasCurrentWorkingDirectory + +`func (o *V0036JobProperties) HasCurrentWorkingDirectory() bool` + +HasCurrentWorkingDirectory returns a boolean if a field has been set. + +### GetDeadline + +`func (o *V0036JobProperties) GetDeadline() string` + +GetDeadline returns the Deadline field if non-nil, zero value otherwise. + +### GetDeadlineOk + +`func (o *V0036JobProperties) GetDeadlineOk() (*string, bool)` + +GetDeadlineOk returns a tuple with the Deadline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeadline + +`func (o *V0036JobProperties) SetDeadline(v string)` + +SetDeadline sets Deadline field to given value. + +### HasDeadline + +`func (o *V0036JobProperties) HasDeadline() bool` + +HasDeadline returns a boolean if a field has been set. + +### GetDelayBoot + +`func (o *V0036JobProperties) GetDelayBoot() int32` + +GetDelayBoot returns the DelayBoot field if non-nil, zero value otherwise. + +### GetDelayBootOk + +`func (o *V0036JobProperties) GetDelayBootOk() (*int32, bool)` + +GetDelayBootOk returns a tuple with the DelayBoot field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDelayBoot + +`func (o *V0036JobProperties) SetDelayBoot(v int32)` + +SetDelayBoot sets DelayBoot field to given value. + +### HasDelayBoot + +`func (o *V0036JobProperties) HasDelayBoot() bool` + +HasDelayBoot returns a boolean if a field has been set. + +### GetDependency + +`func (o *V0036JobProperties) GetDependency() string` + +GetDependency returns the Dependency field if non-nil, zero value otherwise. + +### GetDependencyOk + +`func (o *V0036JobProperties) GetDependencyOk() (*string, bool)` + +GetDependencyOk returns a tuple with the Dependency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependency + +`func (o *V0036JobProperties) SetDependency(v string)` + +SetDependency sets Dependency field to given value. + +### HasDependency + +`func (o *V0036JobProperties) HasDependency() bool` + +HasDependency returns a boolean if a field has been set. + +### GetDistribution + +`func (o *V0036JobProperties) GetDistribution() string` + +GetDistribution returns the Distribution field if non-nil, zero value otherwise. + +### GetDistributionOk + +`func (o *V0036JobProperties) GetDistributionOk() (*string, bool)` + +GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistribution + +`func (o *V0036JobProperties) SetDistribution(v string)` + +SetDistribution sets Distribution field to given value. + +### HasDistribution + +`func (o *V0036JobProperties) HasDistribution() bool` + +HasDistribution returns a boolean if a field has been set. + +### GetEnvironment + +`func (o *V0036JobProperties) GetEnvironment() map[string]interface{}` + +GetEnvironment returns the Environment field if non-nil, zero value otherwise. + +### GetEnvironmentOk + +`func (o *V0036JobProperties) GetEnvironmentOk() (*map[string]interface{}, bool)` + +GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnvironment + +`func (o *V0036JobProperties) SetEnvironment(v map[string]interface{})` + +SetEnvironment sets Environment field to given value. + + +### GetExclusive + +`func (o *V0036JobProperties) GetExclusive() string` + +GetExclusive returns the Exclusive field if non-nil, zero value otherwise. + +### GetExclusiveOk + +`func (o *V0036JobProperties) GetExclusiveOk() (*string, bool)` + +GetExclusiveOk returns a tuple with the Exclusive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExclusive + +`func (o *V0036JobProperties) SetExclusive(v string)` + +SetExclusive sets Exclusive field to given value. + +### HasExclusive + +`func (o *V0036JobProperties) HasExclusive() bool` + +HasExclusive returns a boolean if a field has been set. + +### GetGetUserEnvironment + +`func (o *V0036JobProperties) GetGetUserEnvironment() bool` + +GetGetUserEnvironment returns the GetUserEnvironment field if non-nil, zero value otherwise. + +### GetGetUserEnvironmentOk + +`func (o *V0036JobProperties) GetGetUserEnvironmentOk() (*bool, bool)` + +GetGetUserEnvironmentOk returns a tuple with the GetUserEnvironment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGetUserEnvironment + +`func (o *V0036JobProperties) SetGetUserEnvironment(v bool)` + +SetGetUserEnvironment sets GetUserEnvironment field to given value. + +### HasGetUserEnvironment + +`func (o *V0036JobProperties) HasGetUserEnvironment() bool` + +HasGetUserEnvironment returns a boolean if a field has been set. + +### GetGres + +`func (o *V0036JobProperties) GetGres() string` + +GetGres returns the Gres field if non-nil, zero value otherwise. + +### GetGresOk + +`func (o *V0036JobProperties) GetGresOk() (*string, bool)` + +GetGresOk returns a tuple with the Gres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGres + +`func (o *V0036JobProperties) SetGres(v string)` + +SetGres sets Gres field to given value. + +### HasGres + +`func (o *V0036JobProperties) HasGres() bool` + +HasGres returns a boolean if a field has been set. + +### GetGresFlags + +`func (o *V0036JobProperties) GetGresFlags() string` + +GetGresFlags returns the GresFlags field if non-nil, zero value otherwise. + +### GetGresFlagsOk + +`func (o *V0036JobProperties) GetGresFlagsOk() (*string, bool)` + +GetGresFlagsOk returns a tuple with the GresFlags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGresFlags + +`func (o *V0036JobProperties) SetGresFlags(v string)` + +SetGresFlags sets GresFlags field to given value. + +### HasGresFlags + +`func (o *V0036JobProperties) HasGresFlags() bool` + +HasGresFlags returns a boolean if a field has been set. + +### GetGpuBinding + +`func (o *V0036JobProperties) GetGpuBinding() string` + +GetGpuBinding returns the GpuBinding field if non-nil, zero value otherwise. + +### GetGpuBindingOk + +`func (o *V0036JobProperties) GetGpuBindingOk() (*string, bool)` + +GetGpuBindingOk returns a tuple with the GpuBinding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuBinding + +`func (o *V0036JobProperties) SetGpuBinding(v string)` + +SetGpuBinding sets GpuBinding field to given value. + +### HasGpuBinding + +`func (o *V0036JobProperties) HasGpuBinding() bool` + +HasGpuBinding returns a boolean if a field has been set. + +### GetGpuFrequency + +`func (o *V0036JobProperties) GetGpuFrequency() string` + +GetGpuFrequency returns the GpuFrequency field if non-nil, zero value otherwise. + +### GetGpuFrequencyOk + +`func (o *V0036JobProperties) GetGpuFrequencyOk() (*string, bool)` + +GetGpuFrequencyOk returns a tuple with the GpuFrequency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuFrequency + +`func (o *V0036JobProperties) SetGpuFrequency(v string)` + +SetGpuFrequency sets GpuFrequency field to given value. + +### HasGpuFrequency + +`func (o *V0036JobProperties) HasGpuFrequency() bool` + +HasGpuFrequency returns a boolean if a field has been set. + +### GetGpus + +`func (o *V0036JobProperties) GetGpus() string` + +GetGpus returns the Gpus field if non-nil, zero value otherwise. + +### GetGpusOk + +`func (o *V0036JobProperties) GetGpusOk() (*string, bool)` + +GetGpusOk returns a tuple with the Gpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpus + +`func (o *V0036JobProperties) SetGpus(v string)` + +SetGpus sets Gpus field to given value. + +### HasGpus + +`func (o *V0036JobProperties) HasGpus() bool` + +HasGpus returns a boolean if a field has been set. + +### GetGpusPerNode + +`func (o *V0036JobProperties) GetGpusPerNode() string` + +GetGpusPerNode returns the GpusPerNode field if non-nil, zero value otherwise. + +### GetGpusPerNodeOk + +`func (o *V0036JobProperties) GetGpusPerNodeOk() (*string, bool)` + +GetGpusPerNodeOk returns a tuple with the GpusPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpusPerNode + +`func (o *V0036JobProperties) SetGpusPerNode(v string)` + +SetGpusPerNode sets GpusPerNode field to given value. + +### HasGpusPerNode + +`func (o *V0036JobProperties) HasGpusPerNode() bool` + +HasGpusPerNode returns a boolean if a field has been set. + +### GetGpusPerSocket + +`func (o *V0036JobProperties) GetGpusPerSocket() string` + +GetGpusPerSocket returns the GpusPerSocket field if non-nil, zero value otherwise. + +### GetGpusPerSocketOk + +`func (o *V0036JobProperties) GetGpusPerSocketOk() (*string, bool)` + +GetGpusPerSocketOk returns a tuple with the GpusPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpusPerSocket + +`func (o *V0036JobProperties) SetGpusPerSocket(v string)` + +SetGpusPerSocket sets GpusPerSocket field to given value. + +### HasGpusPerSocket + +`func (o *V0036JobProperties) HasGpusPerSocket() bool` + +HasGpusPerSocket returns a boolean if a field has been set. + +### GetGpusPerTask + +`func (o *V0036JobProperties) GetGpusPerTask() string` + +GetGpusPerTask returns the GpusPerTask field if non-nil, zero value otherwise. + +### GetGpusPerTaskOk + +`func (o *V0036JobProperties) GetGpusPerTaskOk() (*string, bool)` + +GetGpusPerTaskOk returns a tuple with the GpusPerTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpusPerTask + +`func (o *V0036JobProperties) SetGpusPerTask(v string)` + +SetGpusPerTask sets GpusPerTask field to given value. + +### HasGpusPerTask + +`func (o *V0036JobProperties) HasGpusPerTask() bool` + +HasGpusPerTask returns a boolean if a field has been set. + +### GetHold + +`func (o *V0036JobProperties) GetHold() bool` + +GetHold returns the Hold field if non-nil, zero value otherwise. + +### GetHoldOk + +`func (o *V0036JobProperties) GetHoldOk() (*bool, bool)` + +GetHoldOk returns a tuple with the Hold field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHold + +`func (o *V0036JobProperties) SetHold(v bool)` + +SetHold sets Hold field to given value. + +### HasHold + +`func (o *V0036JobProperties) HasHold() bool` + +HasHold returns a boolean if a field has been set. + +### GetKillOnInvalidDependency + +`func (o *V0036JobProperties) GetKillOnInvalidDependency() bool` + +GetKillOnInvalidDependency returns the KillOnInvalidDependency field if non-nil, zero value otherwise. + +### GetKillOnInvalidDependencyOk + +`func (o *V0036JobProperties) GetKillOnInvalidDependencyOk() (*bool, bool)` + +GetKillOnInvalidDependencyOk returns a tuple with the KillOnInvalidDependency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetKillOnInvalidDependency + +`func (o *V0036JobProperties) SetKillOnInvalidDependency(v bool)` + +SetKillOnInvalidDependency sets KillOnInvalidDependency field to given value. + +### HasKillOnInvalidDependency + +`func (o *V0036JobProperties) HasKillOnInvalidDependency() bool` + +HasKillOnInvalidDependency returns a boolean if a field has been set. + +### GetLicenses + +`func (o *V0036JobProperties) GetLicenses() string` + +GetLicenses returns the Licenses field if non-nil, zero value otherwise. + +### GetLicensesOk + +`func (o *V0036JobProperties) GetLicensesOk() (*string, bool)` + +GetLicensesOk returns a tuple with the Licenses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicenses + +`func (o *V0036JobProperties) SetLicenses(v string)` + +SetLicenses sets Licenses field to given value. + +### HasLicenses + +`func (o *V0036JobProperties) HasLicenses() bool` + +HasLicenses returns a boolean if a field has been set. + +### GetMailType + +`func (o *V0036JobProperties) GetMailType() string` + +GetMailType returns the MailType field if non-nil, zero value otherwise. + +### GetMailTypeOk + +`func (o *V0036JobProperties) GetMailTypeOk() (*string, bool)` + +GetMailTypeOk returns a tuple with the MailType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMailType + +`func (o *V0036JobProperties) SetMailType(v string)` + +SetMailType sets MailType field to given value. + +### HasMailType + +`func (o *V0036JobProperties) HasMailType() bool` + +HasMailType returns a boolean if a field has been set. + +### GetMailUser + +`func (o *V0036JobProperties) GetMailUser() string` + +GetMailUser returns the MailUser field if non-nil, zero value otherwise. + +### GetMailUserOk + +`func (o *V0036JobProperties) GetMailUserOk() (*string, bool)` + +GetMailUserOk returns a tuple with the MailUser field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMailUser + +`func (o *V0036JobProperties) SetMailUser(v string)` + +SetMailUser sets MailUser field to given value. + +### HasMailUser + +`func (o *V0036JobProperties) HasMailUser() bool` + +HasMailUser returns a boolean if a field has been set. + +### GetMcsLabel + +`func (o *V0036JobProperties) GetMcsLabel() string` + +GetMcsLabel returns the McsLabel field if non-nil, zero value otherwise. + +### GetMcsLabelOk + +`func (o *V0036JobProperties) GetMcsLabelOk() (*string, bool)` + +GetMcsLabelOk returns a tuple with the McsLabel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMcsLabel + +`func (o *V0036JobProperties) SetMcsLabel(v string)` + +SetMcsLabel sets McsLabel field to given value. + +### HasMcsLabel + +`func (o *V0036JobProperties) HasMcsLabel() bool` + +HasMcsLabel returns a boolean if a field has been set. + +### GetMemoryBinding + +`func (o *V0036JobProperties) GetMemoryBinding() string` + +GetMemoryBinding returns the MemoryBinding field if non-nil, zero value otherwise. + +### GetMemoryBindingOk + +`func (o *V0036JobProperties) GetMemoryBindingOk() (*string, bool)` + +GetMemoryBindingOk returns a tuple with the MemoryBinding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryBinding + +`func (o *V0036JobProperties) SetMemoryBinding(v string)` + +SetMemoryBinding sets MemoryBinding field to given value. + +### HasMemoryBinding + +`func (o *V0036JobProperties) HasMemoryBinding() bool` + +HasMemoryBinding returns a boolean if a field has been set. + +### GetMemoryPerCpu + +`func (o *V0036JobProperties) GetMemoryPerCpu() int32` + +GetMemoryPerCpu returns the MemoryPerCpu field if non-nil, zero value otherwise. + +### GetMemoryPerCpuOk + +`func (o *V0036JobProperties) GetMemoryPerCpuOk() (*int32, bool)` + +GetMemoryPerCpuOk returns a tuple with the MemoryPerCpu field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerCpu + +`func (o *V0036JobProperties) SetMemoryPerCpu(v int32)` + +SetMemoryPerCpu sets MemoryPerCpu field to given value. + +### HasMemoryPerCpu + +`func (o *V0036JobProperties) HasMemoryPerCpu() bool` + +HasMemoryPerCpu returns a boolean if a field has been set. + +### GetMemoryPerGpu + +`func (o *V0036JobProperties) GetMemoryPerGpu() int32` + +GetMemoryPerGpu returns the MemoryPerGpu field if non-nil, zero value otherwise. + +### GetMemoryPerGpuOk + +`func (o *V0036JobProperties) GetMemoryPerGpuOk() (*int32, bool)` + +GetMemoryPerGpuOk returns a tuple with the MemoryPerGpu field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerGpu + +`func (o *V0036JobProperties) SetMemoryPerGpu(v int32)` + +SetMemoryPerGpu sets MemoryPerGpu field to given value. + +### HasMemoryPerGpu + +`func (o *V0036JobProperties) HasMemoryPerGpu() bool` + +HasMemoryPerGpu returns a boolean if a field has been set. + +### GetMemoryPerNode + +`func (o *V0036JobProperties) GetMemoryPerNode() int32` + +GetMemoryPerNode returns the MemoryPerNode field if non-nil, zero value otherwise. + +### GetMemoryPerNodeOk + +`func (o *V0036JobProperties) GetMemoryPerNodeOk() (*int32, bool)` + +GetMemoryPerNodeOk returns a tuple with the MemoryPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerNode + +`func (o *V0036JobProperties) SetMemoryPerNode(v int32)` + +SetMemoryPerNode sets MemoryPerNode field to given value. + +### HasMemoryPerNode + +`func (o *V0036JobProperties) HasMemoryPerNode() bool` + +HasMemoryPerNode returns a boolean if a field has been set. + +### GetMinimumCpusPerNode + +`func (o *V0036JobProperties) GetMinimumCpusPerNode() int32` + +GetMinimumCpusPerNode returns the MinimumCpusPerNode field if non-nil, zero value otherwise. + +### GetMinimumCpusPerNodeOk + +`func (o *V0036JobProperties) GetMinimumCpusPerNodeOk() (*int32, bool)` + +GetMinimumCpusPerNodeOk returns a tuple with the MinimumCpusPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumCpusPerNode + +`func (o *V0036JobProperties) SetMinimumCpusPerNode(v int32)` + +SetMinimumCpusPerNode sets MinimumCpusPerNode field to given value. + +### HasMinimumCpusPerNode + +`func (o *V0036JobProperties) HasMinimumCpusPerNode() bool` + +HasMinimumCpusPerNode returns a boolean if a field has been set. + +### GetMinimumNodes + +`func (o *V0036JobProperties) GetMinimumNodes() bool` + +GetMinimumNodes returns the MinimumNodes field if non-nil, zero value otherwise. + +### GetMinimumNodesOk + +`func (o *V0036JobProperties) GetMinimumNodesOk() (*bool, bool)` + +GetMinimumNodesOk returns a tuple with the MinimumNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumNodes + +`func (o *V0036JobProperties) SetMinimumNodes(v bool)` + +SetMinimumNodes sets MinimumNodes field to given value. + +### HasMinimumNodes + +`func (o *V0036JobProperties) HasMinimumNodes() bool` + +HasMinimumNodes returns a boolean if a field has been set. + +### GetName + +`func (o *V0036JobProperties) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *V0036JobProperties) 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 *V0036JobProperties) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *V0036JobProperties) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNice + +`func (o *V0036JobProperties) GetNice() string` + +GetNice returns the Nice field if non-nil, zero value otherwise. + +### GetNiceOk + +`func (o *V0036JobProperties) GetNiceOk() (*string, bool)` + +GetNiceOk returns a tuple with the Nice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNice + +`func (o *V0036JobProperties) SetNice(v string)` + +SetNice sets Nice field to given value. + +### HasNice + +`func (o *V0036JobProperties) HasNice() bool` + +HasNice returns a boolean if a field has been set. + +### GetNoKill + +`func (o *V0036JobProperties) GetNoKill() bool` + +GetNoKill returns the NoKill field if non-nil, zero value otherwise. + +### GetNoKillOk + +`func (o *V0036JobProperties) GetNoKillOk() (*bool, bool)` + +GetNoKillOk returns a tuple with the NoKill field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNoKill + +`func (o *V0036JobProperties) SetNoKill(v bool)` + +SetNoKill sets NoKill field to given value. + +### HasNoKill + +`func (o *V0036JobProperties) HasNoKill() bool` + +HasNoKill returns a boolean if a field has been set. + +### GetNodes + +`func (o *V0036JobProperties) GetNodes() []int32` + +GetNodes returns the Nodes field if non-nil, zero value otherwise. + +### GetNodesOk + +`func (o *V0036JobProperties) GetNodesOk() (*[]int32, bool)` + +GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodes + +`func (o *V0036JobProperties) SetNodes(v []int32)` + +SetNodes sets Nodes field to given value. + +### HasNodes + +`func (o *V0036JobProperties) HasNodes() bool` + +HasNodes returns a boolean if a field has been set. + +### GetOpenMode + +`func (o *V0036JobProperties) GetOpenMode() string` + +GetOpenMode returns the OpenMode field if non-nil, zero value otherwise. + +### GetOpenModeOk + +`func (o *V0036JobProperties) GetOpenModeOk() (*string, bool)` + +GetOpenModeOk returns a tuple with the OpenMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOpenMode + +`func (o *V0036JobProperties) SetOpenMode(v string)` + +SetOpenMode sets OpenMode field to given value. + +### HasOpenMode + +`func (o *V0036JobProperties) HasOpenMode() bool` + +HasOpenMode returns a boolean if a field has been set. + +### GetPartition + +`func (o *V0036JobProperties) GetPartition() string` + +GetPartition returns the Partition field if non-nil, zero value otherwise. + +### GetPartitionOk + +`func (o *V0036JobProperties) GetPartitionOk() (*string, bool)` + +GetPartitionOk returns a tuple with the Partition field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartition + +`func (o *V0036JobProperties) SetPartition(v string)` + +SetPartition sets Partition field to given value. + +### HasPartition + +`func (o *V0036JobProperties) HasPartition() bool` + +HasPartition returns a boolean if a field has been set. + +### GetPriority + +`func (o *V0036JobProperties) GetPriority() string` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *V0036JobProperties) GetPriorityOk() (*string, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *V0036JobProperties) SetPriority(v string)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *V0036JobProperties) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetQos + +`func (o *V0036JobProperties) GetQos() string` + +GetQos returns the Qos field if non-nil, zero value otherwise. + +### GetQosOk + +`func (o *V0036JobProperties) GetQosOk() (*string, bool)` + +GetQosOk returns a tuple with the Qos field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQos + +`func (o *V0036JobProperties) SetQos(v string)` + +SetQos sets Qos field to given value. + +### HasQos + +`func (o *V0036JobProperties) HasQos() bool` + +HasQos returns a boolean if a field has been set. + +### GetRequeue + +`func (o *V0036JobProperties) GetRequeue() bool` + +GetRequeue returns the Requeue field if non-nil, zero value otherwise. + +### GetRequeueOk + +`func (o *V0036JobProperties) GetRequeueOk() (*bool, bool)` + +GetRequeueOk returns a tuple with the Requeue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequeue + +`func (o *V0036JobProperties) SetRequeue(v bool)` + +SetRequeue sets Requeue field to given value. + +### HasRequeue + +`func (o *V0036JobProperties) HasRequeue() bool` + +HasRequeue returns a boolean if a field has been set. + +### GetReservation + +`func (o *V0036JobProperties) GetReservation() string` + +GetReservation returns the Reservation field if non-nil, zero value otherwise. + +### GetReservationOk + +`func (o *V0036JobProperties) GetReservationOk() (*string, bool)` + +GetReservationOk returns a tuple with the Reservation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReservation + +`func (o *V0036JobProperties) SetReservation(v string)` + +SetReservation sets Reservation field to given value. + +### HasReservation + +`func (o *V0036JobProperties) HasReservation() bool` + +HasReservation returns a boolean if a field has been set. + +### GetSignal + +`func (o *V0036JobProperties) GetSignal() string` + +GetSignal returns the Signal field if non-nil, zero value otherwise. + +### GetSignalOk + +`func (o *V0036JobProperties) GetSignalOk() (*string, bool)` + +GetSignalOk returns a tuple with the Signal field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignal + +`func (o *V0036JobProperties) SetSignal(v string)` + +SetSignal sets Signal field to given value. + +### HasSignal + +`func (o *V0036JobProperties) HasSignal() bool` + +HasSignal returns a boolean if a field has been set. + +### GetSocketsPerNode + +`func (o *V0036JobProperties) GetSocketsPerNode() int32` + +GetSocketsPerNode returns the SocketsPerNode field if non-nil, zero value otherwise. + +### GetSocketsPerNodeOk + +`func (o *V0036JobProperties) GetSocketsPerNodeOk() (*int32, bool)` + +GetSocketsPerNodeOk returns a tuple with the SocketsPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSocketsPerNode + +`func (o *V0036JobProperties) SetSocketsPerNode(v int32)` + +SetSocketsPerNode sets SocketsPerNode field to given value. + +### HasSocketsPerNode + +`func (o *V0036JobProperties) HasSocketsPerNode() bool` + +HasSocketsPerNode returns a boolean if a field has been set. + +### GetSpreadJob + +`func (o *V0036JobProperties) GetSpreadJob() bool` + +GetSpreadJob returns the SpreadJob field if non-nil, zero value otherwise. + +### GetSpreadJobOk + +`func (o *V0036JobProperties) GetSpreadJobOk() (*bool, bool)` + +GetSpreadJobOk returns a tuple with the SpreadJob field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpreadJob + +`func (o *V0036JobProperties) SetSpreadJob(v bool)` + +SetSpreadJob sets SpreadJob field to given value. + +### HasSpreadJob + +`func (o *V0036JobProperties) HasSpreadJob() bool` + +HasSpreadJob returns a boolean if a field has been set. + +### GetStandardError + +`func (o *V0036JobProperties) GetStandardError() string` + +GetStandardError returns the StandardError field if non-nil, zero value otherwise. + +### GetStandardErrorOk + +`func (o *V0036JobProperties) GetStandardErrorOk() (*string, bool)` + +GetStandardErrorOk returns a tuple with the StandardError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardError + +`func (o *V0036JobProperties) SetStandardError(v string)` + +SetStandardError sets StandardError field to given value. + +### HasStandardError + +`func (o *V0036JobProperties) HasStandardError() bool` + +HasStandardError returns a boolean if a field has been set. + +### GetStandardIn + +`func (o *V0036JobProperties) GetStandardIn() string` + +GetStandardIn returns the StandardIn field if non-nil, zero value otherwise. + +### GetStandardInOk + +`func (o *V0036JobProperties) GetStandardInOk() (*string, bool)` + +GetStandardInOk returns a tuple with the StandardIn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardIn + +`func (o *V0036JobProperties) SetStandardIn(v string)` + +SetStandardIn sets StandardIn field to given value. + +### HasStandardIn + +`func (o *V0036JobProperties) HasStandardIn() bool` + +HasStandardIn returns a boolean if a field has been set. + +### GetStandardOut + +`func (o *V0036JobProperties) GetStandardOut() string` + +GetStandardOut returns the StandardOut field if non-nil, zero value otherwise. + +### GetStandardOutOk + +`func (o *V0036JobProperties) GetStandardOutOk() (*string, bool)` + +GetStandardOutOk returns a tuple with the StandardOut field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardOut + +`func (o *V0036JobProperties) SetStandardOut(v string)` + +SetStandardOut sets StandardOut field to given value. + +### HasStandardOut + +`func (o *V0036JobProperties) HasStandardOut() bool` + +HasStandardOut returns a boolean if a field has been set. + +### GetTasks + +`func (o *V0036JobProperties) GetTasks() int32` + +GetTasks returns the Tasks field if non-nil, zero value otherwise. + +### GetTasksOk + +`func (o *V0036JobProperties) GetTasksOk() (*int32, bool)` + +GetTasksOk returns a tuple with the Tasks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasks + +`func (o *V0036JobProperties) SetTasks(v int32)` + +SetTasks sets Tasks field to given value. + +### HasTasks + +`func (o *V0036JobProperties) HasTasks() bool` + +HasTasks returns a boolean if a field has been set. + +### GetTasksPerCore + +`func (o *V0036JobProperties) GetTasksPerCore() int32` + +GetTasksPerCore returns the TasksPerCore field if non-nil, zero value otherwise. + +### GetTasksPerCoreOk + +`func (o *V0036JobProperties) GetTasksPerCoreOk() (*int32, bool)` + +GetTasksPerCoreOk returns a tuple with the TasksPerCore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerCore + +`func (o *V0036JobProperties) SetTasksPerCore(v int32)` + +SetTasksPerCore sets TasksPerCore field to given value. + +### HasTasksPerCore + +`func (o *V0036JobProperties) HasTasksPerCore() bool` + +HasTasksPerCore returns a boolean if a field has been set. + +### GetTasksPerNode + +`func (o *V0036JobProperties) GetTasksPerNode() int32` + +GetTasksPerNode returns the TasksPerNode field if non-nil, zero value otherwise. + +### GetTasksPerNodeOk + +`func (o *V0036JobProperties) GetTasksPerNodeOk() (*int32, bool)` + +GetTasksPerNodeOk returns a tuple with the TasksPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerNode + +`func (o *V0036JobProperties) SetTasksPerNode(v int32)` + +SetTasksPerNode sets TasksPerNode field to given value. + +### HasTasksPerNode + +`func (o *V0036JobProperties) HasTasksPerNode() bool` + +HasTasksPerNode returns a boolean if a field has been set. + +### GetTasksPerSocket + +`func (o *V0036JobProperties) GetTasksPerSocket() int32` + +GetTasksPerSocket returns the TasksPerSocket field if non-nil, zero value otherwise. + +### GetTasksPerSocketOk + +`func (o *V0036JobProperties) GetTasksPerSocketOk() (*int32, bool)` + +GetTasksPerSocketOk returns a tuple with the TasksPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerSocket + +`func (o *V0036JobProperties) SetTasksPerSocket(v int32)` + +SetTasksPerSocket sets TasksPerSocket field to given value. + +### HasTasksPerSocket + +`func (o *V0036JobProperties) HasTasksPerSocket() bool` + +HasTasksPerSocket returns a boolean if a field has been set. + +### GetThreadSpecification + +`func (o *V0036JobProperties) GetThreadSpecification() int32` + +GetThreadSpecification returns the ThreadSpecification field if non-nil, zero value otherwise. + +### GetThreadSpecificationOk + +`func (o *V0036JobProperties) GetThreadSpecificationOk() (*int32, bool)` + +GetThreadSpecificationOk returns a tuple with the ThreadSpecification field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThreadSpecification + +`func (o *V0036JobProperties) SetThreadSpecification(v int32)` + +SetThreadSpecification sets ThreadSpecification field to given value. + +### HasThreadSpecification + +`func (o *V0036JobProperties) HasThreadSpecification() bool` + +HasThreadSpecification returns a boolean if a field has been set. + +### GetThreadsPerCore + +`func (o *V0036JobProperties) GetThreadsPerCore() int32` + +GetThreadsPerCore returns the ThreadsPerCore field if non-nil, zero value otherwise. + +### GetThreadsPerCoreOk + +`func (o *V0036JobProperties) GetThreadsPerCoreOk() (*int32, bool)` + +GetThreadsPerCoreOk returns a tuple with the ThreadsPerCore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThreadsPerCore + +`func (o *V0036JobProperties) SetThreadsPerCore(v int32)` + +SetThreadsPerCore sets ThreadsPerCore field to given value. + +### HasThreadsPerCore + +`func (o *V0036JobProperties) HasThreadsPerCore() bool` + +HasThreadsPerCore returns a boolean if a field has been set. + +### GetTimeLimit + +`func (o *V0036JobProperties) GetTimeLimit() int32` + +GetTimeLimit returns the TimeLimit field if non-nil, zero value otherwise. + +### GetTimeLimitOk + +`func (o *V0036JobProperties) GetTimeLimitOk() (*int32, bool)` + +GetTimeLimitOk returns a tuple with the TimeLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeLimit + +`func (o *V0036JobProperties) SetTimeLimit(v int32)` + +SetTimeLimit sets TimeLimit field to given value. + +### HasTimeLimit + +`func (o *V0036JobProperties) HasTimeLimit() bool` + +HasTimeLimit returns a boolean if a field has been set. + +### GetTimeMinimum + +`func (o *V0036JobProperties) GetTimeMinimum() int32` + +GetTimeMinimum returns the TimeMinimum field if non-nil, zero value otherwise. + +### GetTimeMinimumOk + +`func (o *V0036JobProperties) GetTimeMinimumOk() (*int32, bool)` + +GetTimeMinimumOk returns a tuple with the TimeMinimum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeMinimum + +`func (o *V0036JobProperties) SetTimeMinimum(v int32)` + +SetTimeMinimum sets TimeMinimum field to given value. + +### HasTimeMinimum + +`func (o *V0036JobProperties) HasTimeMinimum() bool` + +HasTimeMinimum returns a boolean if a field has been set. + +### GetWaitAllNodes + +`func (o *V0036JobProperties) GetWaitAllNodes() bool` + +GetWaitAllNodes returns the WaitAllNodes field if non-nil, zero value otherwise. + +### GetWaitAllNodesOk + +`func (o *V0036JobProperties) GetWaitAllNodesOk() (*bool, bool)` + +GetWaitAllNodesOk returns a tuple with the WaitAllNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWaitAllNodes + +`func (o *V0036JobProperties) SetWaitAllNodes(v bool)` + +SetWaitAllNodes sets WaitAllNodes field to given value. + +### HasWaitAllNodes + +`func (o *V0036JobProperties) HasWaitAllNodes() bool` + +HasWaitAllNodes returns a boolean if a field has been set. + +### GetWckey + +`func (o *V0036JobProperties) GetWckey() string` + +GetWckey returns the Wckey field if non-nil, zero value otherwise. + +### GetWckeyOk + +`func (o *V0036JobProperties) GetWckeyOk() (*string, bool)` + +GetWckeyOk returns a tuple with the Wckey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWckey + +`func (o *V0036JobProperties) SetWckey(v string)` + +SetWckey sets Wckey field to given value. + +### HasWckey + +`func (o *V0036JobProperties) HasWckey() bool` + +HasWckey returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobResources.md b/docs/V0036JobResources.md new file mode 100644 index 0000000..79d0f08 --- /dev/null +++ b/docs/V0036JobResources.md @@ -0,0 +1,134 @@ +# V0036JobResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Nodes** | Pointer to **string** | list of assigned job nodes | [optional] +**AllocatedCpus** | Pointer to **int32** | number of assigned job cpus | [optional] +**AllocatedHosts** | Pointer to **int32** | number of assigned job hosts | [optional] +**AllocatedNodes** | Pointer to [**[]V0036NodeAllocation**](V0036NodeAllocation.md) | node allocations | [optional] + +## Methods + +### NewV0036JobResources + +`func NewV0036JobResources() *V0036JobResources` + +NewV0036JobResources instantiates a new V0036JobResources 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 + +### NewV0036JobResourcesWithDefaults + +`func NewV0036JobResourcesWithDefaults() *V0036JobResources` + +NewV0036JobResourcesWithDefaults instantiates a new V0036JobResources 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 + +### GetNodes + +`func (o *V0036JobResources) GetNodes() string` + +GetNodes returns the Nodes field if non-nil, zero value otherwise. + +### GetNodesOk + +`func (o *V0036JobResources) GetNodesOk() (*string, bool)` + +GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodes + +`func (o *V0036JobResources) SetNodes(v string)` + +SetNodes sets Nodes field to given value. + +### HasNodes + +`func (o *V0036JobResources) HasNodes() bool` + +HasNodes returns a boolean if a field has been set. + +### GetAllocatedCpus + +`func (o *V0036JobResources) GetAllocatedCpus() int32` + +GetAllocatedCpus returns the AllocatedCpus field if non-nil, zero value otherwise. + +### GetAllocatedCpusOk + +`func (o *V0036JobResources) GetAllocatedCpusOk() (*int32, bool)` + +GetAllocatedCpusOk returns a tuple with the AllocatedCpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedCpus + +`func (o *V0036JobResources) SetAllocatedCpus(v int32)` + +SetAllocatedCpus sets AllocatedCpus field to given value. + +### HasAllocatedCpus + +`func (o *V0036JobResources) HasAllocatedCpus() bool` + +HasAllocatedCpus returns a boolean if a field has been set. + +### GetAllocatedHosts + +`func (o *V0036JobResources) GetAllocatedHosts() int32` + +GetAllocatedHosts returns the AllocatedHosts field if non-nil, zero value otherwise. + +### GetAllocatedHostsOk + +`func (o *V0036JobResources) GetAllocatedHostsOk() (*int32, bool)` + +GetAllocatedHostsOk returns a tuple with the AllocatedHosts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedHosts + +`func (o *V0036JobResources) SetAllocatedHosts(v int32)` + +SetAllocatedHosts sets AllocatedHosts field to given value. + +### HasAllocatedHosts + +`func (o *V0036JobResources) HasAllocatedHosts() bool` + +HasAllocatedHosts returns a boolean if a field has been set. + +### GetAllocatedNodes + +`func (o *V0036JobResources) GetAllocatedNodes() []V0036NodeAllocation` + +GetAllocatedNodes returns the AllocatedNodes field if non-nil, zero value otherwise. + +### GetAllocatedNodesOk + +`func (o *V0036JobResources) GetAllocatedNodesOk() (*[]V0036NodeAllocation, bool)` + +GetAllocatedNodesOk returns a tuple with the AllocatedNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedNodes + +`func (o *V0036JobResources) SetAllocatedNodes(v []V0036NodeAllocation)` + +SetAllocatedNodes sets AllocatedNodes field to given value. + +### HasAllocatedNodes + +`func (o *V0036JobResources) HasAllocatedNodes() bool` + +HasAllocatedNodes returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobResponseProperties.md b/docs/V0036JobResponseProperties.md new file mode 100644 index 0000000..f9764a7 --- /dev/null +++ b/docs/V0036JobResponseProperties.md @@ -0,0 +1,2812 @@ +# V0036JobResponseProperties + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Account** | Pointer to **string** | Charge resources used by this job to specified account | [optional] +**AccrueTime** | Pointer to **int64** | time job is eligible for running | [optional] +**AdminComment** | Pointer to **string** | administrator's arbitrary comment | [optional] +**ArrayJobId** | Pointer to **string** | job_id of a job array or 0 if N/A | [optional] +**ArrayTaskId** | Pointer to **string** | task_id of a job array | [optional] +**ArrayMaxTasks** | Pointer to **string** | Maximum number of running array tasks | [optional] +**ArrayTaskString** | Pointer to **string** | string expression of task IDs in this record | [optional] +**AssociationId** | Pointer to **string** | association id for job | [optional] +**BatchFeatures** | Pointer to **string** | features required for batch script's node | [optional] +**BatchFlag** | Pointer to **bool** | if batch: queued job with script | [optional] +**BatchHost** | Pointer to **string** | name of host running batch script | [optional] +**Flags** | Pointer to **[]string** | Job flags | [optional] +**BurstBuffer** | Pointer to **string** | burst buffer specifications | [optional] +**BurstBufferState** | Pointer to **string** | burst buffer state info | [optional] +**Cluster** | Pointer to **string** | name of cluster that the job is on | [optional] +**ClusterFeatures** | Pointer to **string** | comma separated list of required cluster features | [optional] +**Command** | Pointer to **string** | command to be executed | [optional] +**Comment** | Pointer to **string** | arbitrary comment | [optional] +**Contiguous** | Pointer to **bool** | job requires contiguous nodes | [optional] +**CoreSpec** | Pointer to **string** | specialized core count | [optional] +**ThreadSpec** | Pointer to **string** | specialized thread count | [optional] +**CoresPerSocket** | Pointer to **string** | cores per socket required by job | [optional] +**BillableTres** | Pointer to **string** | billable TRES | [optional] +**CpusPerTask** | Pointer to **string** | number of processors required for each task | [optional] +**CpuFrequencyMinimum** | Pointer to **string** | Minimum cpu frequency | [optional] +**CpuFrequencyMaximum** | Pointer to **string** | Maximum cpu frequency | [optional] +**CpuFrequencyGovernor** | Pointer to **string** | cpu frequency governor | [optional] +**CpusPerTres** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**Deadline** | Pointer to **string** | job start deadline | [optional] +**DelayBoot** | Pointer to **string** | command to be executed | [optional] +**Dependency** | Pointer to **string** | synchronize job execution with other jobs | [optional] +**DerivedExitCode** | Pointer to **string** | highest exit code of all job steps | [optional] +**EligibleTime** | Pointer to **int64** | time job is eligible for running | [optional] +**EndTime** | Pointer to **int64** | time of termination, actual or expected | [optional] +**ExcludedNodes** | Pointer to **string** | comma separated list of excluded nodes | [optional] +**ExitCode** | Pointer to **int32** | exit code for job | [optional] +**Features** | Pointer to **string** | comma separated list of required features | [optional] +**FederationOrigin** | Pointer to **string** | Origin cluster's name | [optional] +**FederationSiblingsActive** | Pointer to **string** | string of active sibling names | [optional] +**FederationSiblingsViable** | Pointer to **string** | string of viable sibling names | [optional] +**GresDetail** | Pointer to **[]string** | Job flags | [optional] +**GroupId** | Pointer to **string** | group job submitted as | [optional] +**JobId** | Pointer to **string** | job ID | [optional] +**JobResources** | Pointer to [**V0036JobResources**](V0036JobResources.md) | | [optional] +**JobState** | Pointer to **string** | state of the job | [optional] +**LastSchedEvaluation** | Pointer to **string** | last time job was evaluated for scheduling | [optional] +**Licenses** | Pointer to **string** | licenses required by the job | [optional] +**MaxCpus** | Pointer to **string** | maximum number of cpus usable by job | [optional] +**MaxNodes** | Pointer to **string** | maximum number of nodes usable by job | [optional] +**McsLabel** | Pointer to **string** | mcs_label if mcs plugin in use | [optional] +**MemoryPerTres** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**Name** | Pointer to **string** | name of the job | [optional] +**Nodes** | Pointer to **string** | list of nodes allocated to job | [optional] +**Nice** | Pointer to **string** | requested priority change | [optional] +**TasksPerCore** | Pointer to **string** | number of tasks to invoke on each core | [optional] +**TasksPerSocket** | Pointer to **string** | number of tasks to invoke on each socket | [optional] +**TasksPerBoard** | Pointer to **string** | number of tasks to invoke on each board | [optional] +**Cpus** | Pointer to **string** | minimum number of cpus required by job | [optional] +**NodeCount** | Pointer to **string** | minimum number of nodes required by job | [optional] +**Tasks** | Pointer to **string** | requested task count | [optional] +**HetJobId** | Pointer to **string** | job ID of hetjob leader | [optional] +**HetJobIdSet** | Pointer to **string** | job IDs for all components | [optional] +**HetJobOffset** | Pointer to **string** | HetJob component offset from leader | [optional] +**Partition** | Pointer to **string** | name of assigned partition | [optional] +**MemoryPerNode** | Pointer to **string** | minimum real memory per node | [optional] +**MemoryPerCpu** | Pointer to **string** | minimum real memory per cpu | [optional] +**MinimumCpusPerNode** | Pointer to **string** | minimum # CPUs per node | [optional] +**MinimumTmpDiskPerNode** | Pointer to **string** | minimum tmp disk per node | [optional] +**PreemptTime** | Pointer to **int64** | preemption signal time | [optional] +**PreSusTime** | Pointer to **int64** | time job ran prior to last suspend | [optional] +**Priority** | Pointer to **string** | relative priority of the job | [optional] +**Profile** | Pointer to **[]string** | Job profiling requested | [optional] +**Qos** | Pointer to **string** | Quality of Service | [optional] +**Reboot** | Pointer to **bool** | node reboot requested before start | [optional] +**RequiredNodes** | Pointer to **string** | comma separated list of required nodes | [optional] +**Requeue** | Pointer to **bool** | enable or disable job requeue option | [optional] +**ResizeTime** | Pointer to **int64** | time of latest size change | [optional] +**RestartCnt** | Pointer to **string** | count of job restarts | [optional] +**ResvName** | Pointer to **string** | reservation name | [optional] +**Shared** | Pointer to **string** | type and if job can share nodes with other jobs | [optional] +**ShowFlags** | Pointer to **[]string** | details requested | [optional] +**SocketsPerBoard** | Pointer to **string** | sockets per board required by job | [optional] +**SocketsPerNode** | Pointer to **string** | sockets per node required by job | [optional] +**StartTime** | Pointer to **int64** | time execution begins, actual or expected | [optional] +**StateDescription** | Pointer to **string** | optional details for state_reason | [optional] +**StateReason** | Pointer to **string** | reason job still pending or failed | [optional] +**StandardError** | Pointer to **string** | pathname of job's stderr file | [optional] +**StandardInput** | Pointer to **string** | pathname of job's stdin file | [optional] +**StandardOutput** | Pointer to **string** | pathname of job's stdout file | [optional] +**SubmitTime** | Pointer to **int64** | time of job submission | [optional] +**SuspendTime** | Pointer to **int64** | time job last suspended or resumed | [optional] +**SystemComment** | Pointer to **string** | slurmctld's arbitrary comment | [optional] +**TimeLimit** | Pointer to **string** | maximum run time in minutes | [optional] +**TimeMinimum** | Pointer to **string** | minimum run time in minutes | [optional] +**ThreadsPerCore** | Pointer to **string** | threads per core required by job | [optional] +**TresBind** | Pointer to **string** | Task to TRES binding directives | [optional] +**TresFreq** | Pointer to **string** | TRES frequency directives | [optional] +**TresPerJob** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**TresPerNode** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**TresPerSocket** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**TresPerTask** | Pointer to **string** | semicolon delimited list of TRES=# values | [optional] +**TresReqStr** | Pointer to **string** | tres reqeusted in the job | [optional] +**TresAllocStr** | Pointer to **string** | tres used in the job | [optional] +**UserId** | Pointer to **string** | user id the job runs as | [optional] +**UserName** | Pointer to **string** | user the job runs as | [optional] +**Wckey** | Pointer to **string** | wckey for job | [optional] +**CurrentWorkingDirectory** | Pointer to **string** | pathname of working directory | [optional] + +## Methods + +### NewV0036JobResponseProperties + +`func NewV0036JobResponseProperties() *V0036JobResponseProperties` + +NewV0036JobResponseProperties instantiates a new V0036JobResponseProperties 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 + +### NewV0036JobResponsePropertiesWithDefaults + +`func NewV0036JobResponsePropertiesWithDefaults() *V0036JobResponseProperties` + +NewV0036JobResponsePropertiesWithDefaults instantiates a new V0036JobResponseProperties 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 + +### GetAccount + +`func (o *V0036JobResponseProperties) GetAccount() string` + +GetAccount returns the Account field if non-nil, zero value otherwise. + +### GetAccountOk + +`func (o *V0036JobResponseProperties) GetAccountOk() (*string, bool)` + +GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccount + +`func (o *V0036JobResponseProperties) SetAccount(v string)` + +SetAccount sets Account field to given value. + +### HasAccount + +`func (o *V0036JobResponseProperties) HasAccount() bool` + +HasAccount returns a boolean if a field has been set. + +### GetAccrueTime + +`func (o *V0036JobResponseProperties) GetAccrueTime() int64` + +GetAccrueTime returns the AccrueTime field if non-nil, zero value otherwise. + +### GetAccrueTimeOk + +`func (o *V0036JobResponseProperties) GetAccrueTimeOk() (*int64, bool)` + +GetAccrueTimeOk returns a tuple with the AccrueTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccrueTime + +`func (o *V0036JobResponseProperties) SetAccrueTime(v int64)` + +SetAccrueTime sets AccrueTime field to given value. + +### HasAccrueTime + +`func (o *V0036JobResponseProperties) HasAccrueTime() bool` + +HasAccrueTime returns a boolean if a field has been set. + +### GetAdminComment + +`func (o *V0036JobResponseProperties) GetAdminComment() string` + +GetAdminComment returns the AdminComment field if non-nil, zero value otherwise. + +### GetAdminCommentOk + +`func (o *V0036JobResponseProperties) GetAdminCommentOk() (*string, bool)` + +GetAdminCommentOk returns a tuple with the AdminComment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdminComment + +`func (o *V0036JobResponseProperties) SetAdminComment(v string)` + +SetAdminComment sets AdminComment field to given value. + +### HasAdminComment + +`func (o *V0036JobResponseProperties) HasAdminComment() bool` + +HasAdminComment returns a boolean if a field has been set. + +### GetArrayJobId + +`func (o *V0036JobResponseProperties) GetArrayJobId() string` + +GetArrayJobId returns the ArrayJobId field if non-nil, zero value otherwise. + +### GetArrayJobIdOk + +`func (o *V0036JobResponseProperties) GetArrayJobIdOk() (*string, bool)` + +GetArrayJobIdOk returns a tuple with the ArrayJobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArrayJobId + +`func (o *V0036JobResponseProperties) SetArrayJobId(v string)` + +SetArrayJobId sets ArrayJobId field to given value. + +### HasArrayJobId + +`func (o *V0036JobResponseProperties) HasArrayJobId() bool` + +HasArrayJobId returns a boolean if a field has been set. + +### GetArrayTaskId + +`func (o *V0036JobResponseProperties) GetArrayTaskId() string` + +GetArrayTaskId returns the ArrayTaskId field if non-nil, zero value otherwise. + +### GetArrayTaskIdOk + +`func (o *V0036JobResponseProperties) GetArrayTaskIdOk() (*string, bool)` + +GetArrayTaskIdOk returns a tuple with the ArrayTaskId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArrayTaskId + +`func (o *V0036JobResponseProperties) SetArrayTaskId(v string)` + +SetArrayTaskId sets ArrayTaskId field to given value. + +### HasArrayTaskId + +`func (o *V0036JobResponseProperties) HasArrayTaskId() bool` + +HasArrayTaskId returns a boolean if a field has been set. + +### GetArrayMaxTasks + +`func (o *V0036JobResponseProperties) GetArrayMaxTasks() string` + +GetArrayMaxTasks returns the ArrayMaxTasks field if non-nil, zero value otherwise. + +### GetArrayMaxTasksOk + +`func (o *V0036JobResponseProperties) GetArrayMaxTasksOk() (*string, bool)` + +GetArrayMaxTasksOk returns a tuple with the ArrayMaxTasks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArrayMaxTasks + +`func (o *V0036JobResponseProperties) SetArrayMaxTasks(v string)` + +SetArrayMaxTasks sets ArrayMaxTasks field to given value. + +### HasArrayMaxTasks + +`func (o *V0036JobResponseProperties) HasArrayMaxTasks() bool` + +HasArrayMaxTasks returns a boolean if a field has been set. + +### GetArrayTaskString + +`func (o *V0036JobResponseProperties) GetArrayTaskString() string` + +GetArrayTaskString returns the ArrayTaskString field if non-nil, zero value otherwise. + +### GetArrayTaskStringOk + +`func (o *V0036JobResponseProperties) GetArrayTaskStringOk() (*string, bool)` + +GetArrayTaskStringOk returns a tuple with the ArrayTaskString field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArrayTaskString + +`func (o *V0036JobResponseProperties) SetArrayTaskString(v string)` + +SetArrayTaskString sets ArrayTaskString field to given value. + +### HasArrayTaskString + +`func (o *V0036JobResponseProperties) HasArrayTaskString() bool` + +HasArrayTaskString returns a boolean if a field has been set. + +### GetAssociationId + +`func (o *V0036JobResponseProperties) GetAssociationId() string` + +GetAssociationId returns the AssociationId field if non-nil, zero value otherwise. + +### GetAssociationIdOk + +`func (o *V0036JobResponseProperties) GetAssociationIdOk() (*string, bool)` + +GetAssociationIdOk returns a tuple with the AssociationId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssociationId + +`func (o *V0036JobResponseProperties) SetAssociationId(v string)` + +SetAssociationId sets AssociationId field to given value. + +### HasAssociationId + +`func (o *V0036JobResponseProperties) HasAssociationId() bool` + +HasAssociationId returns a boolean if a field has been set. + +### GetBatchFeatures + +`func (o *V0036JobResponseProperties) GetBatchFeatures() string` + +GetBatchFeatures returns the BatchFeatures field if non-nil, zero value otherwise. + +### GetBatchFeaturesOk + +`func (o *V0036JobResponseProperties) GetBatchFeaturesOk() (*string, bool)` + +GetBatchFeaturesOk returns a tuple with the BatchFeatures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBatchFeatures + +`func (o *V0036JobResponseProperties) SetBatchFeatures(v string)` + +SetBatchFeatures sets BatchFeatures field to given value. + +### HasBatchFeatures + +`func (o *V0036JobResponseProperties) HasBatchFeatures() bool` + +HasBatchFeatures returns a boolean if a field has been set. + +### GetBatchFlag + +`func (o *V0036JobResponseProperties) GetBatchFlag() bool` + +GetBatchFlag returns the BatchFlag field if non-nil, zero value otherwise. + +### GetBatchFlagOk + +`func (o *V0036JobResponseProperties) GetBatchFlagOk() (*bool, bool)` + +GetBatchFlagOk returns a tuple with the BatchFlag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBatchFlag + +`func (o *V0036JobResponseProperties) SetBatchFlag(v bool)` + +SetBatchFlag sets BatchFlag field to given value. + +### HasBatchFlag + +`func (o *V0036JobResponseProperties) HasBatchFlag() bool` + +HasBatchFlag returns a boolean if a field has been set. + +### GetBatchHost + +`func (o *V0036JobResponseProperties) GetBatchHost() string` + +GetBatchHost returns the BatchHost field if non-nil, zero value otherwise. + +### GetBatchHostOk + +`func (o *V0036JobResponseProperties) GetBatchHostOk() (*string, bool)` + +GetBatchHostOk returns a tuple with the BatchHost field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBatchHost + +`func (o *V0036JobResponseProperties) SetBatchHost(v string)` + +SetBatchHost sets BatchHost field to given value. + +### HasBatchHost + +`func (o *V0036JobResponseProperties) HasBatchHost() bool` + +HasBatchHost returns a boolean if a field has been set. + +### GetFlags + +`func (o *V0036JobResponseProperties) GetFlags() []string` + +GetFlags returns the Flags field if non-nil, zero value otherwise. + +### GetFlagsOk + +`func (o *V0036JobResponseProperties) GetFlagsOk() (*[]string, bool)` + +GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlags + +`func (o *V0036JobResponseProperties) SetFlags(v []string)` + +SetFlags sets Flags field to given value. + +### HasFlags + +`func (o *V0036JobResponseProperties) HasFlags() bool` + +HasFlags returns a boolean if a field has been set. + +### GetBurstBuffer + +`func (o *V0036JobResponseProperties) GetBurstBuffer() string` + +GetBurstBuffer returns the BurstBuffer field if non-nil, zero value otherwise. + +### GetBurstBufferOk + +`func (o *V0036JobResponseProperties) GetBurstBufferOk() (*string, bool)` + +GetBurstBufferOk returns a tuple with the BurstBuffer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBurstBuffer + +`func (o *V0036JobResponseProperties) SetBurstBuffer(v string)` + +SetBurstBuffer sets BurstBuffer field to given value. + +### HasBurstBuffer + +`func (o *V0036JobResponseProperties) HasBurstBuffer() bool` + +HasBurstBuffer returns a boolean if a field has been set. + +### GetBurstBufferState + +`func (o *V0036JobResponseProperties) GetBurstBufferState() string` + +GetBurstBufferState returns the BurstBufferState field if non-nil, zero value otherwise. + +### GetBurstBufferStateOk + +`func (o *V0036JobResponseProperties) GetBurstBufferStateOk() (*string, bool)` + +GetBurstBufferStateOk returns a tuple with the BurstBufferState field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBurstBufferState + +`func (o *V0036JobResponseProperties) SetBurstBufferState(v string)` + +SetBurstBufferState sets BurstBufferState field to given value. + +### HasBurstBufferState + +`func (o *V0036JobResponseProperties) HasBurstBufferState() bool` + +HasBurstBufferState returns a boolean if a field has been set. + +### GetCluster + +`func (o *V0036JobResponseProperties) GetCluster() string` + +GetCluster returns the Cluster field if non-nil, zero value otherwise. + +### GetClusterOk + +`func (o *V0036JobResponseProperties) GetClusterOk() (*string, bool)` + +GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCluster + +`func (o *V0036JobResponseProperties) SetCluster(v string)` + +SetCluster sets Cluster field to given value. + +### HasCluster + +`func (o *V0036JobResponseProperties) HasCluster() bool` + +HasCluster returns a boolean if a field has been set. + +### GetClusterFeatures + +`func (o *V0036JobResponseProperties) GetClusterFeatures() string` + +GetClusterFeatures returns the ClusterFeatures field if non-nil, zero value otherwise. + +### GetClusterFeaturesOk + +`func (o *V0036JobResponseProperties) GetClusterFeaturesOk() (*string, bool)` + +GetClusterFeaturesOk returns a tuple with the ClusterFeatures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClusterFeatures + +`func (o *V0036JobResponseProperties) SetClusterFeatures(v string)` + +SetClusterFeatures sets ClusterFeatures field to given value. + +### HasClusterFeatures + +`func (o *V0036JobResponseProperties) HasClusterFeatures() bool` + +HasClusterFeatures returns a boolean if a field has been set. + +### GetCommand + +`func (o *V0036JobResponseProperties) GetCommand() string` + +GetCommand returns the Command field if non-nil, zero value otherwise. + +### GetCommandOk + +`func (o *V0036JobResponseProperties) GetCommandOk() (*string, bool)` + +GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommand + +`func (o *V0036JobResponseProperties) SetCommand(v string)` + +SetCommand sets Command field to given value. + +### HasCommand + +`func (o *V0036JobResponseProperties) HasCommand() bool` + +HasCommand returns a boolean if a field has been set. + +### GetComment + +`func (o *V0036JobResponseProperties) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *V0036JobResponseProperties) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *V0036JobResponseProperties) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *V0036JobResponseProperties) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetContiguous + +`func (o *V0036JobResponseProperties) GetContiguous() bool` + +GetContiguous returns the Contiguous field if non-nil, zero value otherwise. + +### GetContiguousOk + +`func (o *V0036JobResponseProperties) GetContiguousOk() (*bool, bool)` + +GetContiguousOk returns a tuple with the Contiguous field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContiguous + +`func (o *V0036JobResponseProperties) SetContiguous(v bool)` + +SetContiguous sets Contiguous field to given value. + +### HasContiguous + +`func (o *V0036JobResponseProperties) HasContiguous() bool` + +HasContiguous returns a boolean if a field has been set. + +### GetCoreSpec + +`func (o *V0036JobResponseProperties) GetCoreSpec() string` + +GetCoreSpec returns the CoreSpec field if non-nil, zero value otherwise. + +### GetCoreSpecOk + +`func (o *V0036JobResponseProperties) GetCoreSpecOk() (*string, bool)` + +GetCoreSpecOk returns a tuple with the CoreSpec field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoreSpec + +`func (o *V0036JobResponseProperties) SetCoreSpec(v string)` + +SetCoreSpec sets CoreSpec field to given value. + +### HasCoreSpec + +`func (o *V0036JobResponseProperties) HasCoreSpec() bool` + +HasCoreSpec returns a boolean if a field has been set. + +### GetThreadSpec + +`func (o *V0036JobResponseProperties) GetThreadSpec() string` + +GetThreadSpec returns the ThreadSpec field if non-nil, zero value otherwise. + +### GetThreadSpecOk + +`func (o *V0036JobResponseProperties) GetThreadSpecOk() (*string, bool)` + +GetThreadSpecOk returns a tuple with the ThreadSpec field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThreadSpec + +`func (o *V0036JobResponseProperties) SetThreadSpec(v string)` + +SetThreadSpec sets ThreadSpec field to given value. + +### HasThreadSpec + +`func (o *V0036JobResponseProperties) HasThreadSpec() bool` + +HasThreadSpec returns a boolean if a field has been set. + +### GetCoresPerSocket + +`func (o *V0036JobResponseProperties) GetCoresPerSocket() string` + +GetCoresPerSocket returns the CoresPerSocket field if non-nil, zero value otherwise. + +### GetCoresPerSocketOk + +`func (o *V0036JobResponseProperties) GetCoresPerSocketOk() (*string, bool)` + +GetCoresPerSocketOk returns a tuple with the CoresPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoresPerSocket + +`func (o *V0036JobResponseProperties) SetCoresPerSocket(v string)` + +SetCoresPerSocket sets CoresPerSocket field to given value. + +### HasCoresPerSocket + +`func (o *V0036JobResponseProperties) HasCoresPerSocket() bool` + +HasCoresPerSocket returns a boolean if a field has been set. + +### GetBillableTres + +`func (o *V0036JobResponseProperties) GetBillableTres() string` + +GetBillableTres returns the BillableTres field if non-nil, zero value otherwise. + +### GetBillableTresOk + +`func (o *V0036JobResponseProperties) GetBillableTresOk() (*string, bool)` + +GetBillableTresOk returns a tuple with the BillableTres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBillableTres + +`func (o *V0036JobResponseProperties) SetBillableTres(v string)` + +SetBillableTres sets BillableTres field to given value. + +### HasBillableTres + +`func (o *V0036JobResponseProperties) HasBillableTres() bool` + +HasBillableTres returns a boolean if a field has been set. + +### GetCpusPerTask + +`func (o *V0036JobResponseProperties) GetCpusPerTask() string` + +GetCpusPerTask returns the CpusPerTask field if non-nil, zero value otherwise. + +### GetCpusPerTaskOk + +`func (o *V0036JobResponseProperties) GetCpusPerTaskOk() (*string, bool)` + +GetCpusPerTaskOk returns a tuple with the CpusPerTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpusPerTask + +`func (o *V0036JobResponseProperties) SetCpusPerTask(v string)` + +SetCpusPerTask sets CpusPerTask field to given value. + +### HasCpusPerTask + +`func (o *V0036JobResponseProperties) HasCpusPerTask() bool` + +HasCpusPerTask returns a boolean if a field has been set. + +### GetCpuFrequencyMinimum + +`func (o *V0036JobResponseProperties) GetCpuFrequencyMinimum() string` + +GetCpuFrequencyMinimum returns the CpuFrequencyMinimum field if non-nil, zero value otherwise. + +### GetCpuFrequencyMinimumOk + +`func (o *V0036JobResponseProperties) GetCpuFrequencyMinimumOk() (*string, bool)` + +GetCpuFrequencyMinimumOk returns a tuple with the CpuFrequencyMinimum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuFrequencyMinimum + +`func (o *V0036JobResponseProperties) SetCpuFrequencyMinimum(v string)` + +SetCpuFrequencyMinimum sets CpuFrequencyMinimum field to given value. + +### HasCpuFrequencyMinimum + +`func (o *V0036JobResponseProperties) HasCpuFrequencyMinimum() bool` + +HasCpuFrequencyMinimum returns a boolean if a field has been set. + +### GetCpuFrequencyMaximum + +`func (o *V0036JobResponseProperties) GetCpuFrequencyMaximum() string` + +GetCpuFrequencyMaximum returns the CpuFrequencyMaximum field if non-nil, zero value otherwise. + +### GetCpuFrequencyMaximumOk + +`func (o *V0036JobResponseProperties) GetCpuFrequencyMaximumOk() (*string, bool)` + +GetCpuFrequencyMaximumOk returns a tuple with the CpuFrequencyMaximum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuFrequencyMaximum + +`func (o *V0036JobResponseProperties) SetCpuFrequencyMaximum(v string)` + +SetCpuFrequencyMaximum sets CpuFrequencyMaximum field to given value. + +### HasCpuFrequencyMaximum + +`func (o *V0036JobResponseProperties) HasCpuFrequencyMaximum() bool` + +HasCpuFrequencyMaximum returns a boolean if a field has been set. + +### GetCpuFrequencyGovernor + +`func (o *V0036JobResponseProperties) GetCpuFrequencyGovernor() string` + +GetCpuFrequencyGovernor returns the CpuFrequencyGovernor field if non-nil, zero value otherwise. + +### GetCpuFrequencyGovernorOk + +`func (o *V0036JobResponseProperties) GetCpuFrequencyGovernorOk() (*string, bool)` + +GetCpuFrequencyGovernorOk returns a tuple with the CpuFrequencyGovernor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuFrequencyGovernor + +`func (o *V0036JobResponseProperties) SetCpuFrequencyGovernor(v string)` + +SetCpuFrequencyGovernor sets CpuFrequencyGovernor field to given value. + +### HasCpuFrequencyGovernor + +`func (o *V0036JobResponseProperties) HasCpuFrequencyGovernor() bool` + +HasCpuFrequencyGovernor returns a boolean if a field has been set. + +### GetCpusPerTres + +`func (o *V0036JobResponseProperties) GetCpusPerTres() string` + +GetCpusPerTres returns the CpusPerTres field if non-nil, zero value otherwise. + +### GetCpusPerTresOk + +`func (o *V0036JobResponseProperties) GetCpusPerTresOk() (*string, bool)` + +GetCpusPerTresOk returns a tuple with the CpusPerTres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpusPerTres + +`func (o *V0036JobResponseProperties) SetCpusPerTres(v string)` + +SetCpusPerTres sets CpusPerTres field to given value. + +### HasCpusPerTres + +`func (o *V0036JobResponseProperties) HasCpusPerTres() bool` + +HasCpusPerTres returns a boolean if a field has been set. + +### GetDeadline + +`func (o *V0036JobResponseProperties) GetDeadline() string` + +GetDeadline returns the Deadline field if non-nil, zero value otherwise. + +### GetDeadlineOk + +`func (o *V0036JobResponseProperties) GetDeadlineOk() (*string, bool)` + +GetDeadlineOk returns a tuple with the Deadline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeadline + +`func (o *V0036JobResponseProperties) SetDeadline(v string)` + +SetDeadline sets Deadline field to given value. + +### HasDeadline + +`func (o *V0036JobResponseProperties) HasDeadline() bool` + +HasDeadline returns a boolean if a field has been set. + +### GetDelayBoot + +`func (o *V0036JobResponseProperties) GetDelayBoot() string` + +GetDelayBoot returns the DelayBoot field if non-nil, zero value otherwise. + +### GetDelayBootOk + +`func (o *V0036JobResponseProperties) GetDelayBootOk() (*string, bool)` + +GetDelayBootOk returns a tuple with the DelayBoot field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDelayBoot + +`func (o *V0036JobResponseProperties) SetDelayBoot(v string)` + +SetDelayBoot sets DelayBoot field to given value. + +### HasDelayBoot + +`func (o *V0036JobResponseProperties) HasDelayBoot() bool` + +HasDelayBoot returns a boolean if a field has been set. + +### GetDependency + +`func (o *V0036JobResponseProperties) GetDependency() string` + +GetDependency returns the Dependency field if non-nil, zero value otherwise. + +### GetDependencyOk + +`func (o *V0036JobResponseProperties) GetDependencyOk() (*string, bool)` + +GetDependencyOk returns a tuple with the Dependency field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependency + +`func (o *V0036JobResponseProperties) SetDependency(v string)` + +SetDependency sets Dependency field to given value. + +### HasDependency + +`func (o *V0036JobResponseProperties) HasDependency() bool` + +HasDependency returns a boolean if a field has been set. + +### GetDerivedExitCode + +`func (o *V0036JobResponseProperties) GetDerivedExitCode() string` + +GetDerivedExitCode returns the DerivedExitCode field if non-nil, zero value otherwise. + +### GetDerivedExitCodeOk + +`func (o *V0036JobResponseProperties) GetDerivedExitCodeOk() (*string, bool)` + +GetDerivedExitCodeOk returns a tuple with the DerivedExitCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDerivedExitCode + +`func (o *V0036JobResponseProperties) SetDerivedExitCode(v string)` + +SetDerivedExitCode sets DerivedExitCode field to given value. + +### HasDerivedExitCode + +`func (o *V0036JobResponseProperties) HasDerivedExitCode() bool` + +HasDerivedExitCode returns a boolean if a field has been set. + +### GetEligibleTime + +`func (o *V0036JobResponseProperties) GetEligibleTime() int64` + +GetEligibleTime returns the EligibleTime field if non-nil, zero value otherwise. + +### GetEligibleTimeOk + +`func (o *V0036JobResponseProperties) GetEligibleTimeOk() (*int64, bool)` + +GetEligibleTimeOk returns a tuple with the EligibleTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEligibleTime + +`func (o *V0036JobResponseProperties) SetEligibleTime(v int64)` + +SetEligibleTime sets EligibleTime field to given value. + +### HasEligibleTime + +`func (o *V0036JobResponseProperties) HasEligibleTime() bool` + +HasEligibleTime returns a boolean if a field has been set. + +### GetEndTime + +`func (o *V0036JobResponseProperties) GetEndTime() int64` + +GetEndTime returns the EndTime field if non-nil, zero value otherwise. + +### GetEndTimeOk + +`func (o *V0036JobResponseProperties) GetEndTimeOk() (*int64, bool)` + +GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndTime + +`func (o *V0036JobResponseProperties) SetEndTime(v int64)` + +SetEndTime sets EndTime field to given value. + +### HasEndTime + +`func (o *V0036JobResponseProperties) HasEndTime() bool` + +HasEndTime returns a boolean if a field has been set. + +### GetExcludedNodes + +`func (o *V0036JobResponseProperties) GetExcludedNodes() string` + +GetExcludedNodes returns the ExcludedNodes field if non-nil, zero value otherwise. + +### GetExcludedNodesOk + +`func (o *V0036JobResponseProperties) GetExcludedNodesOk() (*string, bool)` + +GetExcludedNodesOk returns a tuple with the ExcludedNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExcludedNodes + +`func (o *V0036JobResponseProperties) SetExcludedNodes(v string)` + +SetExcludedNodes sets ExcludedNodes field to given value. + +### HasExcludedNodes + +`func (o *V0036JobResponseProperties) HasExcludedNodes() bool` + +HasExcludedNodes returns a boolean if a field has been set. + +### GetExitCode + +`func (o *V0036JobResponseProperties) GetExitCode() int32` + +GetExitCode returns the ExitCode field if non-nil, zero value otherwise. + +### GetExitCodeOk + +`func (o *V0036JobResponseProperties) GetExitCodeOk() (*int32, bool)` + +GetExitCodeOk returns a tuple with the ExitCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExitCode + +`func (o *V0036JobResponseProperties) SetExitCode(v int32)` + +SetExitCode sets ExitCode field to given value. + +### HasExitCode + +`func (o *V0036JobResponseProperties) HasExitCode() bool` + +HasExitCode returns a boolean if a field has been set. + +### GetFeatures + +`func (o *V0036JobResponseProperties) GetFeatures() string` + +GetFeatures returns the Features field if non-nil, zero value otherwise. + +### GetFeaturesOk + +`func (o *V0036JobResponseProperties) GetFeaturesOk() (*string, bool)` + +GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeatures + +`func (o *V0036JobResponseProperties) SetFeatures(v string)` + +SetFeatures sets Features field to given value. + +### HasFeatures + +`func (o *V0036JobResponseProperties) HasFeatures() bool` + +HasFeatures returns a boolean if a field has been set. + +### GetFederationOrigin + +`func (o *V0036JobResponseProperties) GetFederationOrigin() string` + +GetFederationOrigin returns the FederationOrigin field if non-nil, zero value otherwise. + +### GetFederationOriginOk + +`func (o *V0036JobResponseProperties) GetFederationOriginOk() (*string, bool)` + +GetFederationOriginOk returns a tuple with the FederationOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederationOrigin + +`func (o *V0036JobResponseProperties) SetFederationOrigin(v string)` + +SetFederationOrigin sets FederationOrigin field to given value. + +### HasFederationOrigin + +`func (o *V0036JobResponseProperties) HasFederationOrigin() bool` + +HasFederationOrigin returns a boolean if a field has been set. + +### GetFederationSiblingsActive + +`func (o *V0036JobResponseProperties) GetFederationSiblingsActive() string` + +GetFederationSiblingsActive returns the FederationSiblingsActive field if non-nil, zero value otherwise. + +### GetFederationSiblingsActiveOk + +`func (o *V0036JobResponseProperties) GetFederationSiblingsActiveOk() (*string, bool)` + +GetFederationSiblingsActiveOk returns a tuple with the FederationSiblingsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederationSiblingsActive + +`func (o *V0036JobResponseProperties) SetFederationSiblingsActive(v string)` + +SetFederationSiblingsActive sets FederationSiblingsActive field to given value. + +### HasFederationSiblingsActive + +`func (o *V0036JobResponseProperties) HasFederationSiblingsActive() bool` + +HasFederationSiblingsActive returns a boolean if a field has been set. + +### GetFederationSiblingsViable + +`func (o *V0036JobResponseProperties) GetFederationSiblingsViable() string` + +GetFederationSiblingsViable returns the FederationSiblingsViable field if non-nil, zero value otherwise. + +### GetFederationSiblingsViableOk + +`func (o *V0036JobResponseProperties) GetFederationSiblingsViableOk() (*string, bool)` + +GetFederationSiblingsViableOk returns a tuple with the FederationSiblingsViable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederationSiblingsViable + +`func (o *V0036JobResponseProperties) SetFederationSiblingsViable(v string)` + +SetFederationSiblingsViable sets FederationSiblingsViable field to given value. + +### HasFederationSiblingsViable + +`func (o *V0036JobResponseProperties) HasFederationSiblingsViable() bool` + +HasFederationSiblingsViable returns a boolean if a field has been set. + +### GetGresDetail + +`func (o *V0036JobResponseProperties) GetGresDetail() []string` + +GetGresDetail returns the GresDetail field if non-nil, zero value otherwise. + +### GetGresDetailOk + +`func (o *V0036JobResponseProperties) GetGresDetailOk() (*[]string, bool)` + +GetGresDetailOk returns a tuple with the GresDetail field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGresDetail + +`func (o *V0036JobResponseProperties) SetGresDetail(v []string)` + +SetGresDetail sets GresDetail field to given value. + +### HasGresDetail + +`func (o *V0036JobResponseProperties) HasGresDetail() bool` + +HasGresDetail returns a boolean if a field has been set. + +### GetGroupId + +`func (o *V0036JobResponseProperties) GetGroupId() string` + +GetGroupId returns the GroupId field if non-nil, zero value otherwise. + +### GetGroupIdOk + +`func (o *V0036JobResponseProperties) GetGroupIdOk() (*string, bool)` + +GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupId + +`func (o *V0036JobResponseProperties) SetGroupId(v string)` + +SetGroupId sets GroupId field to given value. + +### HasGroupId + +`func (o *V0036JobResponseProperties) HasGroupId() bool` + +HasGroupId returns a boolean if a field has been set. + +### GetJobId + +`func (o *V0036JobResponseProperties) GetJobId() string` + +GetJobId returns the JobId field if non-nil, zero value otherwise. + +### GetJobIdOk + +`func (o *V0036JobResponseProperties) GetJobIdOk() (*string, bool)` + +GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobId + +`func (o *V0036JobResponseProperties) SetJobId(v string)` + +SetJobId sets JobId field to given value. + +### HasJobId + +`func (o *V0036JobResponseProperties) HasJobId() bool` + +HasJobId returns a boolean if a field has been set. + +### GetJobResources + +`func (o *V0036JobResponseProperties) GetJobResources() V0036JobResources` + +GetJobResources returns the JobResources field if non-nil, zero value otherwise. + +### GetJobResourcesOk + +`func (o *V0036JobResponseProperties) GetJobResourcesOk() (*V0036JobResources, bool)` + +GetJobResourcesOk returns a tuple with the JobResources field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobResources + +`func (o *V0036JobResponseProperties) SetJobResources(v V0036JobResources)` + +SetJobResources sets JobResources field to given value. + +### HasJobResources + +`func (o *V0036JobResponseProperties) HasJobResources() bool` + +HasJobResources returns a boolean if a field has been set. + +### GetJobState + +`func (o *V0036JobResponseProperties) GetJobState() string` + +GetJobState returns the JobState field if non-nil, zero value otherwise. + +### GetJobStateOk + +`func (o *V0036JobResponseProperties) GetJobStateOk() (*string, bool)` + +GetJobStateOk returns a tuple with the JobState field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobState + +`func (o *V0036JobResponseProperties) SetJobState(v string)` + +SetJobState sets JobState field to given value. + +### HasJobState + +`func (o *V0036JobResponseProperties) HasJobState() bool` + +HasJobState returns a boolean if a field has been set. + +### GetLastSchedEvaluation + +`func (o *V0036JobResponseProperties) GetLastSchedEvaluation() string` + +GetLastSchedEvaluation returns the LastSchedEvaluation field if non-nil, zero value otherwise. + +### GetLastSchedEvaluationOk + +`func (o *V0036JobResponseProperties) GetLastSchedEvaluationOk() (*string, bool)` + +GetLastSchedEvaluationOk returns a tuple with the LastSchedEvaluation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastSchedEvaluation + +`func (o *V0036JobResponseProperties) SetLastSchedEvaluation(v string)` + +SetLastSchedEvaluation sets LastSchedEvaluation field to given value. + +### HasLastSchedEvaluation + +`func (o *V0036JobResponseProperties) HasLastSchedEvaluation() bool` + +HasLastSchedEvaluation returns a boolean if a field has been set. + +### GetLicenses + +`func (o *V0036JobResponseProperties) GetLicenses() string` + +GetLicenses returns the Licenses field if non-nil, zero value otherwise. + +### GetLicensesOk + +`func (o *V0036JobResponseProperties) GetLicensesOk() (*string, bool)` + +GetLicensesOk returns a tuple with the Licenses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicenses + +`func (o *V0036JobResponseProperties) SetLicenses(v string)` + +SetLicenses sets Licenses field to given value. + +### HasLicenses + +`func (o *V0036JobResponseProperties) HasLicenses() bool` + +HasLicenses returns a boolean if a field has been set. + +### GetMaxCpus + +`func (o *V0036JobResponseProperties) GetMaxCpus() string` + +GetMaxCpus returns the MaxCpus field if non-nil, zero value otherwise. + +### GetMaxCpusOk + +`func (o *V0036JobResponseProperties) GetMaxCpusOk() (*string, bool)` + +GetMaxCpusOk returns a tuple with the MaxCpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCpus + +`func (o *V0036JobResponseProperties) SetMaxCpus(v string)` + +SetMaxCpus sets MaxCpus field to given value. + +### HasMaxCpus + +`func (o *V0036JobResponseProperties) HasMaxCpus() bool` + +HasMaxCpus returns a boolean if a field has been set. + +### GetMaxNodes + +`func (o *V0036JobResponseProperties) GetMaxNodes() string` + +GetMaxNodes returns the MaxNodes field if non-nil, zero value otherwise. + +### GetMaxNodesOk + +`func (o *V0036JobResponseProperties) GetMaxNodesOk() (*string, bool)` + +GetMaxNodesOk returns a tuple with the MaxNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxNodes + +`func (o *V0036JobResponseProperties) SetMaxNodes(v string)` + +SetMaxNodes sets MaxNodes field to given value. + +### HasMaxNodes + +`func (o *V0036JobResponseProperties) HasMaxNodes() bool` + +HasMaxNodes returns a boolean if a field has been set. + +### GetMcsLabel + +`func (o *V0036JobResponseProperties) GetMcsLabel() string` + +GetMcsLabel returns the McsLabel field if non-nil, zero value otherwise. + +### GetMcsLabelOk + +`func (o *V0036JobResponseProperties) GetMcsLabelOk() (*string, bool)` + +GetMcsLabelOk returns a tuple with the McsLabel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMcsLabel + +`func (o *V0036JobResponseProperties) SetMcsLabel(v string)` + +SetMcsLabel sets McsLabel field to given value. + +### HasMcsLabel + +`func (o *V0036JobResponseProperties) HasMcsLabel() bool` + +HasMcsLabel returns a boolean if a field has been set. + +### GetMemoryPerTres + +`func (o *V0036JobResponseProperties) GetMemoryPerTres() string` + +GetMemoryPerTres returns the MemoryPerTres field if non-nil, zero value otherwise. + +### GetMemoryPerTresOk + +`func (o *V0036JobResponseProperties) GetMemoryPerTresOk() (*string, bool)` + +GetMemoryPerTresOk returns a tuple with the MemoryPerTres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerTres + +`func (o *V0036JobResponseProperties) SetMemoryPerTres(v string)` + +SetMemoryPerTres sets MemoryPerTres field to given value. + +### HasMemoryPerTres + +`func (o *V0036JobResponseProperties) HasMemoryPerTres() bool` + +HasMemoryPerTres returns a boolean if a field has been set. + +### GetName + +`func (o *V0036JobResponseProperties) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *V0036JobResponseProperties) 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 *V0036JobResponseProperties) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *V0036JobResponseProperties) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNodes + +`func (o *V0036JobResponseProperties) GetNodes() string` + +GetNodes returns the Nodes field if non-nil, zero value otherwise. + +### GetNodesOk + +`func (o *V0036JobResponseProperties) GetNodesOk() (*string, bool)` + +GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodes + +`func (o *V0036JobResponseProperties) SetNodes(v string)` + +SetNodes sets Nodes field to given value. + +### HasNodes + +`func (o *V0036JobResponseProperties) HasNodes() bool` + +HasNodes returns a boolean if a field has been set. + +### GetNice + +`func (o *V0036JobResponseProperties) GetNice() string` + +GetNice returns the Nice field if non-nil, zero value otherwise. + +### GetNiceOk + +`func (o *V0036JobResponseProperties) GetNiceOk() (*string, bool)` + +GetNiceOk returns a tuple with the Nice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNice + +`func (o *V0036JobResponseProperties) SetNice(v string)` + +SetNice sets Nice field to given value. + +### HasNice + +`func (o *V0036JobResponseProperties) HasNice() bool` + +HasNice returns a boolean if a field has been set. + +### GetTasksPerCore + +`func (o *V0036JobResponseProperties) GetTasksPerCore() string` + +GetTasksPerCore returns the TasksPerCore field if non-nil, zero value otherwise. + +### GetTasksPerCoreOk + +`func (o *V0036JobResponseProperties) GetTasksPerCoreOk() (*string, bool)` + +GetTasksPerCoreOk returns a tuple with the TasksPerCore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerCore + +`func (o *V0036JobResponseProperties) SetTasksPerCore(v string)` + +SetTasksPerCore sets TasksPerCore field to given value. + +### HasTasksPerCore + +`func (o *V0036JobResponseProperties) HasTasksPerCore() bool` + +HasTasksPerCore returns a boolean if a field has been set. + +### GetTasksPerSocket + +`func (o *V0036JobResponseProperties) GetTasksPerSocket() string` + +GetTasksPerSocket returns the TasksPerSocket field if non-nil, zero value otherwise. + +### GetTasksPerSocketOk + +`func (o *V0036JobResponseProperties) GetTasksPerSocketOk() (*string, bool)` + +GetTasksPerSocketOk returns a tuple with the TasksPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerSocket + +`func (o *V0036JobResponseProperties) SetTasksPerSocket(v string)` + +SetTasksPerSocket sets TasksPerSocket field to given value. + +### HasTasksPerSocket + +`func (o *V0036JobResponseProperties) HasTasksPerSocket() bool` + +HasTasksPerSocket returns a boolean if a field has been set. + +### GetTasksPerBoard + +`func (o *V0036JobResponseProperties) GetTasksPerBoard() string` + +GetTasksPerBoard returns the TasksPerBoard field if non-nil, zero value otherwise. + +### GetTasksPerBoardOk + +`func (o *V0036JobResponseProperties) GetTasksPerBoardOk() (*string, bool)` + +GetTasksPerBoardOk returns a tuple with the TasksPerBoard field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasksPerBoard + +`func (o *V0036JobResponseProperties) SetTasksPerBoard(v string)` + +SetTasksPerBoard sets TasksPerBoard field to given value. + +### HasTasksPerBoard + +`func (o *V0036JobResponseProperties) HasTasksPerBoard() bool` + +HasTasksPerBoard returns a boolean if a field has been set. + +### GetCpus + +`func (o *V0036JobResponseProperties) GetCpus() string` + +GetCpus returns the Cpus field if non-nil, zero value otherwise. + +### GetCpusOk + +`func (o *V0036JobResponseProperties) GetCpusOk() (*string, bool)` + +GetCpusOk returns a tuple with the Cpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpus + +`func (o *V0036JobResponseProperties) SetCpus(v string)` + +SetCpus sets Cpus field to given value. + +### HasCpus + +`func (o *V0036JobResponseProperties) HasCpus() bool` + +HasCpus returns a boolean if a field has been set. + +### GetNodeCount + +`func (o *V0036JobResponseProperties) GetNodeCount() string` + +GetNodeCount returns the NodeCount field if non-nil, zero value otherwise. + +### GetNodeCountOk + +`func (o *V0036JobResponseProperties) GetNodeCountOk() (*string, bool)` + +GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodeCount + +`func (o *V0036JobResponseProperties) SetNodeCount(v string)` + +SetNodeCount sets NodeCount field to given value. + +### HasNodeCount + +`func (o *V0036JobResponseProperties) HasNodeCount() bool` + +HasNodeCount returns a boolean if a field has been set. + +### GetTasks + +`func (o *V0036JobResponseProperties) GetTasks() string` + +GetTasks returns the Tasks field if non-nil, zero value otherwise. + +### GetTasksOk + +`func (o *V0036JobResponseProperties) GetTasksOk() (*string, bool)` + +GetTasksOk returns a tuple with the Tasks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTasks + +`func (o *V0036JobResponseProperties) SetTasks(v string)` + +SetTasks sets Tasks field to given value. + +### HasTasks + +`func (o *V0036JobResponseProperties) HasTasks() bool` + +HasTasks returns a boolean if a field has been set. + +### GetHetJobId + +`func (o *V0036JobResponseProperties) GetHetJobId() string` + +GetHetJobId returns the HetJobId field if non-nil, zero value otherwise. + +### GetHetJobIdOk + +`func (o *V0036JobResponseProperties) GetHetJobIdOk() (*string, bool)` + +GetHetJobIdOk returns a tuple with the HetJobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHetJobId + +`func (o *V0036JobResponseProperties) SetHetJobId(v string)` + +SetHetJobId sets HetJobId field to given value. + +### HasHetJobId + +`func (o *V0036JobResponseProperties) HasHetJobId() bool` + +HasHetJobId returns a boolean if a field has been set. + +### GetHetJobIdSet + +`func (o *V0036JobResponseProperties) GetHetJobIdSet() string` + +GetHetJobIdSet returns the HetJobIdSet field if non-nil, zero value otherwise. + +### GetHetJobIdSetOk + +`func (o *V0036JobResponseProperties) GetHetJobIdSetOk() (*string, bool)` + +GetHetJobIdSetOk returns a tuple with the HetJobIdSet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHetJobIdSet + +`func (o *V0036JobResponseProperties) SetHetJobIdSet(v string)` + +SetHetJobIdSet sets HetJobIdSet field to given value. + +### HasHetJobIdSet + +`func (o *V0036JobResponseProperties) HasHetJobIdSet() bool` + +HasHetJobIdSet returns a boolean if a field has been set. + +### GetHetJobOffset + +`func (o *V0036JobResponseProperties) GetHetJobOffset() string` + +GetHetJobOffset returns the HetJobOffset field if non-nil, zero value otherwise. + +### GetHetJobOffsetOk + +`func (o *V0036JobResponseProperties) GetHetJobOffsetOk() (*string, bool)` + +GetHetJobOffsetOk returns a tuple with the HetJobOffset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHetJobOffset + +`func (o *V0036JobResponseProperties) SetHetJobOffset(v string)` + +SetHetJobOffset sets HetJobOffset field to given value. + +### HasHetJobOffset + +`func (o *V0036JobResponseProperties) HasHetJobOffset() bool` + +HasHetJobOffset returns a boolean if a field has been set. + +### GetPartition + +`func (o *V0036JobResponseProperties) GetPartition() string` + +GetPartition returns the Partition field if non-nil, zero value otherwise. + +### GetPartitionOk + +`func (o *V0036JobResponseProperties) GetPartitionOk() (*string, bool)` + +GetPartitionOk returns a tuple with the Partition field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartition + +`func (o *V0036JobResponseProperties) SetPartition(v string)` + +SetPartition sets Partition field to given value. + +### HasPartition + +`func (o *V0036JobResponseProperties) HasPartition() bool` + +HasPartition returns a boolean if a field has been set. + +### GetMemoryPerNode + +`func (o *V0036JobResponseProperties) GetMemoryPerNode() string` + +GetMemoryPerNode returns the MemoryPerNode field if non-nil, zero value otherwise. + +### GetMemoryPerNodeOk + +`func (o *V0036JobResponseProperties) GetMemoryPerNodeOk() (*string, bool)` + +GetMemoryPerNodeOk returns a tuple with the MemoryPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerNode + +`func (o *V0036JobResponseProperties) SetMemoryPerNode(v string)` + +SetMemoryPerNode sets MemoryPerNode field to given value. + +### HasMemoryPerNode + +`func (o *V0036JobResponseProperties) HasMemoryPerNode() bool` + +HasMemoryPerNode returns a boolean if a field has been set. + +### GetMemoryPerCpu + +`func (o *V0036JobResponseProperties) GetMemoryPerCpu() string` + +GetMemoryPerCpu returns the MemoryPerCpu field if non-nil, zero value otherwise. + +### GetMemoryPerCpuOk + +`func (o *V0036JobResponseProperties) GetMemoryPerCpuOk() (*string, bool)` + +GetMemoryPerCpuOk returns a tuple with the MemoryPerCpu field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemoryPerCpu + +`func (o *V0036JobResponseProperties) SetMemoryPerCpu(v string)` + +SetMemoryPerCpu sets MemoryPerCpu field to given value. + +### HasMemoryPerCpu + +`func (o *V0036JobResponseProperties) HasMemoryPerCpu() bool` + +HasMemoryPerCpu returns a boolean if a field has been set. + +### GetMinimumCpusPerNode + +`func (o *V0036JobResponseProperties) GetMinimumCpusPerNode() string` + +GetMinimumCpusPerNode returns the MinimumCpusPerNode field if non-nil, zero value otherwise. + +### GetMinimumCpusPerNodeOk + +`func (o *V0036JobResponseProperties) GetMinimumCpusPerNodeOk() (*string, bool)` + +GetMinimumCpusPerNodeOk returns a tuple with the MinimumCpusPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumCpusPerNode + +`func (o *V0036JobResponseProperties) SetMinimumCpusPerNode(v string)` + +SetMinimumCpusPerNode sets MinimumCpusPerNode field to given value. + +### HasMinimumCpusPerNode + +`func (o *V0036JobResponseProperties) HasMinimumCpusPerNode() bool` + +HasMinimumCpusPerNode returns a boolean if a field has been set. + +### GetMinimumTmpDiskPerNode + +`func (o *V0036JobResponseProperties) GetMinimumTmpDiskPerNode() string` + +GetMinimumTmpDiskPerNode returns the MinimumTmpDiskPerNode field if non-nil, zero value otherwise. + +### GetMinimumTmpDiskPerNodeOk + +`func (o *V0036JobResponseProperties) GetMinimumTmpDiskPerNodeOk() (*string, bool)` + +GetMinimumTmpDiskPerNodeOk returns a tuple with the MinimumTmpDiskPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumTmpDiskPerNode + +`func (o *V0036JobResponseProperties) SetMinimumTmpDiskPerNode(v string)` + +SetMinimumTmpDiskPerNode sets MinimumTmpDiskPerNode field to given value. + +### HasMinimumTmpDiskPerNode + +`func (o *V0036JobResponseProperties) HasMinimumTmpDiskPerNode() bool` + +HasMinimumTmpDiskPerNode returns a boolean if a field has been set. + +### GetPreemptTime + +`func (o *V0036JobResponseProperties) GetPreemptTime() int64` + +GetPreemptTime returns the PreemptTime field if non-nil, zero value otherwise. + +### GetPreemptTimeOk + +`func (o *V0036JobResponseProperties) GetPreemptTimeOk() (*int64, bool)` + +GetPreemptTimeOk returns a tuple with the PreemptTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreemptTime + +`func (o *V0036JobResponseProperties) SetPreemptTime(v int64)` + +SetPreemptTime sets PreemptTime field to given value. + +### HasPreemptTime + +`func (o *V0036JobResponseProperties) HasPreemptTime() bool` + +HasPreemptTime returns a boolean if a field has been set. + +### GetPreSusTime + +`func (o *V0036JobResponseProperties) GetPreSusTime() int64` + +GetPreSusTime returns the PreSusTime field if non-nil, zero value otherwise. + +### GetPreSusTimeOk + +`func (o *V0036JobResponseProperties) GetPreSusTimeOk() (*int64, bool)` + +GetPreSusTimeOk returns a tuple with the PreSusTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreSusTime + +`func (o *V0036JobResponseProperties) SetPreSusTime(v int64)` + +SetPreSusTime sets PreSusTime field to given value. + +### HasPreSusTime + +`func (o *V0036JobResponseProperties) HasPreSusTime() bool` + +HasPreSusTime returns a boolean if a field has been set. + +### GetPriority + +`func (o *V0036JobResponseProperties) GetPriority() string` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *V0036JobResponseProperties) GetPriorityOk() (*string, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *V0036JobResponseProperties) SetPriority(v string)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *V0036JobResponseProperties) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetProfile + +`func (o *V0036JobResponseProperties) GetProfile() []string` + +GetProfile returns the Profile field if non-nil, zero value otherwise. + +### GetProfileOk + +`func (o *V0036JobResponseProperties) GetProfileOk() (*[]string, bool)` + +GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfile + +`func (o *V0036JobResponseProperties) SetProfile(v []string)` + +SetProfile sets Profile field to given value. + +### HasProfile + +`func (o *V0036JobResponseProperties) HasProfile() bool` + +HasProfile returns a boolean if a field has been set. + +### GetQos + +`func (o *V0036JobResponseProperties) GetQos() string` + +GetQos returns the Qos field if non-nil, zero value otherwise. + +### GetQosOk + +`func (o *V0036JobResponseProperties) GetQosOk() (*string, bool)` + +GetQosOk returns a tuple with the Qos field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQos + +`func (o *V0036JobResponseProperties) SetQos(v string)` + +SetQos sets Qos field to given value. + +### HasQos + +`func (o *V0036JobResponseProperties) HasQos() bool` + +HasQos returns a boolean if a field has been set. + +### GetReboot + +`func (o *V0036JobResponseProperties) GetReboot() bool` + +GetReboot returns the Reboot field if non-nil, zero value otherwise. + +### GetRebootOk + +`func (o *V0036JobResponseProperties) GetRebootOk() (*bool, bool)` + +GetRebootOk returns a tuple with the Reboot field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReboot + +`func (o *V0036JobResponseProperties) SetReboot(v bool)` + +SetReboot sets Reboot field to given value. + +### HasReboot + +`func (o *V0036JobResponseProperties) HasReboot() bool` + +HasReboot returns a boolean if a field has been set. + +### GetRequiredNodes + +`func (o *V0036JobResponseProperties) GetRequiredNodes() string` + +GetRequiredNodes returns the RequiredNodes field if non-nil, zero value otherwise. + +### GetRequiredNodesOk + +`func (o *V0036JobResponseProperties) GetRequiredNodesOk() (*string, bool)` + +GetRequiredNodesOk returns a tuple with the RequiredNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequiredNodes + +`func (o *V0036JobResponseProperties) SetRequiredNodes(v string)` + +SetRequiredNodes sets RequiredNodes field to given value. + +### HasRequiredNodes + +`func (o *V0036JobResponseProperties) HasRequiredNodes() bool` + +HasRequiredNodes returns a boolean if a field has been set. + +### GetRequeue + +`func (o *V0036JobResponseProperties) GetRequeue() bool` + +GetRequeue returns the Requeue field if non-nil, zero value otherwise. + +### GetRequeueOk + +`func (o *V0036JobResponseProperties) GetRequeueOk() (*bool, bool)` + +GetRequeueOk returns a tuple with the Requeue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequeue + +`func (o *V0036JobResponseProperties) SetRequeue(v bool)` + +SetRequeue sets Requeue field to given value. + +### HasRequeue + +`func (o *V0036JobResponseProperties) HasRequeue() bool` + +HasRequeue returns a boolean if a field has been set. + +### GetResizeTime + +`func (o *V0036JobResponseProperties) GetResizeTime() int64` + +GetResizeTime returns the ResizeTime field if non-nil, zero value otherwise. + +### GetResizeTimeOk + +`func (o *V0036JobResponseProperties) GetResizeTimeOk() (*int64, bool)` + +GetResizeTimeOk returns a tuple with the ResizeTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResizeTime + +`func (o *V0036JobResponseProperties) SetResizeTime(v int64)` + +SetResizeTime sets ResizeTime field to given value. + +### HasResizeTime + +`func (o *V0036JobResponseProperties) HasResizeTime() bool` + +HasResizeTime returns a boolean if a field has been set. + +### GetRestartCnt + +`func (o *V0036JobResponseProperties) GetRestartCnt() string` + +GetRestartCnt returns the RestartCnt field if non-nil, zero value otherwise. + +### GetRestartCntOk + +`func (o *V0036JobResponseProperties) GetRestartCntOk() (*string, bool)` + +GetRestartCntOk returns a tuple with the RestartCnt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRestartCnt + +`func (o *V0036JobResponseProperties) SetRestartCnt(v string)` + +SetRestartCnt sets RestartCnt field to given value. + +### HasRestartCnt + +`func (o *V0036JobResponseProperties) HasRestartCnt() bool` + +HasRestartCnt returns a boolean if a field has been set. + +### GetResvName + +`func (o *V0036JobResponseProperties) GetResvName() string` + +GetResvName returns the ResvName field if non-nil, zero value otherwise. + +### GetResvNameOk + +`func (o *V0036JobResponseProperties) GetResvNameOk() (*string, bool)` + +GetResvNameOk returns a tuple with the ResvName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResvName + +`func (o *V0036JobResponseProperties) SetResvName(v string)` + +SetResvName sets ResvName field to given value. + +### HasResvName + +`func (o *V0036JobResponseProperties) HasResvName() bool` + +HasResvName returns a boolean if a field has been set. + +### GetShared + +`func (o *V0036JobResponseProperties) GetShared() string` + +GetShared returns the Shared field if non-nil, zero value otherwise. + +### GetSharedOk + +`func (o *V0036JobResponseProperties) GetSharedOk() (*string, bool)` + +GetSharedOk returns a tuple with the Shared field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShared + +`func (o *V0036JobResponseProperties) SetShared(v string)` + +SetShared sets Shared field to given value. + +### HasShared + +`func (o *V0036JobResponseProperties) HasShared() bool` + +HasShared returns a boolean if a field has been set. + +### GetShowFlags + +`func (o *V0036JobResponseProperties) GetShowFlags() []string` + +GetShowFlags returns the ShowFlags field if non-nil, zero value otherwise. + +### GetShowFlagsOk + +`func (o *V0036JobResponseProperties) GetShowFlagsOk() (*[]string, bool)` + +GetShowFlagsOk returns a tuple with the ShowFlags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShowFlags + +`func (o *V0036JobResponseProperties) SetShowFlags(v []string)` + +SetShowFlags sets ShowFlags field to given value. + +### HasShowFlags + +`func (o *V0036JobResponseProperties) HasShowFlags() bool` + +HasShowFlags returns a boolean if a field has been set. + +### GetSocketsPerBoard + +`func (o *V0036JobResponseProperties) GetSocketsPerBoard() string` + +GetSocketsPerBoard returns the SocketsPerBoard field if non-nil, zero value otherwise. + +### GetSocketsPerBoardOk + +`func (o *V0036JobResponseProperties) GetSocketsPerBoardOk() (*string, bool)` + +GetSocketsPerBoardOk returns a tuple with the SocketsPerBoard field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSocketsPerBoard + +`func (o *V0036JobResponseProperties) SetSocketsPerBoard(v string)` + +SetSocketsPerBoard sets SocketsPerBoard field to given value. + +### HasSocketsPerBoard + +`func (o *V0036JobResponseProperties) HasSocketsPerBoard() bool` + +HasSocketsPerBoard returns a boolean if a field has been set. + +### GetSocketsPerNode + +`func (o *V0036JobResponseProperties) GetSocketsPerNode() string` + +GetSocketsPerNode returns the SocketsPerNode field if non-nil, zero value otherwise. + +### GetSocketsPerNodeOk + +`func (o *V0036JobResponseProperties) GetSocketsPerNodeOk() (*string, bool)` + +GetSocketsPerNodeOk returns a tuple with the SocketsPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSocketsPerNode + +`func (o *V0036JobResponseProperties) SetSocketsPerNode(v string)` + +SetSocketsPerNode sets SocketsPerNode field to given value. + +### HasSocketsPerNode + +`func (o *V0036JobResponseProperties) HasSocketsPerNode() bool` + +HasSocketsPerNode returns a boolean if a field has been set. + +### GetStartTime + +`func (o *V0036JobResponseProperties) GetStartTime() int64` + +GetStartTime returns the StartTime field if non-nil, zero value otherwise. + +### GetStartTimeOk + +`func (o *V0036JobResponseProperties) GetStartTimeOk() (*int64, bool)` + +GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartTime + +`func (o *V0036JobResponseProperties) SetStartTime(v int64)` + +SetStartTime sets StartTime field to given value. + +### HasStartTime + +`func (o *V0036JobResponseProperties) HasStartTime() bool` + +HasStartTime returns a boolean if a field has been set. + +### GetStateDescription + +`func (o *V0036JobResponseProperties) GetStateDescription() string` + +GetStateDescription returns the StateDescription field if non-nil, zero value otherwise. + +### GetStateDescriptionOk + +`func (o *V0036JobResponseProperties) GetStateDescriptionOk() (*string, bool)` + +GetStateDescriptionOk returns a tuple with the StateDescription field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStateDescription + +`func (o *V0036JobResponseProperties) SetStateDescription(v string)` + +SetStateDescription sets StateDescription field to given value. + +### HasStateDescription + +`func (o *V0036JobResponseProperties) HasStateDescription() bool` + +HasStateDescription returns a boolean if a field has been set. + +### GetStateReason + +`func (o *V0036JobResponseProperties) GetStateReason() string` + +GetStateReason returns the StateReason field if non-nil, zero value otherwise. + +### GetStateReasonOk + +`func (o *V0036JobResponseProperties) GetStateReasonOk() (*string, bool)` + +GetStateReasonOk returns a tuple with the StateReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStateReason + +`func (o *V0036JobResponseProperties) SetStateReason(v string)` + +SetStateReason sets StateReason field to given value. + +### HasStateReason + +`func (o *V0036JobResponseProperties) HasStateReason() bool` + +HasStateReason returns a boolean if a field has been set. + +### GetStandardError + +`func (o *V0036JobResponseProperties) GetStandardError() string` + +GetStandardError returns the StandardError field if non-nil, zero value otherwise. + +### GetStandardErrorOk + +`func (o *V0036JobResponseProperties) GetStandardErrorOk() (*string, bool)` + +GetStandardErrorOk returns a tuple with the StandardError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardError + +`func (o *V0036JobResponseProperties) SetStandardError(v string)` + +SetStandardError sets StandardError field to given value. + +### HasStandardError + +`func (o *V0036JobResponseProperties) HasStandardError() bool` + +HasStandardError returns a boolean if a field has been set. + +### GetStandardInput + +`func (o *V0036JobResponseProperties) GetStandardInput() string` + +GetStandardInput returns the StandardInput field if non-nil, zero value otherwise. + +### GetStandardInputOk + +`func (o *V0036JobResponseProperties) GetStandardInputOk() (*string, bool)` + +GetStandardInputOk returns a tuple with the StandardInput field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardInput + +`func (o *V0036JobResponseProperties) SetStandardInput(v string)` + +SetStandardInput sets StandardInput field to given value. + +### HasStandardInput + +`func (o *V0036JobResponseProperties) HasStandardInput() bool` + +HasStandardInput returns a boolean if a field has been set. + +### GetStandardOutput + +`func (o *V0036JobResponseProperties) GetStandardOutput() string` + +GetStandardOutput returns the StandardOutput field if non-nil, zero value otherwise. + +### GetStandardOutputOk + +`func (o *V0036JobResponseProperties) GetStandardOutputOk() (*string, bool)` + +GetStandardOutputOk returns a tuple with the StandardOutput field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardOutput + +`func (o *V0036JobResponseProperties) SetStandardOutput(v string)` + +SetStandardOutput sets StandardOutput field to given value. + +### HasStandardOutput + +`func (o *V0036JobResponseProperties) HasStandardOutput() bool` + +HasStandardOutput returns a boolean if a field has been set. + +### GetSubmitTime + +`func (o *V0036JobResponseProperties) GetSubmitTime() int64` + +GetSubmitTime returns the SubmitTime field if non-nil, zero value otherwise. + +### GetSubmitTimeOk + +`func (o *V0036JobResponseProperties) GetSubmitTimeOk() (*int64, bool)` + +GetSubmitTimeOk returns a tuple with the SubmitTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubmitTime + +`func (o *V0036JobResponseProperties) SetSubmitTime(v int64)` + +SetSubmitTime sets SubmitTime field to given value. + +### HasSubmitTime + +`func (o *V0036JobResponseProperties) HasSubmitTime() bool` + +HasSubmitTime returns a boolean if a field has been set. + +### GetSuspendTime + +`func (o *V0036JobResponseProperties) GetSuspendTime() int64` + +GetSuspendTime returns the SuspendTime field if non-nil, zero value otherwise. + +### GetSuspendTimeOk + +`func (o *V0036JobResponseProperties) GetSuspendTimeOk() (*int64, bool)` + +GetSuspendTimeOk returns a tuple with the SuspendTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSuspendTime + +`func (o *V0036JobResponseProperties) SetSuspendTime(v int64)` + +SetSuspendTime sets SuspendTime field to given value. + +### HasSuspendTime + +`func (o *V0036JobResponseProperties) HasSuspendTime() bool` + +HasSuspendTime returns a boolean if a field has been set. + +### GetSystemComment + +`func (o *V0036JobResponseProperties) GetSystemComment() string` + +GetSystemComment returns the SystemComment field if non-nil, zero value otherwise. + +### GetSystemCommentOk + +`func (o *V0036JobResponseProperties) GetSystemCommentOk() (*string, bool)` + +GetSystemCommentOk returns a tuple with the SystemComment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSystemComment + +`func (o *V0036JobResponseProperties) SetSystemComment(v string)` + +SetSystemComment sets SystemComment field to given value. + +### HasSystemComment + +`func (o *V0036JobResponseProperties) HasSystemComment() bool` + +HasSystemComment returns a boolean if a field has been set. + +### GetTimeLimit + +`func (o *V0036JobResponseProperties) GetTimeLimit() string` + +GetTimeLimit returns the TimeLimit field if non-nil, zero value otherwise. + +### GetTimeLimitOk + +`func (o *V0036JobResponseProperties) GetTimeLimitOk() (*string, bool)` + +GetTimeLimitOk returns a tuple with the TimeLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeLimit + +`func (o *V0036JobResponseProperties) SetTimeLimit(v string)` + +SetTimeLimit sets TimeLimit field to given value. + +### HasTimeLimit + +`func (o *V0036JobResponseProperties) HasTimeLimit() bool` + +HasTimeLimit returns a boolean if a field has been set. + +### GetTimeMinimum + +`func (o *V0036JobResponseProperties) GetTimeMinimum() string` + +GetTimeMinimum returns the TimeMinimum field if non-nil, zero value otherwise. + +### GetTimeMinimumOk + +`func (o *V0036JobResponseProperties) GetTimeMinimumOk() (*string, bool)` + +GetTimeMinimumOk returns a tuple with the TimeMinimum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeMinimum + +`func (o *V0036JobResponseProperties) SetTimeMinimum(v string)` + +SetTimeMinimum sets TimeMinimum field to given value. + +### HasTimeMinimum + +`func (o *V0036JobResponseProperties) HasTimeMinimum() bool` + +HasTimeMinimum returns a boolean if a field has been set. + +### GetThreadsPerCore + +`func (o *V0036JobResponseProperties) GetThreadsPerCore() string` + +GetThreadsPerCore returns the ThreadsPerCore field if non-nil, zero value otherwise. + +### GetThreadsPerCoreOk + +`func (o *V0036JobResponseProperties) GetThreadsPerCoreOk() (*string, bool)` + +GetThreadsPerCoreOk returns a tuple with the ThreadsPerCore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThreadsPerCore + +`func (o *V0036JobResponseProperties) SetThreadsPerCore(v string)` + +SetThreadsPerCore sets ThreadsPerCore field to given value. + +### HasThreadsPerCore + +`func (o *V0036JobResponseProperties) HasThreadsPerCore() bool` + +HasThreadsPerCore returns a boolean if a field has been set. + +### GetTresBind + +`func (o *V0036JobResponseProperties) GetTresBind() string` + +GetTresBind returns the TresBind field if non-nil, zero value otherwise. + +### GetTresBindOk + +`func (o *V0036JobResponseProperties) GetTresBindOk() (*string, bool)` + +GetTresBindOk returns a tuple with the TresBind field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresBind + +`func (o *V0036JobResponseProperties) SetTresBind(v string)` + +SetTresBind sets TresBind field to given value. + +### HasTresBind + +`func (o *V0036JobResponseProperties) HasTresBind() bool` + +HasTresBind returns a boolean if a field has been set. + +### GetTresFreq + +`func (o *V0036JobResponseProperties) GetTresFreq() string` + +GetTresFreq returns the TresFreq field if non-nil, zero value otherwise. + +### GetTresFreqOk + +`func (o *V0036JobResponseProperties) GetTresFreqOk() (*string, bool)` + +GetTresFreqOk returns a tuple with the TresFreq field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresFreq + +`func (o *V0036JobResponseProperties) SetTresFreq(v string)` + +SetTresFreq sets TresFreq field to given value. + +### HasTresFreq + +`func (o *V0036JobResponseProperties) HasTresFreq() bool` + +HasTresFreq returns a boolean if a field has been set. + +### GetTresPerJob + +`func (o *V0036JobResponseProperties) GetTresPerJob() string` + +GetTresPerJob returns the TresPerJob field if non-nil, zero value otherwise. + +### GetTresPerJobOk + +`func (o *V0036JobResponseProperties) GetTresPerJobOk() (*string, bool)` + +GetTresPerJobOk returns a tuple with the TresPerJob field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresPerJob + +`func (o *V0036JobResponseProperties) SetTresPerJob(v string)` + +SetTresPerJob sets TresPerJob field to given value. + +### HasTresPerJob + +`func (o *V0036JobResponseProperties) HasTresPerJob() bool` + +HasTresPerJob returns a boolean if a field has been set. + +### GetTresPerNode + +`func (o *V0036JobResponseProperties) GetTresPerNode() string` + +GetTresPerNode returns the TresPerNode field if non-nil, zero value otherwise. + +### GetTresPerNodeOk + +`func (o *V0036JobResponseProperties) GetTresPerNodeOk() (*string, bool)` + +GetTresPerNodeOk returns a tuple with the TresPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresPerNode + +`func (o *V0036JobResponseProperties) SetTresPerNode(v string)` + +SetTresPerNode sets TresPerNode field to given value. + +### HasTresPerNode + +`func (o *V0036JobResponseProperties) HasTresPerNode() bool` + +HasTresPerNode returns a boolean if a field has been set. + +### GetTresPerSocket + +`func (o *V0036JobResponseProperties) GetTresPerSocket() string` + +GetTresPerSocket returns the TresPerSocket field if non-nil, zero value otherwise. + +### GetTresPerSocketOk + +`func (o *V0036JobResponseProperties) GetTresPerSocketOk() (*string, bool)` + +GetTresPerSocketOk returns a tuple with the TresPerSocket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresPerSocket + +`func (o *V0036JobResponseProperties) SetTresPerSocket(v string)` + +SetTresPerSocket sets TresPerSocket field to given value. + +### HasTresPerSocket + +`func (o *V0036JobResponseProperties) HasTresPerSocket() bool` + +HasTresPerSocket returns a boolean if a field has been set. + +### GetTresPerTask + +`func (o *V0036JobResponseProperties) GetTresPerTask() string` + +GetTresPerTask returns the TresPerTask field if non-nil, zero value otherwise. + +### GetTresPerTaskOk + +`func (o *V0036JobResponseProperties) GetTresPerTaskOk() (*string, bool)` + +GetTresPerTaskOk returns a tuple with the TresPerTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresPerTask + +`func (o *V0036JobResponseProperties) SetTresPerTask(v string)` + +SetTresPerTask sets TresPerTask field to given value. + +### HasTresPerTask + +`func (o *V0036JobResponseProperties) HasTresPerTask() bool` + +HasTresPerTask returns a boolean if a field has been set. + +### GetTresReqStr + +`func (o *V0036JobResponseProperties) GetTresReqStr() string` + +GetTresReqStr returns the TresReqStr field if non-nil, zero value otherwise. + +### GetTresReqStrOk + +`func (o *V0036JobResponseProperties) GetTresReqStrOk() (*string, bool)` + +GetTresReqStrOk returns a tuple with the TresReqStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresReqStr + +`func (o *V0036JobResponseProperties) SetTresReqStr(v string)` + +SetTresReqStr sets TresReqStr field to given value. + +### HasTresReqStr + +`func (o *V0036JobResponseProperties) HasTresReqStr() bool` + +HasTresReqStr returns a boolean if a field has been set. + +### GetTresAllocStr + +`func (o *V0036JobResponseProperties) GetTresAllocStr() string` + +GetTresAllocStr returns the TresAllocStr field if non-nil, zero value otherwise. + +### GetTresAllocStrOk + +`func (o *V0036JobResponseProperties) GetTresAllocStrOk() (*string, bool)` + +GetTresAllocStrOk returns a tuple with the TresAllocStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresAllocStr + +`func (o *V0036JobResponseProperties) SetTresAllocStr(v string)` + +SetTresAllocStr sets TresAllocStr field to given value. + +### HasTresAllocStr + +`func (o *V0036JobResponseProperties) HasTresAllocStr() bool` + +HasTresAllocStr returns a boolean if a field has been set. + +### GetUserId + +`func (o *V0036JobResponseProperties) GetUserId() string` + +GetUserId returns the UserId field if non-nil, zero value otherwise. + +### GetUserIdOk + +`func (o *V0036JobResponseProperties) GetUserIdOk() (*string, bool)` + +GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserId + +`func (o *V0036JobResponseProperties) SetUserId(v string)` + +SetUserId sets UserId field to given value. + +### HasUserId + +`func (o *V0036JobResponseProperties) HasUserId() bool` + +HasUserId returns a boolean if a field has been set. + +### GetUserName + +`func (o *V0036JobResponseProperties) GetUserName() string` + +GetUserName returns the UserName field if non-nil, zero value otherwise. + +### GetUserNameOk + +`func (o *V0036JobResponseProperties) GetUserNameOk() (*string, bool)` + +GetUserNameOk returns a tuple with the UserName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserName + +`func (o *V0036JobResponseProperties) SetUserName(v string)` + +SetUserName sets UserName field to given value. + +### HasUserName + +`func (o *V0036JobResponseProperties) HasUserName() bool` + +HasUserName returns a boolean if a field has been set. + +### GetWckey + +`func (o *V0036JobResponseProperties) GetWckey() string` + +GetWckey returns the Wckey field if non-nil, zero value otherwise. + +### GetWckeyOk + +`func (o *V0036JobResponseProperties) GetWckeyOk() (*string, bool)` + +GetWckeyOk returns a tuple with the Wckey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWckey + +`func (o *V0036JobResponseProperties) SetWckey(v string)` + +SetWckey sets Wckey field to given value. + +### HasWckey + +`func (o *V0036JobResponseProperties) HasWckey() bool` + +HasWckey returns a boolean if a field has been set. + +### GetCurrentWorkingDirectory + +`func (o *V0036JobResponseProperties) GetCurrentWorkingDirectory() string` + +GetCurrentWorkingDirectory returns the CurrentWorkingDirectory field if non-nil, zero value otherwise. + +### GetCurrentWorkingDirectoryOk + +`func (o *V0036JobResponseProperties) GetCurrentWorkingDirectoryOk() (*string, bool)` + +GetCurrentWorkingDirectoryOk returns a tuple with the CurrentWorkingDirectory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCurrentWorkingDirectory + +`func (o *V0036JobResponseProperties) SetCurrentWorkingDirectory(v string)` + +SetCurrentWorkingDirectory sets CurrentWorkingDirectory field to given value. + +### HasCurrentWorkingDirectory + +`func (o *V0036JobResponseProperties) HasCurrentWorkingDirectory() bool` + +HasCurrentWorkingDirectory returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobSubmission.md b/docs/V0036JobSubmission.md new file mode 100644 index 0000000..f7894bf --- /dev/null +++ b/docs/V0036JobSubmission.md @@ -0,0 +1,103 @@ +# V0036JobSubmission + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Script** | **string** | Executable script (full contents) to run in batch step | +**Job** | Pointer to [**V0036JobProperties**](V0036JobProperties.md) | | [optional] +**Jobs** | Pointer to [**[]V0036JobProperties**](V0036JobProperties.md) | Properties of an HetJob | [optional] + +## Methods + +### NewV0036JobSubmission + +`func NewV0036JobSubmission(script string, ) *V0036JobSubmission` + +NewV0036JobSubmission instantiates a new V0036JobSubmission 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 + +### NewV0036JobSubmissionWithDefaults + +`func NewV0036JobSubmissionWithDefaults() *V0036JobSubmission` + +NewV0036JobSubmissionWithDefaults instantiates a new V0036JobSubmission 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 + +### GetScript + +`func (o *V0036JobSubmission) GetScript() string` + +GetScript returns the Script field if non-nil, zero value otherwise. + +### GetScriptOk + +`func (o *V0036JobSubmission) GetScriptOk() (*string, bool)` + +GetScriptOk returns a tuple with the Script field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScript + +`func (o *V0036JobSubmission) SetScript(v string)` + +SetScript sets Script field to given value. + + +### GetJob + +`func (o *V0036JobSubmission) GetJob() V0036JobProperties` + +GetJob returns the Job field if non-nil, zero value otherwise. + +### GetJobOk + +`func (o *V0036JobSubmission) GetJobOk() (*V0036JobProperties, bool)` + +GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJob + +`func (o *V0036JobSubmission) SetJob(v V0036JobProperties)` + +SetJob sets Job field to given value. + +### HasJob + +`func (o *V0036JobSubmission) HasJob() bool` + +HasJob returns a boolean if a field has been set. + +### GetJobs + +`func (o *V0036JobSubmission) GetJobs() []V0036JobProperties` + +GetJobs returns the Jobs field if non-nil, zero value otherwise. + +### GetJobsOk + +`func (o *V0036JobSubmission) GetJobsOk() (*[]V0036JobProperties, bool)` + +GetJobsOk returns a tuple with the Jobs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobs + +`func (o *V0036JobSubmission) SetJobs(v []V0036JobProperties)` + +SetJobs sets Jobs field to given value. + +### HasJobs + +`func (o *V0036JobSubmission) HasJobs() bool` + +HasJobs returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobSubmissionResponse.md b/docs/V0036JobSubmissionResponse.md new file mode 100644 index 0000000..1cdd82d --- /dev/null +++ b/docs/V0036JobSubmissionResponse.md @@ -0,0 +1,134 @@ +# V0036JobSubmissionResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**JobId** | Pointer to **int32** | new job ID | [optional] +**StepId** | Pointer to **string** | new job step ID | [optional] +**JobSubmitUserMsg** | Pointer to **string** | Message to user from job_submit plugin | [optional] + +## Methods + +### NewV0036JobSubmissionResponse + +`func NewV0036JobSubmissionResponse() *V0036JobSubmissionResponse` + +NewV0036JobSubmissionResponse instantiates a new V0036JobSubmissionResponse 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 + +### NewV0036JobSubmissionResponseWithDefaults + +`func NewV0036JobSubmissionResponseWithDefaults() *V0036JobSubmissionResponse` + +NewV0036JobSubmissionResponseWithDefaults instantiates a new V0036JobSubmissionResponse 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 + +### GetErrors + +`func (o *V0036JobSubmissionResponse) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036JobSubmissionResponse) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036JobSubmissionResponse) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036JobSubmissionResponse) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetJobId + +`func (o *V0036JobSubmissionResponse) GetJobId() int32` + +GetJobId returns the JobId field if non-nil, zero value otherwise. + +### GetJobIdOk + +`func (o *V0036JobSubmissionResponse) GetJobIdOk() (*int32, bool)` + +GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobId + +`func (o *V0036JobSubmissionResponse) SetJobId(v int32)` + +SetJobId sets JobId field to given value. + +### HasJobId + +`func (o *V0036JobSubmissionResponse) HasJobId() bool` + +HasJobId returns a boolean if a field has been set. + +### GetStepId + +`func (o *V0036JobSubmissionResponse) GetStepId() string` + +GetStepId returns the StepId field if non-nil, zero value otherwise. + +### GetStepIdOk + +`func (o *V0036JobSubmissionResponse) GetStepIdOk() (*string, bool)` + +GetStepIdOk returns a tuple with the StepId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStepId + +`func (o *V0036JobSubmissionResponse) SetStepId(v string)` + +SetStepId sets StepId field to given value. + +### HasStepId + +`func (o *V0036JobSubmissionResponse) HasStepId() bool` + +HasStepId returns a boolean if a field has been set. + +### GetJobSubmitUserMsg + +`func (o *V0036JobSubmissionResponse) GetJobSubmitUserMsg() string` + +GetJobSubmitUserMsg returns the JobSubmitUserMsg field if non-nil, zero value otherwise. + +### GetJobSubmitUserMsgOk + +`func (o *V0036JobSubmissionResponse) GetJobSubmitUserMsgOk() (*string, bool)` + +GetJobSubmitUserMsgOk returns a tuple with the JobSubmitUserMsg field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobSubmitUserMsg + +`func (o *V0036JobSubmissionResponse) SetJobSubmitUserMsg(v string)` + +SetJobSubmitUserMsg sets JobSubmitUserMsg field to given value. + +### HasJobSubmitUserMsg + +`func (o *V0036JobSubmissionResponse) HasJobSubmitUserMsg() bool` + +HasJobSubmitUserMsg returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036JobsResponse.md b/docs/V0036JobsResponse.md new file mode 100644 index 0000000..ce19f38 --- /dev/null +++ b/docs/V0036JobsResponse.md @@ -0,0 +1,82 @@ +# V0036JobsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**Jobs** | Pointer to [**[]V0036JobResponseProperties**](V0036JobResponseProperties.md) | job descriptions | [optional] + +## Methods + +### NewV0036JobsResponse + +`func NewV0036JobsResponse() *V0036JobsResponse` + +NewV0036JobsResponse instantiates a new V0036JobsResponse 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 + +### NewV0036JobsResponseWithDefaults + +`func NewV0036JobsResponseWithDefaults() *V0036JobsResponse` + +NewV0036JobsResponseWithDefaults instantiates a new V0036JobsResponse 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 + +### GetErrors + +`func (o *V0036JobsResponse) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036JobsResponse) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036JobsResponse) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036JobsResponse) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetJobs + +`func (o *V0036JobsResponse) GetJobs() []V0036JobResponseProperties` + +GetJobs returns the Jobs field if non-nil, zero value otherwise. + +### GetJobsOk + +`func (o *V0036JobsResponse) GetJobsOk() (*[]V0036JobResponseProperties, bool)` + +GetJobsOk returns a tuple with the Jobs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobs + +`func (o *V0036JobsResponse) SetJobs(v []V0036JobResponseProperties)` + +SetJobs sets Jobs field to given value. + +### HasJobs + +`func (o *V0036JobsResponse) HasJobs() bool` + +HasJobs returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Node.md b/docs/V0036Node.md new file mode 100644 index 0000000..5e0681c --- /dev/null +++ b/docs/V0036Node.md @@ -0,0 +1,1070 @@ +# V0036Node + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architecture** | Pointer to **string** | computer architecture | [optional] +**BurstbufferNetworkAddress** | Pointer to **string** | BcastAddr | [optional] +**Boards** | Pointer to **int32** | total number of boards per node | [optional] +**BootTime** | Pointer to **int64** | timestamp of node boot | [optional] +**Comment** | Pointer to **string** | Arbitrary comment | [optional] +**Cores** | Pointer to **int32** | number of cores per socket | [optional] +**CpuBinding** | Pointer to **int32** | Default task binding | [optional] +**CpuLoad** | Pointer to **int64** | CPU load * 100 | [optional] +**FreeMemory** | Pointer to **int32** | free memory in MiB | [optional] +**Cpus** | Pointer to **int32** | configured count of cpus running on the node | [optional] +**Features** | Pointer to **string** | | [optional] +**ActiveFeatures** | Pointer to **string** | list of a node's available features | [optional] +**Gres** | Pointer to **string** | list of a node's generic resources | [optional] +**GresDrained** | Pointer to **string** | list of drained GRES | [optional] +**GresUsed** | Pointer to **string** | list of GRES in current use | [optional] +**McsLabel** | Pointer to **string** | mcs label if mcs plugin in use | [optional] +**Name** | Pointer to **string** | node name to slurm | [optional] +**NextStateAfterReboot** | Pointer to **string** | | [optional] +**Address** | Pointer to **string** | state after reboot | [optional] +**Hostname** | Pointer to **string** | node's hostname | [optional] +**State** | Pointer to **string** | current node state | [optional] +**OperatingSystem** | Pointer to **string** | operating system | [optional] +**Owner** | Pointer to **string** | User allowed to use this node | [optional] +**Port** | Pointer to **int32** | TCP port number of the slurmd | [optional] +**RealMemory** | Pointer to **int32** | configured MB of real memory on the node | [optional] +**Reason** | Pointer to **string** | reason for node being DOWN or DRAINING | [optional] +**ReasonChangedAt** | Pointer to **int32** | Time stamp when reason was set | [optional] +**ReasonSetByUser** | Pointer to **string** | User that set the reason | [optional] +**SlurmdStartTime** | Pointer to **int64** | timestamp of slurmd startup | [optional] +**Sockets** | Pointer to **int32** | total number of sockets per node | [optional] +**Threads** | Pointer to **int32** | number of threads per core | [optional] +**TemporaryDisk** | Pointer to **int32** | configured MB of total disk in TMP_FS | [optional] +**Weight** | Pointer to **int32** | arbitrary priority of node for scheduling | [optional] +**Tres** | Pointer to **string** | TRES on node | [optional] +**TresUsed** | Pointer to **string** | TRES used on node | [optional] +**SlurmdVersion** | Pointer to **string** | Slurmd version | [optional] +**AllocCpus** | Pointer to **int32** | | [optional] +**IdleCpus** | Pointer to **int32** | | [optional] +**Partitions** | Pointer to **string** | | [optional] +**AllocMemory** | Pointer to **int32** | | [optional] + +## Methods + +### NewV0036Node + +`func NewV0036Node() *V0036Node` + +NewV0036Node instantiates a new V0036Node 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 + +### NewV0036NodeWithDefaults + +`func NewV0036NodeWithDefaults() *V0036Node` + +NewV0036NodeWithDefaults instantiates a new V0036Node 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 + +### GetArchitecture + +`func (o *V0036Node) GetArchitecture() string` + +GetArchitecture returns the Architecture field if non-nil, zero value otherwise. + +### GetArchitectureOk + +`func (o *V0036Node) GetArchitectureOk() (*string, bool)` + +GetArchitectureOk returns a tuple with the Architecture field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitecture + +`func (o *V0036Node) SetArchitecture(v string)` + +SetArchitecture sets Architecture field to given value. + +### HasArchitecture + +`func (o *V0036Node) HasArchitecture() bool` + +HasArchitecture returns a boolean if a field has been set. + +### GetBurstbufferNetworkAddress + +`func (o *V0036Node) GetBurstbufferNetworkAddress() string` + +GetBurstbufferNetworkAddress returns the BurstbufferNetworkAddress field if non-nil, zero value otherwise. + +### GetBurstbufferNetworkAddressOk + +`func (o *V0036Node) GetBurstbufferNetworkAddressOk() (*string, bool)` + +GetBurstbufferNetworkAddressOk returns a tuple with the BurstbufferNetworkAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBurstbufferNetworkAddress + +`func (o *V0036Node) SetBurstbufferNetworkAddress(v string)` + +SetBurstbufferNetworkAddress sets BurstbufferNetworkAddress field to given value. + +### HasBurstbufferNetworkAddress + +`func (o *V0036Node) HasBurstbufferNetworkAddress() bool` + +HasBurstbufferNetworkAddress returns a boolean if a field has been set. + +### GetBoards + +`func (o *V0036Node) GetBoards() int32` + +GetBoards returns the Boards field if non-nil, zero value otherwise. + +### GetBoardsOk + +`func (o *V0036Node) GetBoardsOk() (*int32, bool)` + +GetBoardsOk returns a tuple with the Boards field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBoards + +`func (o *V0036Node) SetBoards(v int32)` + +SetBoards sets Boards field to given value. + +### HasBoards + +`func (o *V0036Node) HasBoards() bool` + +HasBoards returns a boolean if a field has been set. + +### GetBootTime + +`func (o *V0036Node) GetBootTime() int64` + +GetBootTime returns the BootTime field if non-nil, zero value otherwise. + +### GetBootTimeOk + +`func (o *V0036Node) GetBootTimeOk() (*int64, bool)` + +GetBootTimeOk returns a tuple with the BootTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBootTime + +`func (o *V0036Node) SetBootTime(v int64)` + +SetBootTime sets BootTime field to given value. + +### HasBootTime + +`func (o *V0036Node) HasBootTime() bool` + +HasBootTime returns a boolean if a field has been set. + +### GetComment + +`func (o *V0036Node) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *V0036Node) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *V0036Node) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *V0036Node) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetCores + +`func (o *V0036Node) GetCores() int32` + +GetCores returns the Cores field if non-nil, zero value otherwise. + +### GetCoresOk + +`func (o *V0036Node) GetCoresOk() (*int32, bool)` + +GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCores + +`func (o *V0036Node) SetCores(v int32)` + +SetCores sets Cores field to given value. + +### HasCores + +`func (o *V0036Node) HasCores() bool` + +HasCores returns a boolean if a field has been set. + +### GetCpuBinding + +`func (o *V0036Node) GetCpuBinding() int32` + +GetCpuBinding returns the CpuBinding field if non-nil, zero value otherwise. + +### GetCpuBindingOk + +`func (o *V0036Node) GetCpuBindingOk() (*int32, bool)` + +GetCpuBindingOk returns a tuple with the CpuBinding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuBinding + +`func (o *V0036Node) SetCpuBinding(v int32)` + +SetCpuBinding sets CpuBinding field to given value. + +### HasCpuBinding + +`func (o *V0036Node) HasCpuBinding() bool` + +HasCpuBinding returns a boolean if a field has been set. + +### GetCpuLoad + +`func (o *V0036Node) GetCpuLoad() int64` + +GetCpuLoad returns the CpuLoad field if non-nil, zero value otherwise. + +### GetCpuLoadOk + +`func (o *V0036Node) GetCpuLoadOk() (*int64, bool)` + +GetCpuLoadOk returns a tuple with the CpuLoad field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpuLoad + +`func (o *V0036Node) SetCpuLoad(v int64)` + +SetCpuLoad sets CpuLoad field to given value. + +### HasCpuLoad + +`func (o *V0036Node) HasCpuLoad() bool` + +HasCpuLoad returns a boolean if a field has been set. + +### GetFreeMemory + +`func (o *V0036Node) GetFreeMemory() int32` + +GetFreeMemory returns the FreeMemory field if non-nil, zero value otherwise. + +### GetFreeMemoryOk + +`func (o *V0036Node) GetFreeMemoryOk() (*int32, bool)` + +GetFreeMemoryOk returns a tuple with the FreeMemory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreeMemory + +`func (o *V0036Node) SetFreeMemory(v int32)` + +SetFreeMemory sets FreeMemory field to given value. + +### HasFreeMemory + +`func (o *V0036Node) HasFreeMemory() bool` + +HasFreeMemory returns a boolean if a field has been set. + +### GetCpus + +`func (o *V0036Node) GetCpus() int32` + +GetCpus returns the Cpus field if non-nil, zero value otherwise. + +### GetCpusOk + +`func (o *V0036Node) GetCpusOk() (*int32, bool)` + +GetCpusOk returns a tuple with the Cpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpus + +`func (o *V0036Node) SetCpus(v int32)` + +SetCpus sets Cpus field to given value. + +### HasCpus + +`func (o *V0036Node) HasCpus() bool` + +HasCpus returns a boolean if a field has been set. + +### GetFeatures + +`func (o *V0036Node) GetFeatures() string` + +GetFeatures returns the Features field if non-nil, zero value otherwise. + +### GetFeaturesOk + +`func (o *V0036Node) GetFeaturesOk() (*string, bool)` + +GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeatures + +`func (o *V0036Node) SetFeatures(v string)` + +SetFeatures sets Features field to given value. + +### HasFeatures + +`func (o *V0036Node) HasFeatures() bool` + +HasFeatures returns a boolean if a field has been set. + +### GetActiveFeatures + +`func (o *V0036Node) GetActiveFeatures() string` + +GetActiveFeatures returns the ActiveFeatures field if non-nil, zero value otherwise. + +### GetActiveFeaturesOk + +`func (o *V0036Node) GetActiveFeaturesOk() (*string, bool)` + +GetActiveFeaturesOk returns a tuple with the ActiveFeatures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActiveFeatures + +`func (o *V0036Node) SetActiveFeatures(v string)` + +SetActiveFeatures sets ActiveFeatures field to given value. + +### HasActiveFeatures + +`func (o *V0036Node) HasActiveFeatures() bool` + +HasActiveFeatures returns a boolean if a field has been set. + +### GetGres + +`func (o *V0036Node) GetGres() string` + +GetGres returns the Gres field if non-nil, zero value otherwise. + +### GetGresOk + +`func (o *V0036Node) GetGresOk() (*string, bool)` + +GetGresOk returns a tuple with the Gres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGres + +`func (o *V0036Node) SetGres(v string)` + +SetGres sets Gres field to given value. + +### HasGres + +`func (o *V0036Node) HasGres() bool` + +HasGres returns a boolean if a field has been set. + +### GetGresDrained + +`func (o *V0036Node) GetGresDrained() string` + +GetGresDrained returns the GresDrained field if non-nil, zero value otherwise. + +### GetGresDrainedOk + +`func (o *V0036Node) GetGresDrainedOk() (*string, bool)` + +GetGresDrainedOk returns a tuple with the GresDrained field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGresDrained + +`func (o *V0036Node) SetGresDrained(v string)` + +SetGresDrained sets GresDrained field to given value. + +### HasGresDrained + +`func (o *V0036Node) HasGresDrained() bool` + +HasGresDrained returns a boolean if a field has been set. + +### GetGresUsed + +`func (o *V0036Node) GetGresUsed() string` + +GetGresUsed returns the GresUsed field if non-nil, zero value otherwise. + +### GetGresUsedOk + +`func (o *V0036Node) GetGresUsedOk() (*string, bool)` + +GetGresUsedOk returns a tuple with the GresUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGresUsed + +`func (o *V0036Node) SetGresUsed(v string)` + +SetGresUsed sets GresUsed field to given value. + +### HasGresUsed + +`func (o *V0036Node) HasGresUsed() bool` + +HasGresUsed returns a boolean if a field has been set. + +### GetMcsLabel + +`func (o *V0036Node) GetMcsLabel() string` + +GetMcsLabel returns the McsLabel field if non-nil, zero value otherwise. + +### GetMcsLabelOk + +`func (o *V0036Node) GetMcsLabelOk() (*string, bool)` + +GetMcsLabelOk returns a tuple with the McsLabel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMcsLabel + +`func (o *V0036Node) SetMcsLabel(v string)` + +SetMcsLabel sets McsLabel field to given value. + +### HasMcsLabel + +`func (o *V0036Node) HasMcsLabel() bool` + +HasMcsLabel returns a boolean if a field has been set. + +### GetName + +`func (o *V0036Node) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *V0036Node) 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 *V0036Node) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *V0036Node) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNextStateAfterReboot + +`func (o *V0036Node) GetNextStateAfterReboot() string` + +GetNextStateAfterReboot returns the NextStateAfterReboot field if non-nil, zero value otherwise. + +### GetNextStateAfterRebootOk + +`func (o *V0036Node) GetNextStateAfterRebootOk() (*string, bool)` + +GetNextStateAfterRebootOk returns a tuple with the NextStateAfterReboot field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextStateAfterReboot + +`func (o *V0036Node) SetNextStateAfterReboot(v string)` + +SetNextStateAfterReboot sets NextStateAfterReboot field to given value. + +### HasNextStateAfterReboot + +`func (o *V0036Node) HasNextStateAfterReboot() bool` + +HasNextStateAfterReboot returns a boolean if a field has been set. + +### GetAddress + +`func (o *V0036Node) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *V0036Node) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *V0036Node) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *V0036Node) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetHostname + +`func (o *V0036Node) GetHostname() string` + +GetHostname returns the Hostname field if non-nil, zero value otherwise. + +### GetHostnameOk + +`func (o *V0036Node) GetHostnameOk() (*string, bool)` + +GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHostname + +`func (o *V0036Node) SetHostname(v string)` + +SetHostname sets Hostname field to given value. + +### HasHostname + +`func (o *V0036Node) HasHostname() bool` + +HasHostname returns a boolean if a field has been set. + +### GetState + +`func (o *V0036Node) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *V0036Node) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *V0036Node) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *V0036Node) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetOperatingSystem + +`func (o *V0036Node) GetOperatingSystem() string` + +GetOperatingSystem returns the OperatingSystem field if non-nil, zero value otherwise. + +### GetOperatingSystemOk + +`func (o *V0036Node) GetOperatingSystemOk() (*string, bool)` + +GetOperatingSystemOk returns a tuple with the OperatingSystem field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOperatingSystem + +`func (o *V0036Node) SetOperatingSystem(v string)` + +SetOperatingSystem sets OperatingSystem field to given value. + +### HasOperatingSystem + +`func (o *V0036Node) HasOperatingSystem() bool` + +HasOperatingSystem returns a boolean if a field has been set. + +### GetOwner + +`func (o *V0036Node) GetOwner() string` + +GetOwner returns the Owner field if non-nil, zero value otherwise. + +### GetOwnerOk + +`func (o *V0036Node) GetOwnerOk() (*string, bool)` + +GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOwner + +`func (o *V0036Node) SetOwner(v string)` + +SetOwner sets Owner field to given value. + +### HasOwner + +`func (o *V0036Node) HasOwner() bool` + +HasOwner returns a boolean if a field has been set. + +### GetPort + +`func (o *V0036Node) GetPort() int32` + +GetPort returns the Port field if non-nil, zero value otherwise. + +### GetPortOk + +`func (o *V0036Node) GetPortOk() (*int32, bool)` + +GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPort + +`func (o *V0036Node) SetPort(v int32)` + +SetPort sets Port field to given value. + +### HasPort + +`func (o *V0036Node) HasPort() bool` + +HasPort returns a boolean if a field has been set. + +### GetRealMemory + +`func (o *V0036Node) GetRealMemory() int32` + +GetRealMemory returns the RealMemory field if non-nil, zero value otherwise. + +### GetRealMemoryOk + +`func (o *V0036Node) GetRealMemoryOk() (*int32, bool)` + +GetRealMemoryOk returns a tuple with the RealMemory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRealMemory + +`func (o *V0036Node) SetRealMemory(v int32)` + +SetRealMemory sets RealMemory field to given value. + +### HasRealMemory + +`func (o *V0036Node) HasRealMemory() bool` + +HasRealMemory returns a boolean if a field has been set. + +### GetReason + +`func (o *V0036Node) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *V0036Node) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *V0036Node) SetReason(v string)` + +SetReason sets Reason field to given value. + +### HasReason + +`func (o *V0036Node) HasReason() bool` + +HasReason returns a boolean if a field has been set. + +### GetReasonChangedAt + +`func (o *V0036Node) GetReasonChangedAt() int32` + +GetReasonChangedAt returns the ReasonChangedAt field if non-nil, zero value otherwise. + +### GetReasonChangedAtOk + +`func (o *V0036Node) GetReasonChangedAtOk() (*int32, bool)` + +GetReasonChangedAtOk returns a tuple with the ReasonChangedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReasonChangedAt + +`func (o *V0036Node) SetReasonChangedAt(v int32)` + +SetReasonChangedAt sets ReasonChangedAt field to given value. + +### HasReasonChangedAt + +`func (o *V0036Node) HasReasonChangedAt() bool` + +HasReasonChangedAt returns a boolean if a field has been set. + +### GetReasonSetByUser + +`func (o *V0036Node) GetReasonSetByUser() string` + +GetReasonSetByUser returns the ReasonSetByUser field if non-nil, zero value otherwise. + +### GetReasonSetByUserOk + +`func (o *V0036Node) GetReasonSetByUserOk() (*string, bool)` + +GetReasonSetByUserOk returns a tuple with the ReasonSetByUser field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReasonSetByUser + +`func (o *V0036Node) SetReasonSetByUser(v string)` + +SetReasonSetByUser sets ReasonSetByUser field to given value. + +### HasReasonSetByUser + +`func (o *V0036Node) HasReasonSetByUser() bool` + +HasReasonSetByUser returns a boolean if a field has been set. + +### GetSlurmdStartTime + +`func (o *V0036Node) GetSlurmdStartTime() int64` + +GetSlurmdStartTime returns the SlurmdStartTime field if non-nil, zero value otherwise. + +### GetSlurmdStartTimeOk + +`func (o *V0036Node) GetSlurmdStartTimeOk() (*int64, bool)` + +GetSlurmdStartTimeOk returns a tuple with the SlurmdStartTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlurmdStartTime + +`func (o *V0036Node) SetSlurmdStartTime(v int64)` + +SetSlurmdStartTime sets SlurmdStartTime field to given value. + +### HasSlurmdStartTime + +`func (o *V0036Node) HasSlurmdStartTime() bool` + +HasSlurmdStartTime returns a boolean if a field has been set. + +### GetSockets + +`func (o *V0036Node) GetSockets() int32` + +GetSockets returns the Sockets field if non-nil, zero value otherwise. + +### GetSocketsOk + +`func (o *V0036Node) GetSocketsOk() (*int32, bool)` + +GetSocketsOk returns a tuple with the Sockets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSockets + +`func (o *V0036Node) SetSockets(v int32)` + +SetSockets sets Sockets field to given value. + +### HasSockets + +`func (o *V0036Node) HasSockets() bool` + +HasSockets returns a boolean if a field has been set. + +### GetThreads + +`func (o *V0036Node) GetThreads() int32` + +GetThreads returns the Threads field if non-nil, zero value otherwise. + +### GetThreadsOk + +`func (o *V0036Node) GetThreadsOk() (*int32, bool)` + +GetThreadsOk returns a tuple with the Threads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThreads + +`func (o *V0036Node) SetThreads(v int32)` + +SetThreads sets Threads field to given value. + +### HasThreads + +`func (o *V0036Node) HasThreads() bool` + +HasThreads returns a boolean if a field has been set. + +### GetTemporaryDisk + +`func (o *V0036Node) GetTemporaryDisk() int32` + +GetTemporaryDisk returns the TemporaryDisk field if non-nil, zero value otherwise. + +### GetTemporaryDiskOk + +`func (o *V0036Node) GetTemporaryDiskOk() (*int32, bool)` + +GetTemporaryDiskOk returns a tuple with the TemporaryDisk field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTemporaryDisk + +`func (o *V0036Node) SetTemporaryDisk(v int32)` + +SetTemporaryDisk sets TemporaryDisk field to given value. + +### HasTemporaryDisk + +`func (o *V0036Node) HasTemporaryDisk() bool` + +HasTemporaryDisk returns a boolean if a field has been set. + +### GetWeight + +`func (o *V0036Node) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *V0036Node) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *V0036Node) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *V0036Node) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### GetTres + +`func (o *V0036Node) GetTres() string` + +GetTres returns the Tres field if non-nil, zero value otherwise. + +### GetTresOk + +`func (o *V0036Node) GetTresOk() (*string, bool)` + +GetTresOk returns a tuple with the Tres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTres + +`func (o *V0036Node) SetTres(v string)` + +SetTres sets Tres field to given value. + +### HasTres + +`func (o *V0036Node) HasTres() bool` + +HasTres returns a boolean if a field has been set. + +### GetTresUsed + +`func (o *V0036Node) GetTresUsed() string` + +GetTresUsed returns the TresUsed field if non-nil, zero value otherwise. + +### GetTresUsedOk + +`func (o *V0036Node) GetTresUsedOk() (*string, bool)` + +GetTresUsedOk returns a tuple with the TresUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTresUsed + +`func (o *V0036Node) SetTresUsed(v string)` + +SetTresUsed sets TresUsed field to given value. + +### HasTresUsed + +`func (o *V0036Node) HasTresUsed() bool` + +HasTresUsed returns a boolean if a field has been set. + +### GetSlurmdVersion + +`func (o *V0036Node) GetSlurmdVersion() string` + +GetSlurmdVersion returns the SlurmdVersion field if non-nil, zero value otherwise. + +### GetSlurmdVersionOk + +`func (o *V0036Node) GetSlurmdVersionOk() (*string, bool)` + +GetSlurmdVersionOk returns a tuple with the SlurmdVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlurmdVersion + +`func (o *V0036Node) SetSlurmdVersion(v string)` + +SetSlurmdVersion sets SlurmdVersion field to given value. + +### HasSlurmdVersion + +`func (o *V0036Node) HasSlurmdVersion() bool` + +HasSlurmdVersion returns a boolean if a field has been set. + +### GetAllocCpus + +`func (o *V0036Node) GetAllocCpus() int32` + +GetAllocCpus returns the AllocCpus field if non-nil, zero value otherwise. + +### GetAllocCpusOk + +`func (o *V0036Node) GetAllocCpusOk() (*int32, bool)` + +GetAllocCpusOk returns a tuple with the AllocCpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocCpus + +`func (o *V0036Node) SetAllocCpus(v int32)` + +SetAllocCpus sets AllocCpus field to given value. + +### HasAllocCpus + +`func (o *V0036Node) HasAllocCpus() bool` + +HasAllocCpus returns a boolean if a field has been set. + +### GetIdleCpus + +`func (o *V0036Node) GetIdleCpus() int32` + +GetIdleCpus returns the IdleCpus field if non-nil, zero value otherwise. + +### GetIdleCpusOk + +`func (o *V0036Node) GetIdleCpusOk() (*int32, bool)` + +GetIdleCpusOk returns a tuple with the IdleCpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdleCpus + +`func (o *V0036Node) SetIdleCpus(v int32)` + +SetIdleCpus sets IdleCpus field to given value. + +### HasIdleCpus + +`func (o *V0036Node) HasIdleCpus() bool` + +HasIdleCpus returns a boolean if a field has been set. + +### GetPartitions + +`func (o *V0036Node) GetPartitions() string` + +GetPartitions returns the Partitions field if non-nil, zero value otherwise. + +### GetPartitionsOk + +`func (o *V0036Node) GetPartitionsOk() (*string, bool)` + +GetPartitionsOk returns a tuple with the Partitions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartitions + +`func (o *V0036Node) SetPartitions(v string)` + +SetPartitions sets Partitions field to given value. + +### HasPartitions + +`func (o *V0036Node) HasPartitions() bool` + +HasPartitions returns a boolean if a field has been set. + +### GetAllocMemory + +`func (o *V0036Node) GetAllocMemory() int32` + +GetAllocMemory returns the AllocMemory field if non-nil, zero value otherwise. + +### GetAllocMemoryOk + +`func (o *V0036Node) GetAllocMemoryOk() (*int32, bool)` + +GetAllocMemoryOk returns a tuple with the AllocMemory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocMemory + +`func (o *V0036Node) SetAllocMemory(v int32)` + +SetAllocMemory sets AllocMemory field to given value. + +### HasAllocMemory + +`func (o *V0036Node) HasAllocMemory() bool` + +HasAllocMemory returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036NodeAllocation.md b/docs/V0036NodeAllocation.md new file mode 100644 index 0000000..d1f1464 --- /dev/null +++ b/docs/V0036NodeAllocation.md @@ -0,0 +1,134 @@ +# V0036NodeAllocation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Memory** | Pointer to **int32** | amount of assigned job memory | [optional] +**Cpus** | Pointer to **map[string]interface{}** | amount of assigned job CPUs | [optional] +**Sockets** | Pointer to **map[string]interface{}** | assignment status of each socket by socket id | [optional] +**Cores** | Pointer to **map[string]interface{}** | assignment status of each core by core id | [optional] + +## Methods + +### NewV0036NodeAllocation + +`func NewV0036NodeAllocation() *V0036NodeAllocation` + +NewV0036NodeAllocation instantiates a new V0036NodeAllocation 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 + +### NewV0036NodeAllocationWithDefaults + +`func NewV0036NodeAllocationWithDefaults() *V0036NodeAllocation` + +NewV0036NodeAllocationWithDefaults instantiates a new V0036NodeAllocation 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 + +### GetMemory + +`func (o *V0036NodeAllocation) GetMemory() int32` + +GetMemory returns the Memory field if non-nil, zero value otherwise. + +### GetMemoryOk + +`func (o *V0036NodeAllocation) GetMemoryOk() (*int32, bool)` + +GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemory + +`func (o *V0036NodeAllocation) SetMemory(v int32)` + +SetMemory sets Memory field to given value. + +### HasMemory + +`func (o *V0036NodeAllocation) HasMemory() bool` + +HasMemory returns a boolean if a field has been set. + +### GetCpus + +`func (o *V0036NodeAllocation) GetCpus() map[string]interface{}` + +GetCpus returns the Cpus field if non-nil, zero value otherwise. + +### GetCpusOk + +`func (o *V0036NodeAllocation) GetCpusOk() (*map[string]interface{}, bool)` + +GetCpusOk returns a tuple with the Cpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCpus + +`func (o *V0036NodeAllocation) SetCpus(v map[string]interface{})` + +SetCpus sets Cpus field to given value. + +### HasCpus + +`func (o *V0036NodeAllocation) HasCpus() bool` + +HasCpus returns a boolean if a field has been set. + +### GetSockets + +`func (o *V0036NodeAllocation) GetSockets() map[string]interface{}` + +GetSockets returns the Sockets field if non-nil, zero value otherwise. + +### GetSocketsOk + +`func (o *V0036NodeAllocation) GetSocketsOk() (*map[string]interface{}, bool)` + +GetSocketsOk returns a tuple with the Sockets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSockets + +`func (o *V0036NodeAllocation) SetSockets(v map[string]interface{})` + +SetSockets sets Sockets field to given value. + +### HasSockets + +`func (o *V0036NodeAllocation) HasSockets() bool` + +HasSockets returns a boolean if a field has been set. + +### GetCores + +`func (o *V0036NodeAllocation) GetCores() map[string]interface{}` + +GetCores returns the Cores field if non-nil, zero value otherwise. + +### GetCoresOk + +`func (o *V0036NodeAllocation) GetCoresOk() (*map[string]interface{}, bool)` + +GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCores + +`func (o *V0036NodeAllocation) SetCores(v map[string]interface{})` + +SetCores sets Cores field to given value. + +### HasCores + +`func (o *V0036NodeAllocation) HasCores() bool` + +HasCores returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036NodesResponse.md b/docs/V0036NodesResponse.md new file mode 100644 index 0000000..d04593f --- /dev/null +++ b/docs/V0036NodesResponse.md @@ -0,0 +1,82 @@ +# V0036NodesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**Nodes** | Pointer to [**[]V0036Node**](V0036Node.md) | nodes info | [optional] + +## Methods + +### NewV0036NodesResponse + +`func NewV0036NodesResponse() *V0036NodesResponse` + +NewV0036NodesResponse instantiates a new V0036NodesResponse 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 + +### NewV0036NodesResponseWithDefaults + +`func NewV0036NodesResponseWithDefaults() *V0036NodesResponse` + +NewV0036NodesResponseWithDefaults instantiates a new V0036NodesResponse 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 + +### GetErrors + +`func (o *V0036NodesResponse) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036NodesResponse) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036NodesResponse) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036NodesResponse) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetNodes + +`func (o *V0036NodesResponse) GetNodes() []V0036Node` + +GetNodes returns the Nodes field if non-nil, zero value otherwise. + +### GetNodesOk + +`func (o *V0036NodesResponse) GetNodesOk() (*[]V0036Node, bool)` + +GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodes + +`func (o *V0036NodesResponse) SetNodes(v []V0036Node)` + +SetNodes sets Nodes field to given value. + +### HasNodes + +`func (o *V0036NodesResponse) HasNodes() bool` + +HasNodes returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Partition.md b/docs/V0036Partition.md new file mode 100644 index 0000000..e8378a8 --- /dev/null +++ b/docs/V0036Partition.md @@ -0,0 +1,758 @@ +# V0036Partition + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Flags** | Pointer to **[]string** | partition options | [optional] +**PreemptionMode** | Pointer to **[]string** | preemption type | [optional] +**AllowedAllocationNodes** | Pointer to **string** | list names of allowed allocating nodes | [optional] +**AllowedAccounts** | Pointer to **string** | comma delimited list of accounts | [optional] +**AllowedGroups** | Pointer to **string** | comma delimited list of groups | [optional] +**AllowedQos** | Pointer to **string** | comma delimited list of qos | [optional] +**Alternative** | Pointer to **string** | name of alternate partition | [optional] +**BillingWeights** | Pointer to **string** | TRES billing weights | [optional] +**DefaultMemoryPerCpu** | Pointer to **int64** | default MB memory per allocated CPU | [optional] +**DefaultTimeLimit** | Pointer to **int64** | default time limit (minutes) | [optional] +**DeniedAccounts** | Pointer to **string** | comma delimited list of denied accounts | [optional] +**DeniedQos** | Pointer to **string** | comma delimited list of denied qos | [optional] +**PreemptionGraceTime** | Pointer to **int64** | preemption grace time (seconds) | [optional] +**MaximumCpusPerNode** | Pointer to **int32** | maximum allocated CPUs per node | [optional] +**MaximumMemoryPerNode** | Pointer to **int64** | maximum memory per allocated CPU (MiB) | [optional] +**MaximumNodesPerJob** | Pointer to **int32** | Max nodes per job | [optional] +**MaxTimeLimit** | Pointer to **int64** | Max time limit per job | [optional] +**MinNodesPerJob** | Pointer to **int32** | Min number of nodes per job | [optional] +**Name** | Pointer to **string** | Partition name | [optional] +**Nodes** | Pointer to **string** | list names of nodes in partition | [optional] +**OverTimeLimit** | Pointer to **int32** | job's time limit can be exceeded by this number of minutes before cancellation | [optional] +**PriorityJobFactor** | Pointer to **int32** | job priority weight factor | [optional] +**PriorityTier** | Pointer to **int32** | tier for scheduling and preemption | [optional] +**Qos** | Pointer to **string** | partition QOS name | [optional] +**NodesOnline** | Pointer to **int32** | Nodes online (ready for jobs) | [optional] +**TotalCpus** | Pointer to **int32** | Total cpus in partition | [optional] +**TotalNodes** | Pointer to **int32** | Total number of nodes in partition | [optional] +**Tres** | Pointer to **string** | configured TRES in partition | [optional] + +## Methods + +### NewV0036Partition + +`func NewV0036Partition() *V0036Partition` + +NewV0036Partition instantiates a new V0036Partition 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 + +### NewV0036PartitionWithDefaults + +`func NewV0036PartitionWithDefaults() *V0036Partition` + +NewV0036PartitionWithDefaults instantiates a new V0036Partition 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 + +### GetFlags + +`func (o *V0036Partition) GetFlags() []string` + +GetFlags returns the Flags field if non-nil, zero value otherwise. + +### GetFlagsOk + +`func (o *V0036Partition) GetFlagsOk() (*[]string, bool)` + +GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlags + +`func (o *V0036Partition) SetFlags(v []string)` + +SetFlags sets Flags field to given value. + +### HasFlags + +`func (o *V0036Partition) HasFlags() bool` + +HasFlags returns a boolean if a field has been set. + +### GetPreemptionMode + +`func (o *V0036Partition) GetPreemptionMode() []string` + +GetPreemptionMode returns the PreemptionMode field if non-nil, zero value otherwise. + +### GetPreemptionModeOk + +`func (o *V0036Partition) GetPreemptionModeOk() (*[]string, bool)` + +GetPreemptionModeOk returns a tuple with the PreemptionMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreemptionMode + +`func (o *V0036Partition) SetPreemptionMode(v []string)` + +SetPreemptionMode sets PreemptionMode field to given value. + +### HasPreemptionMode + +`func (o *V0036Partition) HasPreemptionMode() bool` + +HasPreemptionMode returns a boolean if a field has been set. + +### GetAllowedAllocationNodes + +`func (o *V0036Partition) GetAllowedAllocationNodes() string` + +GetAllowedAllocationNodes returns the AllowedAllocationNodes field if non-nil, zero value otherwise. + +### GetAllowedAllocationNodesOk + +`func (o *V0036Partition) GetAllowedAllocationNodesOk() (*string, bool)` + +GetAllowedAllocationNodesOk returns a tuple with the AllowedAllocationNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowedAllocationNodes + +`func (o *V0036Partition) SetAllowedAllocationNodes(v string)` + +SetAllowedAllocationNodes sets AllowedAllocationNodes field to given value. + +### HasAllowedAllocationNodes + +`func (o *V0036Partition) HasAllowedAllocationNodes() bool` + +HasAllowedAllocationNodes returns a boolean if a field has been set. + +### GetAllowedAccounts + +`func (o *V0036Partition) GetAllowedAccounts() string` + +GetAllowedAccounts returns the AllowedAccounts field if non-nil, zero value otherwise. + +### GetAllowedAccountsOk + +`func (o *V0036Partition) GetAllowedAccountsOk() (*string, bool)` + +GetAllowedAccountsOk returns a tuple with the AllowedAccounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowedAccounts + +`func (o *V0036Partition) SetAllowedAccounts(v string)` + +SetAllowedAccounts sets AllowedAccounts field to given value. + +### HasAllowedAccounts + +`func (o *V0036Partition) HasAllowedAccounts() bool` + +HasAllowedAccounts returns a boolean if a field has been set. + +### GetAllowedGroups + +`func (o *V0036Partition) GetAllowedGroups() string` + +GetAllowedGroups returns the AllowedGroups field if non-nil, zero value otherwise. + +### GetAllowedGroupsOk + +`func (o *V0036Partition) GetAllowedGroupsOk() (*string, bool)` + +GetAllowedGroupsOk returns a tuple with the AllowedGroups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowedGroups + +`func (o *V0036Partition) SetAllowedGroups(v string)` + +SetAllowedGroups sets AllowedGroups field to given value. + +### HasAllowedGroups + +`func (o *V0036Partition) HasAllowedGroups() bool` + +HasAllowedGroups returns a boolean if a field has been set. + +### GetAllowedQos + +`func (o *V0036Partition) GetAllowedQos() string` + +GetAllowedQos returns the AllowedQos field if non-nil, zero value otherwise. + +### GetAllowedQosOk + +`func (o *V0036Partition) GetAllowedQosOk() (*string, bool)` + +GetAllowedQosOk returns a tuple with the AllowedQos field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowedQos + +`func (o *V0036Partition) SetAllowedQos(v string)` + +SetAllowedQos sets AllowedQos field to given value. + +### HasAllowedQos + +`func (o *V0036Partition) HasAllowedQos() bool` + +HasAllowedQos returns a boolean if a field has been set. + +### GetAlternative + +`func (o *V0036Partition) GetAlternative() string` + +GetAlternative returns the Alternative field if non-nil, zero value otherwise. + +### GetAlternativeOk + +`func (o *V0036Partition) GetAlternativeOk() (*string, bool)` + +GetAlternativeOk returns a tuple with the Alternative field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlternative + +`func (o *V0036Partition) SetAlternative(v string)` + +SetAlternative sets Alternative field to given value. + +### HasAlternative + +`func (o *V0036Partition) HasAlternative() bool` + +HasAlternative returns a boolean if a field has been set. + +### GetBillingWeights + +`func (o *V0036Partition) GetBillingWeights() string` + +GetBillingWeights returns the BillingWeights field if non-nil, zero value otherwise. + +### GetBillingWeightsOk + +`func (o *V0036Partition) GetBillingWeightsOk() (*string, bool)` + +GetBillingWeightsOk returns a tuple with the BillingWeights field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBillingWeights + +`func (o *V0036Partition) SetBillingWeights(v string)` + +SetBillingWeights sets BillingWeights field to given value. + +### HasBillingWeights + +`func (o *V0036Partition) HasBillingWeights() bool` + +HasBillingWeights returns a boolean if a field has been set. + +### GetDefaultMemoryPerCpu + +`func (o *V0036Partition) GetDefaultMemoryPerCpu() int64` + +GetDefaultMemoryPerCpu returns the DefaultMemoryPerCpu field if non-nil, zero value otherwise. + +### GetDefaultMemoryPerCpuOk + +`func (o *V0036Partition) GetDefaultMemoryPerCpuOk() (*int64, bool)` + +GetDefaultMemoryPerCpuOk returns a tuple with the DefaultMemoryPerCpu field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultMemoryPerCpu + +`func (o *V0036Partition) SetDefaultMemoryPerCpu(v int64)` + +SetDefaultMemoryPerCpu sets DefaultMemoryPerCpu field to given value. + +### HasDefaultMemoryPerCpu + +`func (o *V0036Partition) HasDefaultMemoryPerCpu() bool` + +HasDefaultMemoryPerCpu returns a boolean if a field has been set. + +### GetDefaultTimeLimit + +`func (o *V0036Partition) GetDefaultTimeLimit() int64` + +GetDefaultTimeLimit returns the DefaultTimeLimit field if non-nil, zero value otherwise. + +### GetDefaultTimeLimitOk + +`func (o *V0036Partition) GetDefaultTimeLimitOk() (*int64, bool)` + +GetDefaultTimeLimitOk returns a tuple with the DefaultTimeLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultTimeLimit + +`func (o *V0036Partition) SetDefaultTimeLimit(v int64)` + +SetDefaultTimeLimit sets DefaultTimeLimit field to given value. + +### HasDefaultTimeLimit + +`func (o *V0036Partition) HasDefaultTimeLimit() bool` + +HasDefaultTimeLimit returns a boolean if a field has been set. + +### GetDeniedAccounts + +`func (o *V0036Partition) GetDeniedAccounts() string` + +GetDeniedAccounts returns the DeniedAccounts field if non-nil, zero value otherwise. + +### GetDeniedAccountsOk + +`func (o *V0036Partition) GetDeniedAccountsOk() (*string, bool)` + +GetDeniedAccountsOk returns a tuple with the DeniedAccounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeniedAccounts + +`func (o *V0036Partition) SetDeniedAccounts(v string)` + +SetDeniedAccounts sets DeniedAccounts field to given value. + +### HasDeniedAccounts + +`func (o *V0036Partition) HasDeniedAccounts() bool` + +HasDeniedAccounts returns a boolean if a field has been set. + +### GetDeniedQos + +`func (o *V0036Partition) GetDeniedQos() string` + +GetDeniedQos returns the DeniedQos field if non-nil, zero value otherwise. + +### GetDeniedQosOk + +`func (o *V0036Partition) GetDeniedQosOk() (*string, bool)` + +GetDeniedQosOk returns a tuple with the DeniedQos field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeniedQos + +`func (o *V0036Partition) SetDeniedQos(v string)` + +SetDeniedQos sets DeniedQos field to given value. + +### HasDeniedQos + +`func (o *V0036Partition) HasDeniedQos() bool` + +HasDeniedQos returns a boolean if a field has been set. + +### GetPreemptionGraceTime + +`func (o *V0036Partition) GetPreemptionGraceTime() int64` + +GetPreemptionGraceTime returns the PreemptionGraceTime field if non-nil, zero value otherwise. + +### GetPreemptionGraceTimeOk + +`func (o *V0036Partition) GetPreemptionGraceTimeOk() (*int64, bool)` + +GetPreemptionGraceTimeOk returns a tuple with the PreemptionGraceTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreemptionGraceTime + +`func (o *V0036Partition) SetPreemptionGraceTime(v int64)` + +SetPreemptionGraceTime sets PreemptionGraceTime field to given value. + +### HasPreemptionGraceTime + +`func (o *V0036Partition) HasPreemptionGraceTime() bool` + +HasPreemptionGraceTime returns a boolean if a field has been set. + +### GetMaximumCpusPerNode + +`func (o *V0036Partition) GetMaximumCpusPerNode() int32` + +GetMaximumCpusPerNode returns the MaximumCpusPerNode field if non-nil, zero value otherwise. + +### GetMaximumCpusPerNodeOk + +`func (o *V0036Partition) GetMaximumCpusPerNodeOk() (*int32, bool)` + +GetMaximumCpusPerNodeOk returns a tuple with the MaximumCpusPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumCpusPerNode + +`func (o *V0036Partition) SetMaximumCpusPerNode(v int32)` + +SetMaximumCpusPerNode sets MaximumCpusPerNode field to given value. + +### HasMaximumCpusPerNode + +`func (o *V0036Partition) HasMaximumCpusPerNode() bool` + +HasMaximumCpusPerNode returns a boolean if a field has been set. + +### GetMaximumMemoryPerNode + +`func (o *V0036Partition) GetMaximumMemoryPerNode() int64` + +GetMaximumMemoryPerNode returns the MaximumMemoryPerNode field if non-nil, zero value otherwise. + +### GetMaximumMemoryPerNodeOk + +`func (o *V0036Partition) GetMaximumMemoryPerNodeOk() (*int64, bool)` + +GetMaximumMemoryPerNodeOk returns a tuple with the MaximumMemoryPerNode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumMemoryPerNode + +`func (o *V0036Partition) SetMaximumMemoryPerNode(v int64)` + +SetMaximumMemoryPerNode sets MaximumMemoryPerNode field to given value. + +### HasMaximumMemoryPerNode + +`func (o *V0036Partition) HasMaximumMemoryPerNode() bool` + +HasMaximumMemoryPerNode returns a boolean if a field has been set. + +### GetMaximumNodesPerJob + +`func (o *V0036Partition) GetMaximumNodesPerJob() int32` + +GetMaximumNodesPerJob returns the MaximumNodesPerJob field if non-nil, zero value otherwise. + +### GetMaximumNodesPerJobOk + +`func (o *V0036Partition) GetMaximumNodesPerJobOk() (*int32, bool)` + +GetMaximumNodesPerJobOk returns a tuple with the MaximumNodesPerJob field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumNodesPerJob + +`func (o *V0036Partition) SetMaximumNodesPerJob(v int32)` + +SetMaximumNodesPerJob sets MaximumNodesPerJob field to given value. + +### HasMaximumNodesPerJob + +`func (o *V0036Partition) HasMaximumNodesPerJob() bool` + +HasMaximumNodesPerJob returns a boolean if a field has been set. + +### GetMaxTimeLimit + +`func (o *V0036Partition) GetMaxTimeLimit() int64` + +GetMaxTimeLimit returns the MaxTimeLimit field if non-nil, zero value otherwise. + +### GetMaxTimeLimitOk + +`func (o *V0036Partition) GetMaxTimeLimitOk() (*int64, bool)` + +GetMaxTimeLimitOk returns a tuple with the MaxTimeLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxTimeLimit + +`func (o *V0036Partition) SetMaxTimeLimit(v int64)` + +SetMaxTimeLimit sets MaxTimeLimit field to given value. + +### HasMaxTimeLimit + +`func (o *V0036Partition) HasMaxTimeLimit() bool` + +HasMaxTimeLimit returns a boolean if a field has been set. + +### GetMinNodesPerJob + +`func (o *V0036Partition) GetMinNodesPerJob() int32` + +GetMinNodesPerJob returns the MinNodesPerJob field if non-nil, zero value otherwise. + +### GetMinNodesPerJobOk + +`func (o *V0036Partition) GetMinNodesPerJobOk() (*int32, bool)` + +GetMinNodesPerJobOk returns a tuple with the MinNodesPerJob field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinNodesPerJob + +`func (o *V0036Partition) SetMinNodesPerJob(v int32)` + +SetMinNodesPerJob sets MinNodesPerJob field to given value. + +### HasMinNodesPerJob + +`func (o *V0036Partition) HasMinNodesPerJob() bool` + +HasMinNodesPerJob returns a boolean if a field has been set. + +### GetName + +`func (o *V0036Partition) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *V0036Partition) 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 *V0036Partition) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *V0036Partition) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNodes + +`func (o *V0036Partition) GetNodes() string` + +GetNodes returns the Nodes field if non-nil, zero value otherwise. + +### GetNodesOk + +`func (o *V0036Partition) GetNodesOk() (*string, bool)` + +GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodes + +`func (o *V0036Partition) SetNodes(v string)` + +SetNodes sets Nodes field to given value. + +### HasNodes + +`func (o *V0036Partition) HasNodes() bool` + +HasNodes returns a boolean if a field has been set. + +### GetOverTimeLimit + +`func (o *V0036Partition) GetOverTimeLimit() int32` + +GetOverTimeLimit returns the OverTimeLimit field if non-nil, zero value otherwise. + +### GetOverTimeLimitOk + +`func (o *V0036Partition) GetOverTimeLimitOk() (*int32, bool)` + +GetOverTimeLimitOk returns a tuple with the OverTimeLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverTimeLimit + +`func (o *V0036Partition) SetOverTimeLimit(v int32)` + +SetOverTimeLimit sets OverTimeLimit field to given value. + +### HasOverTimeLimit + +`func (o *V0036Partition) HasOverTimeLimit() bool` + +HasOverTimeLimit returns a boolean if a field has been set. + +### GetPriorityJobFactor + +`func (o *V0036Partition) GetPriorityJobFactor() int32` + +GetPriorityJobFactor returns the PriorityJobFactor field if non-nil, zero value otherwise. + +### GetPriorityJobFactorOk + +`func (o *V0036Partition) GetPriorityJobFactorOk() (*int32, bool)` + +GetPriorityJobFactorOk returns a tuple with the PriorityJobFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriorityJobFactor + +`func (o *V0036Partition) SetPriorityJobFactor(v int32)` + +SetPriorityJobFactor sets PriorityJobFactor field to given value. + +### HasPriorityJobFactor + +`func (o *V0036Partition) HasPriorityJobFactor() bool` + +HasPriorityJobFactor returns a boolean if a field has been set. + +### GetPriorityTier + +`func (o *V0036Partition) GetPriorityTier() int32` + +GetPriorityTier returns the PriorityTier field if non-nil, zero value otherwise. + +### GetPriorityTierOk + +`func (o *V0036Partition) GetPriorityTierOk() (*int32, bool)` + +GetPriorityTierOk returns a tuple with the PriorityTier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriorityTier + +`func (o *V0036Partition) SetPriorityTier(v int32)` + +SetPriorityTier sets PriorityTier field to given value. + +### HasPriorityTier + +`func (o *V0036Partition) HasPriorityTier() bool` + +HasPriorityTier returns a boolean if a field has been set. + +### GetQos + +`func (o *V0036Partition) GetQos() string` + +GetQos returns the Qos field if non-nil, zero value otherwise. + +### GetQosOk + +`func (o *V0036Partition) GetQosOk() (*string, bool)` + +GetQosOk returns a tuple with the Qos field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQos + +`func (o *V0036Partition) SetQos(v string)` + +SetQos sets Qos field to given value. + +### HasQos + +`func (o *V0036Partition) HasQos() bool` + +HasQos returns a boolean if a field has been set. + +### GetNodesOnline + +`func (o *V0036Partition) GetNodesOnline() int32` + +GetNodesOnline returns the NodesOnline field if non-nil, zero value otherwise. + +### GetNodesOnlineOk + +`func (o *V0036Partition) GetNodesOnlineOk() (*int32, bool)` + +GetNodesOnlineOk returns a tuple with the NodesOnline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodesOnline + +`func (o *V0036Partition) SetNodesOnline(v int32)` + +SetNodesOnline sets NodesOnline field to given value. + +### HasNodesOnline + +`func (o *V0036Partition) HasNodesOnline() bool` + +HasNodesOnline returns a boolean if a field has been set. + +### GetTotalCpus + +`func (o *V0036Partition) GetTotalCpus() int32` + +GetTotalCpus returns the TotalCpus field if non-nil, zero value otherwise. + +### GetTotalCpusOk + +`func (o *V0036Partition) GetTotalCpusOk() (*int32, bool)` + +GetTotalCpusOk returns a tuple with the TotalCpus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalCpus + +`func (o *V0036Partition) SetTotalCpus(v int32)` + +SetTotalCpus sets TotalCpus field to given value. + +### HasTotalCpus + +`func (o *V0036Partition) HasTotalCpus() bool` + +HasTotalCpus returns a boolean if a field has been set. + +### GetTotalNodes + +`func (o *V0036Partition) GetTotalNodes() int32` + +GetTotalNodes returns the TotalNodes field if non-nil, zero value otherwise. + +### GetTotalNodesOk + +`func (o *V0036Partition) GetTotalNodesOk() (*int32, bool)` + +GetTotalNodesOk returns a tuple with the TotalNodes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalNodes + +`func (o *V0036Partition) SetTotalNodes(v int32)` + +SetTotalNodes sets TotalNodes field to given value. + +### HasTotalNodes + +`func (o *V0036Partition) HasTotalNodes() bool` + +HasTotalNodes returns a boolean if a field has been set. + +### GetTres + +`func (o *V0036Partition) GetTres() string` + +GetTres returns the Tres field if non-nil, zero value otherwise. + +### GetTresOk + +`func (o *V0036Partition) GetTresOk() (*string, bool)` + +GetTresOk returns a tuple with the Tres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTres + +`func (o *V0036Partition) SetTres(v string)` + +SetTres sets Tres field to given value. + +### HasTres + +`func (o *V0036Partition) HasTres() bool` + +HasTres returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036PartitionsResponse.md b/docs/V0036PartitionsResponse.md new file mode 100644 index 0000000..14ce572 --- /dev/null +++ b/docs/V0036PartitionsResponse.md @@ -0,0 +1,82 @@ +# V0036PartitionsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**Partitions** | Pointer to [**[]V0036Partition**](V0036Partition.md) | partition info | [optional] + +## Methods + +### NewV0036PartitionsResponse + +`func NewV0036PartitionsResponse() *V0036PartitionsResponse` + +NewV0036PartitionsResponse instantiates a new V0036PartitionsResponse 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 + +### NewV0036PartitionsResponseWithDefaults + +`func NewV0036PartitionsResponseWithDefaults() *V0036PartitionsResponse` + +NewV0036PartitionsResponseWithDefaults instantiates a new V0036PartitionsResponse 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 + +### GetErrors + +`func (o *V0036PartitionsResponse) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036PartitionsResponse) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036PartitionsResponse) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036PartitionsResponse) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetPartitions + +`func (o *V0036PartitionsResponse) GetPartitions() []V0036Partition` + +GetPartitions returns the Partitions field if non-nil, zero value otherwise. + +### GetPartitionsOk + +`func (o *V0036PartitionsResponse) GetPartitionsOk() (*[]V0036Partition, bool)` + +GetPartitionsOk returns a tuple with the Partitions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartitions + +`func (o *V0036PartitionsResponse) SetPartitions(v []V0036Partition)` + +SetPartitions sets Partitions field to given value. + +### HasPartitions + +`func (o *V0036PartitionsResponse) HasPartitions() bool` + +HasPartitions returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Ping.md b/docs/V0036Ping.md new file mode 100644 index 0000000..1922e77 --- /dev/null +++ b/docs/V0036Ping.md @@ -0,0 +1,134 @@ +# V0036Ping + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Hostname** | Pointer to **string** | slurm controller hostname | [optional] +**Ping** | Pointer to **string** | slurm controller host up | [optional] +**Mode** | Pointer to **string** | slurm controller mode | [optional] +**Status** | Pointer to **int32** | slurm controller status | [optional] + +## Methods + +### NewV0036Ping + +`func NewV0036Ping() *V0036Ping` + +NewV0036Ping instantiates a new V0036Ping 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 + +### NewV0036PingWithDefaults + +`func NewV0036PingWithDefaults() *V0036Ping` + +NewV0036PingWithDefaults instantiates a new V0036Ping 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 + +### GetHostname + +`func (o *V0036Ping) GetHostname() string` + +GetHostname returns the Hostname field if non-nil, zero value otherwise. + +### GetHostnameOk + +`func (o *V0036Ping) GetHostnameOk() (*string, bool)` + +GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHostname + +`func (o *V0036Ping) SetHostname(v string)` + +SetHostname sets Hostname field to given value. + +### HasHostname + +`func (o *V0036Ping) HasHostname() bool` + +HasHostname returns a boolean if a field has been set. + +### GetPing + +`func (o *V0036Ping) GetPing() string` + +GetPing returns the Ping field if non-nil, zero value otherwise. + +### GetPingOk + +`func (o *V0036Ping) GetPingOk() (*string, bool)` + +GetPingOk returns a tuple with the Ping field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPing + +`func (o *V0036Ping) SetPing(v string)` + +SetPing sets Ping field to given value. + +### HasPing + +`func (o *V0036Ping) HasPing() bool` + +HasPing returns a boolean if a field has been set. + +### GetMode + +`func (o *V0036Ping) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *V0036Ping) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *V0036Ping) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *V0036Ping) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetStatus + +`func (o *V0036Ping) GetStatus() int32` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *V0036Ping) GetStatusOk() (*int32, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *V0036Ping) SetStatus(v int32)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *V0036Ping) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Pings.md b/docs/V0036Pings.md new file mode 100644 index 0000000..9058a35 --- /dev/null +++ b/docs/V0036Pings.md @@ -0,0 +1,82 @@ +# V0036Pings + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | Pointer to [**[]V0036Error**](V0036Error.md) | slurm errors | [optional] +**Pings** | Pointer to [**[]V0036Ping**](V0036Ping.md) | slurm controller pings | [optional] + +## Methods + +### NewV0036Pings + +`func NewV0036Pings() *V0036Pings` + +NewV0036Pings instantiates a new V0036Pings 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 + +### NewV0036PingsWithDefaults + +`func NewV0036PingsWithDefaults() *V0036Pings` + +NewV0036PingsWithDefaults instantiates a new V0036Pings 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 + +### GetErrors + +`func (o *V0036Pings) GetErrors() []V0036Error` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *V0036Pings) GetErrorsOk() (*[]V0036Error, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *V0036Pings) SetErrors(v []V0036Error)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *V0036Pings) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetPings + +`func (o *V0036Pings) GetPings() []V0036Ping` + +GetPings returns the Pings field if non-nil, zero value otherwise. + +### GetPingsOk + +`func (o *V0036Pings) GetPingsOk() (*[]V0036Ping, bool)` + +GetPingsOk returns a tuple with the Pings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPings + +`func (o *V0036Pings) SetPings(v []V0036Ping)` + +SetPings sets Pings field to given value. + +### HasPings + +`func (o *V0036Pings) HasPings() bool` + +HasPings returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V0036Signal.md b/docs/V0036Signal.md new file mode 100644 index 0000000..c1af79f --- /dev/null +++ b/docs/V0036Signal.md @@ -0,0 +1,39 @@ +# V0036Signal + +## Enum + + +* `HUP` (value: `"HUP"`) + +* `INT` (value: `"INT"`) + +* `QUIT` (value: `"QUIT"`) + +* `ABRT` (value: `"ABRT"`) + +* `KILL` (value: `"KILL"`) + +* `ALRM` (value: `"ALRM"`) + +* `TERM` (value: `"TERM"`) + +* `USR1` (value: `"USR1"`) + +* `USR2` (value: `"USR2"`) + +* `URG` (value: `"URG"`) + +* `CONT` (value: `"CONT"`) + +* `STOP` (value: `"STOP"`) + +* `TSTP` (value: `"TSTP"`) + +* `TTIN` (value: `"TTIN"`) + +* `TTOU` (value: `"TTOU"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f2dc5a4 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/ubccr/slurmrest + +go 1.16 + +require golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e73510b --- /dev/null +++ b/go.sum @@ -0,0 +1,362 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1 h1:x622Z2o4hgCr/4CiKWc51jHVKaWdtVpBNmEI8wI9Qns= +golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/model_v0_0_36_diag.go b/model_v0_0_36_diag.go new file mode 100644 index 0000000..eafe7a6 --- /dev/null +++ b/model_v0_0_36_diag.go @@ -0,0 +1,153 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Diag struct for V0036Diag +type V0036Diag struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + Statistics *V0036DiagStatistics `json:"statistics,omitempty"` +} + +// NewV0036Diag instantiates a new V0036Diag 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 +func NewV0036Diag() *V0036Diag { + this := V0036Diag{} + return &this +} + +// NewV0036DiagWithDefaults instantiates a new V0036Diag 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 +func NewV0036DiagWithDefaults() *V0036Diag { + this := V0036Diag{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036Diag) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Diag) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036Diag) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036Diag) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetStatistics returns the Statistics field value if set, zero value otherwise. +func (o *V0036Diag) GetStatistics() V0036DiagStatistics { + if o == nil || o.Statistics == nil { + var ret V0036DiagStatistics + return ret + } + return *o.Statistics +} + +// GetStatisticsOk returns a tuple with the Statistics field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Diag) GetStatisticsOk() (*V0036DiagStatistics, bool) { + if o == nil || o.Statistics == nil { + return nil, false + } + return o.Statistics, true +} + +// HasStatistics returns a boolean if a field has been set. +func (o *V0036Diag) HasStatistics() bool { + if o != nil && o.Statistics != nil { + return true + } + + return false +} + +// SetStatistics gets a reference to the given V0036DiagStatistics and assigns it to the Statistics field. +func (o *V0036Diag) SetStatistics(v V0036DiagStatistics) { + o.Statistics = &v +} + +func (o V0036Diag) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.Statistics != nil { + toSerialize["statistics"] = o.Statistics + } + return json.Marshal(toSerialize) +} + +type NullableV0036Diag struct { + value *V0036Diag + isSet bool +} + +func (v NullableV0036Diag) Get() *V0036Diag { + return v.value +} + +func (v *NullableV0036Diag) Set(val *V0036Diag) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Diag) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Diag) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Diag(val *V0036Diag) *NullableV0036Diag { + return &NullableV0036Diag{value: val, isSet: true} +} + +func (v NullableV0036Diag) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Diag) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_diag_statistics.go b/model_v0_0_36_diag_statistics.go new file mode 100644 index 0000000..e6b6c44 --- /dev/null +++ b/model_v0_0_36_diag_statistics.go @@ -0,0 +1,1523 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036DiagStatistics Slurm statistics +type V0036DiagStatistics struct { + // partition records packed + PartsPacked *int32 `json:"parts_packed,omitempty"` + // generation time + ReqTime *int32 `json:"req_time,omitempty"` + // data since + ReqTimeStart *int32 `json:"req_time_start,omitempty"` + // Server thread count + ServerThreadCount *int32 `json:"server_thread_count,omitempty"` + // Agent queue size + AgentQueueSize *int32 `json:"agent_queue_size,omitempty"` + // Agent count + AgentCount *int32 `json:"agent_count,omitempty"` + // Agent thread count + AgentThreadCount *int32 `json:"agent_thread_count,omitempty"` + // DBD Agent queue size + DbdAgentQueueSize *int32 `json:"dbd_agent_queue_size,omitempty"` + // Latency for 1000 calls to gettimeofday() + GettimeofdayLatency *int32 `json:"gettimeofday_latency,omitempty"` + // Main Schedule max cycle + ScheduleCycleMax *int32 `json:"schedule_cycle_max,omitempty"` + // Main Schedule last cycle + ScheduleCycleLast *int32 `json:"schedule_cycle_last,omitempty"` + // Main Schedule cycle iterations + ScheduleCycleTotal *int32 `json:"schedule_cycle_total,omitempty"` + // Average time for Schedule Max cycle + ScheduleCycleMean *int32 `json:"schedule_cycle_mean,omitempty"` + // Average depth for Schedule Max cycle + ScheduleCycleMeanDepth *int32 `json:"schedule_cycle_mean_depth,omitempty"` + // Main Schedule Cycles per minute + ScheduleCyclePerMinute *int32 `json:"schedule_cycle_per_minute,omitempty"` + // Main Schedule Last queue length + ScheduleQueueLength *int32 `json:"schedule_queue_length,omitempty"` + // Job submitted + JobsSubmitted *int32 `json:"jobs_submitted,omitempty"` + // Job started + JobsStarted *int32 `json:"jobs_started,omitempty"` + // Job completed + JobsCompleted *int32 `json:"jobs_completed,omitempty"` + // Job cancelled + JobsCanceled *int32 `json:"jobs_canceled,omitempty"` + // Job failed + JobsFailed *int32 `json:"jobs_failed,omitempty"` + // Job pending + JobsPending *int32 `json:"jobs_pending,omitempty"` + // Job running + JobsRunning *int32 `json:"jobs_running,omitempty"` + // Job states timestamp + JobStatesTs *int32 `json:"job_states_ts,omitempty"` + // Total backfilled jobs (since last slurm start) + BfBackfilledJobs *int32 `json:"bf_backfilled_jobs,omitempty"` + // Total backfilled jobs (since last stats cycle start) + BfLastBackfilledJobs *int32 `json:"bf_last_backfilled_jobs,omitempty"` + // Total backfilled heterogeneous job components + BfBackfilledHetJobs *int32 `json:"bf_backfilled_het_jobs,omitempty"` + // Backfill Schedule Total cycles + BfCycleCounter *int32 `json:"bf_cycle_counter,omitempty"` + // Backfill Schedule Mean cycle + BfCycleMean *int32 `json:"bf_cycle_mean,omitempty"` + // Backfill Schedule Max cycle time + BfCycleMax *int32 `json:"bf_cycle_max,omitempty"` + // Backfill Schedule Last depth cycle + BfLastDepth *int32 `json:"bf_last_depth,omitempty"` + // Backfill Schedule Mean cycle (try sched) + BfLastDepthTry *int32 `json:"bf_last_depth_try,omitempty"` + // Backfill Schedule Depth Mean + BfDepthMean *int32 `json:"bf_depth_mean,omitempty"` + // Backfill Schedule Depth Mean (try sched) + BfDepthMeanTry *int32 `json:"bf_depth_mean_try,omitempty"` + // Backfill Schedule Last cycle time + BfCycleLast *int32 `json:"bf_cycle_last,omitempty"` + // Backfill Schedule Last queue length + BfQueueLen *int32 `json:"bf_queue_len,omitempty"` + // Backfill Schedule Mean queue length + BfQueueLenMean *int32 `json:"bf_queue_len_mean,omitempty"` + // Last cycle timestamp + BfWhenLastCycle *int32 `json:"bf_when_last_cycle,omitempty"` + // Backfill Schedule currently active + BfActive *bool `json:"bf_active,omitempty"` +} + +// NewV0036DiagStatistics instantiates a new V0036DiagStatistics 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 +func NewV0036DiagStatistics() *V0036DiagStatistics { + this := V0036DiagStatistics{} + return &this +} + +// NewV0036DiagStatisticsWithDefaults instantiates a new V0036DiagStatistics 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 +func NewV0036DiagStatisticsWithDefaults() *V0036DiagStatistics { + this := V0036DiagStatistics{} + return &this +} + +// GetPartsPacked returns the PartsPacked field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetPartsPacked() int32 { + if o == nil || o.PartsPacked == nil { + var ret int32 + return ret + } + return *o.PartsPacked +} + +// GetPartsPackedOk returns a tuple with the PartsPacked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetPartsPackedOk() (*int32, bool) { + if o == nil || o.PartsPacked == nil { + return nil, false + } + return o.PartsPacked, true +} + +// HasPartsPacked returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasPartsPacked() bool { + if o != nil && o.PartsPacked != nil { + return true + } + + return false +} + +// SetPartsPacked gets a reference to the given int32 and assigns it to the PartsPacked field. +func (o *V0036DiagStatistics) SetPartsPacked(v int32) { + o.PartsPacked = &v +} + +// GetReqTime returns the ReqTime field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetReqTime() int32 { + if o == nil || o.ReqTime == nil { + var ret int32 + return ret + } + return *o.ReqTime +} + +// GetReqTimeOk returns a tuple with the ReqTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetReqTimeOk() (*int32, bool) { + if o == nil || o.ReqTime == nil { + return nil, false + } + return o.ReqTime, true +} + +// HasReqTime returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasReqTime() bool { + if o != nil && o.ReqTime != nil { + return true + } + + return false +} + +// SetReqTime gets a reference to the given int32 and assigns it to the ReqTime field. +func (o *V0036DiagStatistics) SetReqTime(v int32) { + o.ReqTime = &v +} + +// GetReqTimeStart returns the ReqTimeStart field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetReqTimeStart() int32 { + if o == nil || o.ReqTimeStart == nil { + var ret int32 + return ret + } + return *o.ReqTimeStart +} + +// GetReqTimeStartOk returns a tuple with the ReqTimeStart field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetReqTimeStartOk() (*int32, bool) { + if o == nil || o.ReqTimeStart == nil { + return nil, false + } + return o.ReqTimeStart, true +} + +// HasReqTimeStart returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasReqTimeStart() bool { + if o != nil && o.ReqTimeStart != nil { + return true + } + + return false +} + +// SetReqTimeStart gets a reference to the given int32 and assigns it to the ReqTimeStart field. +func (o *V0036DiagStatistics) SetReqTimeStart(v int32) { + o.ReqTimeStart = &v +} + +// GetServerThreadCount returns the ServerThreadCount field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetServerThreadCount() int32 { + if o == nil || o.ServerThreadCount == nil { + var ret int32 + return ret + } + return *o.ServerThreadCount +} + +// GetServerThreadCountOk returns a tuple with the ServerThreadCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetServerThreadCountOk() (*int32, bool) { + if o == nil || o.ServerThreadCount == nil { + return nil, false + } + return o.ServerThreadCount, true +} + +// HasServerThreadCount returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasServerThreadCount() bool { + if o != nil && o.ServerThreadCount != nil { + return true + } + + return false +} + +// SetServerThreadCount gets a reference to the given int32 and assigns it to the ServerThreadCount field. +func (o *V0036DiagStatistics) SetServerThreadCount(v int32) { + o.ServerThreadCount = &v +} + +// GetAgentQueueSize returns the AgentQueueSize field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetAgentQueueSize() int32 { + if o == nil || o.AgentQueueSize == nil { + var ret int32 + return ret + } + return *o.AgentQueueSize +} + +// GetAgentQueueSizeOk returns a tuple with the AgentQueueSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetAgentQueueSizeOk() (*int32, bool) { + if o == nil || o.AgentQueueSize == nil { + return nil, false + } + return o.AgentQueueSize, true +} + +// HasAgentQueueSize returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasAgentQueueSize() bool { + if o != nil && o.AgentQueueSize != nil { + return true + } + + return false +} + +// SetAgentQueueSize gets a reference to the given int32 and assigns it to the AgentQueueSize field. +func (o *V0036DiagStatistics) SetAgentQueueSize(v int32) { + o.AgentQueueSize = &v +} + +// GetAgentCount returns the AgentCount field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetAgentCount() int32 { + if o == nil || o.AgentCount == nil { + var ret int32 + return ret + } + return *o.AgentCount +} + +// GetAgentCountOk returns a tuple with the AgentCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetAgentCountOk() (*int32, bool) { + if o == nil || o.AgentCount == nil { + return nil, false + } + return o.AgentCount, true +} + +// HasAgentCount returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasAgentCount() bool { + if o != nil && o.AgentCount != nil { + return true + } + + return false +} + +// SetAgentCount gets a reference to the given int32 and assigns it to the AgentCount field. +func (o *V0036DiagStatistics) SetAgentCount(v int32) { + o.AgentCount = &v +} + +// GetAgentThreadCount returns the AgentThreadCount field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetAgentThreadCount() int32 { + if o == nil || o.AgentThreadCount == nil { + var ret int32 + return ret + } + return *o.AgentThreadCount +} + +// GetAgentThreadCountOk returns a tuple with the AgentThreadCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetAgentThreadCountOk() (*int32, bool) { + if o == nil || o.AgentThreadCount == nil { + return nil, false + } + return o.AgentThreadCount, true +} + +// HasAgentThreadCount returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasAgentThreadCount() bool { + if o != nil && o.AgentThreadCount != nil { + return true + } + + return false +} + +// SetAgentThreadCount gets a reference to the given int32 and assigns it to the AgentThreadCount field. +func (o *V0036DiagStatistics) SetAgentThreadCount(v int32) { + o.AgentThreadCount = &v +} + +// GetDbdAgentQueueSize returns the DbdAgentQueueSize field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetDbdAgentQueueSize() int32 { + if o == nil || o.DbdAgentQueueSize == nil { + var ret int32 + return ret + } + return *o.DbdAgentQueueSize +} + +// GetDbdAgentQueueSizeOk returns a tuple with the DbdAgentQueueSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetDbdAgentQueueSizeOk() (*int32, bool) { + if o == nil || o.DbdAgentQueueSize == nil { + return nil, false + } + return o.DbdAgentQueueSize, true +} + +// HasDbdAgentQueueSize returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasDbdAgentQueueSize() bool { + if o != nil && o.DbdAgentQueueSize != nil { + return true + } + + return false +} + +// SetDbdAgentQueueSize gets a reference to the given int32 and assigns it to the DbdAgentQueueSize field. +func (o *V0036DiagStatistics) SetDbdAgentQueueSize(v int32) { + o.DbdAgentQueueSize = &v +} + +// GetGettimeofdayLatency returns the GettimeofdayLatency field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetGettimeofdayLatency() int32 { + if o == nil || o.GettimeofdayLatency == nil { + var ret int32 + return ret + } + return *o.GettimeofdayLatency +} + +// GetGettimeofdayLatencyOk returns a tuple with the GettimeofdayLatency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetGettimeofdayLatencyOk() (*int32, bool) { + if o == nil || o.GettimeofdayLatency == nil { + return nil, false + } + return o.GettimeofdayLatency, true +} + +// HasGettimeofdayLatency returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasGettimeofdayLatency() bool { + if o != nil && o.GettimeofdayLatency != nil { + return true + } + + return false +} + +// SetGettimeofdayLatency gets a reference to the given int32 and assigns it to the GettimeofdayLatency field. +func (o *V0036DiagStatistics) SetGettimeofdayLatency(v int32) { + o.GettimeofdayLatency = &v +} + +// GetScheduleCycleMax returns the ScheduleCycleMax field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCycleMax() int32 { + if o == nil || o.ScheduleCycleMax == nil { + var ret int32 + return ret + } + return *o.ScheduleCycleMax +} + +// GetScheduleCycleMaxOk returns a tuple with the ScheduleCycleMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCycleMaxOk() (*int32, bool) { + if o == nil || o.ScheduleCycleMax == nil { + return nil, false + } + return o.ScheduleCycleMax, true +} + +// HasScheduleCycleMax returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCycleMax() bool { + if o != nil && o.ScheduleCycleMax != nil { + return true + } + + return false +} + +// SetScheduleCycleMax gets a reference to the given int32 and assigns it to the ScheduleCycleMax field. +func (o *V0036DiagStatistics) SetScheduleCycleMax(v int32) { + o.ScheduleCycleMax = &v +} + +// GetScheduleCycleLast returns the ScheduleCycleLast field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCycleLast() int32 { + if o == nil || o.ScheduleCycleLast == nil { + var ret int32 + return ret + } + return *o.ScheduleCycleLast +} + +// GetScheduleCycleLastOk returns a tuple with the ScheduleCycleLast field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCycleLastOk() (*int32, bool) { + if o == nil || o.ScheduleCycleLast == nil { + return nil, false + } + return o.ScheduleCycleLast, true +} + +// HasScheduleCycleLast returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCycleLast() bool { + if o != nil && o.ScheduleCycleLast != nil { + return true + } + + return false +} + +// SetScheduleCycleLast gets a reference to the given int32 and assigns it to the ScheduleCycleLast field. +func (o *V0036DiagStatistics) SetScheduleCycleLast(v int32) { + o.ScheduleCycleLast = &v +} + +// GetScheduleCycleTotal returns the ScheduleCycleTotal field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCycleTotal() int32 { + if o == nil || o.ScheduleCycleTotal == nil { + var ret int32 + return ret + } + return *o.ScheduleCycleTotal +} + +// GetScheduleCycleTotalOk returns a tuple with the ScheduleCycleTotal field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCycleTotalOk() (*int32, bool) { + if o == nil || o.ScheduleCycleTotal == nil { + return nil, false + } + return o.ScheduleCycleTotal, true +} + +// HasScheduleCycleTotal returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCycleTotal() bool { + if o != nil && o.ScheduleCycleTotal != nil { + return true + } + + return false +} + +// SetScheduleCycleTotal gets a reference to the given int32 and assigns it to the ScheduleCycleTotal field. +func (o *V0036DiagStatistics) SetScheduleCycleTotal(v int32) { + o.ScheduleCycleTotal = &v +} + +// GetScheduleCycleMean returns the ScheduleCycleMean field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCycleMean() int32 { + if o == nil || o.ScheduleCycleMean == nil { + var ret int32 + return ret + } + return *o.ScheduleCycleMean +} + +// GetScheduleCycleMeanOk returns a tuple with the ScheduleCycleMean field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCycleMeanOk() (*int32, bool) { + if o == nil || o.ScheduleCycleMean == nil { + return nil, false + } + return o.ScheduleCycleMean, true +} + +// HasScheduleCycleMean returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCycleMean() bool { + if o != nil && o.ScheduleCycleMean != nil { + return true + } + + return false +} + +// SetScheduleCycleMean gets a reference to the given int32 and assigns it to the ScheduleCycleMean field. +func (o *V0036DiagStatistics) SetScheduleCycleMean(v int32) { + o.ScheduleCycleMean = &v +} + +// GetScheduleCycleMeanDepth returns the ScheduleCycleMeanDepth field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCycleMeanDepth() int32 { + if o == nil || o.ScheduleCycleMeanDepth == nil { + var ret int32 + return ret + } + return *o.ScheduleCycleMeanDepth +} + +// GetScheduleCycleMeanDepthOk returns a tuple with the ScheduleCycleMeanDepth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCycleMeanDepthOk() (*int32, bool) { + if o == nil || o.ScheduleCycleMeanDepth == nil { + return nil, false + } + return o.ScheduleCycleMeanDepth, true +} + +// HasScheduleCycleMeanDepth returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCycleMeanDepth() bool { + if o != nil && o.ScheduleCycleMeanDepth != nil { + return true + } + + return false +} + +// SetScheduleCycleMeanDepth gets a reference to the given int32 and assigns it to the ScheduleCycleMeanDepth field. +func (o *V0036DiagStatistics) SetScheduleCycleMeanDepth(v int32) { + o.ScheduleCycleMeanDepth = &v +} + +// GetScheduleCyclePerMinute returns the ScheduleCyclePerMinute field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleCyclePerMinute() int32 { + if o == nil || o.ScheduleCyclePerMinute == nil { + var ret int32 + return ret + } + return *o.ScheduleCyclePerMinute +} + +// GetScheduleCyclePerMinuteOk returns a tuple with the ScheduleCyclePerMinute field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleCyclePerMinuteOk() (*int32, bool) { + if o == nil || o.ScheduleCyclePerMinute == nil { + return nil, false + } + return o.ScheduleCyclePerMinute, true +} + +// HasScheduleCyclePerMinute returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleCyclePerMinute() bool { + if o != nil && o.ScheduleCyclePerMinute != nil { + return true + } + + return false +} + +// SetScheduleCyclePerMinute gets a reference to the given int32 and assigns it to the ScheduleCyclePerMinute field. +func (o *V0036DiagStatistics) SetScheduleCyclePerMinute(v int32) { + o.ScheduleCyclePerMinute = &v +} + +// GetScheduleQueueLength returns the ScheduleQueueLength field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetScheduleQueueLength() int32 { + if o == nil || o.ScheduleQueueLength == nil { + var ret int32 + return ret + } + return *o.ScheduleQueueLength +} + +// GetScheduleQueueLengthOk returns a tuple with the ScheduleQueueLength field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetScheduleQueueLengthOk() (*int32, bool) { + if o == nil || o.ScheduleQueueLength == nil { + return nil, false + } + return o.ScheduleQueueLength, true +} + +// HasScheduleQueueLength returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasScheduleQueueLength() bool { + if o != nil && o.ScheduleQueueLength != nil { + return true + } + + return false +} + +// SetScheduleQueueLength gets a reference to the given int32 and assigns it to the ScheduleQueueLength field. +func (o *V0036DiagStatistics) SetScheduleQueueLength(v int32) { + o.ScheduleQueueLength = &v +} + +// GetJobsSubmitted returns the JobsSubmitted field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsSubmitted() int32 { + if o == nil || o.JobsSubmitted == nil { + var ret int32 + return ret + } + return *o.JobsSubmitted +} + +// GetJobsSubmittedOk returns a tuple with the JobsSubmitted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsSubmittedOk() (*int32, bool) { + if o == nil || o.JobsSubmitted == nil { + return nil, false + } + return o.JobsSubmitted, true +} + +// HasJobsSubmitted returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsSubmitted() bool { + if o != nil && o.JobsSubmitted != nil { + return true + } + + return false +} + +// SetJobsSubmitted gets a reference to the given int32 and assigns it to the JobsSubmitted field. +func (o *V0036DiagStatistics) SetJobsSubmitted(v int32) { + o.JobsSubmitted = &v +} + +// GetJobsStarted returns the JobsStarted field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsStarted() int32 { + if o == nil || o.JobsStarted == nil { + var ret int32 + return ret + } + return *o.JobsStarted +} + +// GetJobsStartedOk returns a tuple with the JobsStarted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsStartedOk() (*int32, bool) { + if o == nil || o.JobsStarted == nil { + return nil, false + } + return o.JobsStarted, true +} + +// HasJobsStarted returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsStarted() bool { + if o != nil && o.JobsStarted != nil { + return true + } + + return false +} + +// SetJobsStarted gets a reference to the given int32 and assigns it to the JobsStarted field. +func (o *V0036DiagStatistics) SetJobsStarted(v int32) { + o.JobsStarted = &v +} + +// GetJobsCompleted returns the JobsCompleted field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsCompleted() int32 { + if o == nil || o.JobsCompleted == nil { + var ret int32 + return ret + } + return *o.JobsCompleted +} + +// GetJobsCompletedOk returns a tuple with the JobsCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsCompletedOk() (*int32, bool) { + if o == nil || o.JobsCompleted == nil { + return nil, false + } + return o.JobsCompleted, true +} + +// HasJobsCompleted returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsCompleted() bool { + if o != nil && o.JobsCompleted != nil { + return true + } + + return false +} + +// SetJobsCompleted gets a reference to the given int32 and assigns it to the JobsCompleted field. +func (o *V0036DiagStatistics) SetJobsCompleted(v int32) { + o.JobsCompleted = &v +} + +// GetJobsCanceled returns the JobsCanceled field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsCanceled() int32 { + if o == nil || o.JobsCanceled == nil { + var ret int32 + return ret + } + return *o.JobsCanceled +} + +// GetJobsCanceledOk returns a tuple with the JobsCanceled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsCanceledOk() (*int32, bool) { + if o == nil || o.JobsCanceled == nil { + return nil, false + } + return o.JobsCanceled, true +} + +// HasJobsCanceled returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsCanceled() bool { + if o != nil && o.JobsCanceled != nil { + return true + } + + return false +} + +// SetJobsCanceled gets a reference to the given int32 and assigns it to the JobsCanceled field. +func (o *V0036DiagStatistics) SetJobsCanceled(v int32) { + o.JobsCanceled = &v +} + +// GetJobsFailed returns the JobsFailed field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsFailed() int32 { + if o == nil || o.JobsFailed == nil { + var ret int32 + return ret + } + return *o.JobsFailed +} + +// GetJobsFailedOk returns a tuple with the JobsFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsFailedOk() (*int32, bool) { + if o == nil || o.JobsFailed == nil { + return nil, false + } + return o.JobsFailed, true +} + +// HasJobsFailed returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsFailed() bool { + if o != nil && o.JobsFailed != nil { + return true + } + + return false +} + +// SetJobsFailed gets a reference to the given int32 and assigns it to the JobsFailed field. +func (o *V0036DiagStatistics) SetJobsFailed(v int32) { + o.JobsFailed = &v +} + +// GetJobsPending returns the JobsPending field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsPending() int32 { + if o == nil || o.JobsPending == nil { + var ret int32 + return ret + } + return *o.JobsPending +} + +// GetJobsPendingOk returns a tuple with the JobsPending field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsPendingOk() (*int32, bool) { + if o == nil || o.JobsPending == nil { + return nil, false + } + return o.JobsPending, true +} + +// HasJobsPending returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsPending() bool { + if o != nil && o.JobsPending != nil { + return true + } + + return false +} + +// SetJobsPending gets a reference to the given int32 and assigns it to the JobsPending field. +func (o *V0036DiagStatistics) SetJobsPending(v int32) { + o.JobsPending = &v +} + +// GetJobsRunning returns the JobsRunning field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobsRunning() int32 { + if o == nil || o.JobsRunning == nil { + var ret int32 + return ret + } + return *o.JobsRunning +} + +// GetJobsRunningOk returns a tuple with the JobsRunning field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobsRunningOk() (*int32, bool) { + if o == nil || o.JobsRunning == nil { + return nil, false + } + return o.JobsRunning, true +} + +// HasJobsRunning returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobsRunning() bool { + if o != nil && o.JobsRunning != nil { + return true + } + + return false +} + +// SetJobsRunning gets a reference to the given int32 and assigns it to the JobsRunning field. +func (o *V0036DiagStatistics) SetJobsRunning(v int32) { + o.JobsRunning = &v +} + +// GetJobStatesTs returns the JobStatesTs field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetJobStatesTs() int32 { + if o == nil || o.JobStatesTs == nil { + var ret int32 + return ret + } + return *o.JobStatesTs +} + +// GetJobStatesTsOk returns a tuple with the JobStatesTs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetJobStatesTsOk() (*int32, bool) { + if o == nil || o.JobStatesTs == nil { + return nil, false + } + return o.JobStatesTs, true +} + +// HasJobStatesTs returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasJobStatesTs() bool { + if o != nil && o.JobStatesTs != nil { + return true + } + + return false +} + +// SetJobStatesTs gets a reference to the given int32 and assigns it to the JobStatesTs field. +func (o *V0036DiagStatistics) SetJobStatesTs(v int32) { + o.JobStatesTs = &v +} + +// GetBfBackfilledJobs returns the BfBackfilledJobs field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfBackfilledJobs() int32 { + if o == nil || o.BfBackfilledJobs == nil { + var ret int32 + return ret + } + return *o.BfBackfilledJobs +} + +// GetBfBackfilledJobsOk returns a tuple with the BfBackfilledJobs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfBackfilledJobsOk() (*int32, bool) { + if o == nil || o.BfBackfilledJobs == nil { + return nil, false + } + return o.BfBackfilledJobs, true +} + +// HasBfBackfilledJobs returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfBackfilledJobs() bool { + if o != nil && o.BfBackfilledJobs != nil { + return true + } + + return false +} + +// SetBfBackfilledJobs gets a reference to the given int32 and assigns it to the BfBackfilledJobs field. +func (o *V0036DiagStatistics) SetBfBackfilledJobs(v int32) { + o.BfBackfilledJobs = &v +} + +// GetBfLastBackfilledJobs returns the BfLastBackfilledJobs field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfLastBackfilledJobs() int32 { + if o == nil || o.BfLastBackfilledJobs == nil { + var ret int32 + return ret + } + return *o.BfLastBackfilledJobs +} + +// GetBfLastBackfilledJobsOk returns a tuple with the BfLastBackfilledJobs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfLastBackfilledJobsOk() (*int32, bool) { + if o == nil || o.BfLastBackfilledJobs == nil { + return nil, false + } + return o.BfLastBackfilledJobs, true +} + +// HasBfLastBackfilledJobs returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfLastBackfilledJobs() bool { + if o != nil && o.BfLastBackfilledJobs != nil { + return true + } + + return false +} + +// SetBfLastBackfilledJobs gets a reference to the given int32 and assigns it to the BfLastBackfilledJobs field. +func (o *V0036DiagStatistics) SetBfLastBackfilledJobs(v int32) { + o.BfLastBackfilledJobs = &v +} + +// GetBfBackfilledHetJobs returns the BfBackfilledHetJobs field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfBackfilledHetJobs() int32 { + if o == nil || o.BfBackfilledHetJobs == nil { + var ret int32 + return ret + } + return *o.BfBackfilledHetJobs +} + +// GetBfBackfilledHetJobsOk returns a tuple with the BfBackfilledHetJobs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfBackfilledHetJobsOk() (*int32, bool) { + if o == nil || o.BfBackfilledHetJobs == nil { + return nil, false + } + return o.BfBackfilledHetJobs, true +} + +// HasBfBackfilledHetJobs returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfBackfilledHetJobs() bool { + if o != nil && o.BfBackfilledHetJobs != nil { + return true + } + + return false +} + +// SetBfBackfilledHetJobs gets a reference to the given int32 and assigns it to the BfBackfilledHetJobs field. +func (o *V0036DiagStatistics) SetBfBackfilledHetJobs(v int32) { + o.BfBackfilledHetJobs = &v +} + +// GetBfCycleCounter returns the BfCycleCounter field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfCycleCounter() int32 { + if o == nil || o.BfCycleCounter == nil { + var ret int32 + return ret + } + return *o.BfCycleCounter +} + +// GetBfCycleCounterOk returns a tuple with the BfCycleCounter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfCycleCounterOk() (*int32, bool) { + if o == nil || o.BfCycleCounter == nil { + return nil, false + } + return o.BfCycleCounter, true +} + +// HasBfCycleCounter returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfCycleCounter() bool { + if o != nil && o.BfCycleCounter != nil { + return true + } + + return false +} + +// SetBfCycleCounter gets a reference to the given int32 and assigns it to the BfCycleCounter field. +func (o *V0036DiagStatistics) SetBfCycleCounter(v int32) { + o.BfCycleCounter = &v +} + +// GetBfCycleMean returns the BfCycleMean field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfCycleMean() int32 { + if o == nil || o.BfCycleMean == nil { + var ret int32 + return ret + } + return *o.BfCycleMean +} + +// GetBfCycleMeanOk returns a tuple with the BfCycleMean field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfCycleMeanOk() (*int32, bool) { + if o == nil || o.BfCycleMean == nil { + return nil, false + } + return o.BfCycleMean, true +} + +// HasBfCycleMean returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfCycleMean() bool { + if o != nil && o.BfCycleMean != nil { + return true + } + + return false +} + +// SetBfCycleMean gets a reference to the given int32 and assigns it to the BfCycleMean field. +func (o *V0036DiagStatistics) SetBfCycleMean(v int32) { + o.BfCycleMean = &v +} + +// GetBfCycleMax returns the BfCycleMax field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfCycleMax() int32 { + if o == nil || o.BfCycleMax == nil { + var ret int32 + return ret + } + return *o.BfCycleMax +} + +// GetBfCycleMaxOk returns a tuple with the BfCycleMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfCycleMaxOk() (*int32, bool) { + if o == nil || o.BfCycleMax == nil { + return nil, false + } + return o.BfCycleMax, true +} + +// HasBfCycleMax returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfCycleMax() bool { + if o != nil && o.BfCycleMax != nil { + return true + } + + return false +} + +// SetBfCycleMax gets a reference to the given int32 and assigns it to the BfCycleMax field. +func (o *V0036DiagStatistics) SetBfCycleMax(v int32) { + o.BfCycleMax = &v +} + +// GetBfLastDepth returns the BfLastDepth field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfLastDepth() int32 { + if o == nil || o.BfLastDepth == nil { + var ret int32 + return ret + } + return *o.BfLastDepth +} + +// GetBfLastDepthOk returns a tuple with the BfLastDepth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfLastDepthOk() (*int32, bool) { + if o == nil || o.BfLastDepth == nil { + return nil, false + } + return o.BfLastDepth, true +} + +// HasBfLastDepth returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfLastDepth() bool { + if o != nil && o.BfLastDepth != nil { + return true + } + + return false +} + +// SetBfLastDepth gets a reference to the given int32 and assigns it to the BfLastDepth field. +func (o *V0036DiagStatistics) SetBfLastDepth(v int32) { + o.BfLastDepth = &v +} + +// GetBfLastDepthTry returns the BfLastDepthTry field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfLastDepthTry() int32 { + if o == nil || o.BfLastDepthTry == nil { + var ret int32 + return ret + } + return *o.BfLastDepthTry +} + +// GetBfLastDepthTryOk returns a tuple with the BfLastDepthTry field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfLastDepthTryOk() (*int32, bool) { + if o == nil || o.BfLastDepthTry == nil { + return nil, false + } + return o.BfLastDepthTry, true +} + +// HasBfLastDepthTry returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfLastDepthTry() bool { + if o != nil && o.BfLastDepthTry != nil { + return true + } + + return false +} + +// SetBfLastDepthTry gets a reference to the given int32 and assigns it to the BfLastDepthTry field. +func (o *V0036DiagStatistics) SetBfLastDepthTry(v int32) { + o.BfLastDepthTry = &v +} + +// GetBfDepthMean returns the BfDepthMean field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfDepthMean() int32 { + if o == nil || o.BfDepthMean == nil { + var ret int32 + return ret + } + return *o.BfDepthMean +} + +// GetBfDepthMeanOk returns a tuple with the BfDepthMean field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfDepthMeanOk() (*int32, bool) { + if o == nil || o.BfDepthMean == nil { + return nil, false + } + return o.BfDepthMean, true +} + +// HasBfDepthMean returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfDepthMean() bool { + if o != nil && o.BfDepthMean != nil { + return true + } + + return false +} + +// SetBfDepthMean gets a reference to the given int32 and assigns it to the BfDepthMean field. +func (o *V0036DiagStatistics) SetBfDepthMean(v int32) { + o.BfDepthMean = &v +} + +// GetBfDepthMeanTry returns the BfDepthMeanTry field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfDepthMeanTry() int32 { + if o == nil || o.BfDepthMeanTry == nil { + var ret int32 + return ret + } + return *o.BfDepthMeanTry +} + +// GetBfDepthMeanTryOk returns a tuple with the BfDepthMeanTry field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfDepthMeanTryOk() (*int32, bool) { + if o == nil || o.BfDepthMeanTry == nil { + return nil, false + } + return o.BfDepthMeanTry, true +} + +// HasBfDepthMeanTry returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfDepthMeanTry() bool { + if o != nil && o.BfDepthMeanTry != nil { + return true + } + + return false +} + +// SetBfDepthMeanTry gets a reference to the given int32 and assigns it to the BfDepthMeanTry field. +func (o *V0036DiagStatistics) SetBfDepthMeanTry(v int32) { + o.BfDepthMeanTry = &v +} + +// GetBfCycleLast returns the BfCycleLast field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfCycleLast() int32 { + if o == nil || o.BfCycleLast == nil { + var ret int32 + return ret + } + return *o.BfCycleLast +} + +// GetBfCycleLastOk returns a tuple with the BfCycleLast field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfCycleLastOk() (*int32, bool) { + if o == nil || o.BfCycleLast == nil { + return nil, false + } + return o.BfCycleLast, true +} + +// HasBfCycleLast returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfCycleLast() bool { + if o != nil && o.BfCycleLast != nil { + return true + } + + return false +} + +// SetBfCycleLast gets a reference to the given int32 and assigns it to the BfCycleLast field. +func (o *V0036DiagStatistics) SetBfCycleLast(v int32) { + o.BfCycleLast = &v +} + +// GetBfQueueLen returns the BfQueueLen field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfQueueLen() int32 { + if o == nil || o.BfQueueLen == nil { + var ret int32 + return ret + } + return *o.BfQueueLen +} + +// GetBfQueueLenOk returns a tuple with the BfQueueLen field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfQueueLenOk() (*int32, bool) { + if o == nil || o.BfQueueLen == nil { + return nil, false + } + return o.BfQueueLen, true +} + +// HasBfQueueLen returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfQueueLen() bool { + if o != nil && o.BfQueueLen != nil { + return true + } + + return false +} + +// SetBfQueueLen gets a reference to the given int32 and assigns it to the BfQueueLen field. +func (o *V0036DiagStatistics) SetBfQueueLen(v int32) { + o.BfQueueLen = &v +} + +// GetBfQueueLenMean returns the BfQueueLenMean field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfQueueLenMean() int32 { + if o == nil || o.BfQueueLenMean == nil { + var ret int32 + return ret + } + return *o.BfQueueLenMean +} + +// GetBfQueueLenMeanOk returns a tuple with the BfQueueLenMean field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfQueueLenMeanOk() (*int32, bool) { + if o == nil || o.BfQueueLenMean == nil { + return nil, false + } + return o.BfQueueLenMean, true +} + +// HasBfQueueLenMean returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfQueueLenMean() bool { + if o != nil && o.BfQueueLenMean != nil { + return true + } + + return false +} + +// SetBfQueueLenMean gets a reference to the given int32 and assigns it to the BfQueueLenMean field. +func (o *V0036DiagStatistics) SetBfQueueLenMean(v int32) { + o.BfQueueLenMean = &v +} + +// GetBfWhenLastCycle returns the BfWhenLastCycle field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfWhenLastCycle() int32 { + if o == nil || o.BfWhenLastCycle == nil { + var ret int32 + return ret + } + return *o.BfWhenLastCycle +} + +// GetBfWhenLastCycleOk returns a tuple with the BfWhenLastCycle field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfWhenLastCycleOk() (*int32, bool) { + if o == nil || o.BfWhenLastCycle == nil { + return nil, false + } + return o.BfWhenLastCycle, true +} + +// HasBfWhenLastCycle returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfWhenLastCycle() bool { + if o != nil && o.BfWhenLastCycle != nil { + return true + } + + return false +} + +// SetBfWhenLastCycle gets a reference to the given int32 and assigns it to the BfWhenLastCycle field. +func (o *V0036DiagStatistics) SetBfWhenLastCycle(v int32) { + o.BfWhenLastCycle = &v +} + +// GetBfActive returns the BfActive field value if set, zero value otherwise. +func (o *V0036DiagStatistics) GetBfActive() bool { + if o == nil || o.BfActive == nil { + var ret bool + return ret + } + return *o.BfActive +} + +// GetBfActiveOk returns a tuple with the BfActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036DiagStatistics) GetBfActiveOk() (*bool, bool) { + if o == nil || o.BfActive == nil { + return nil, false + } + return o.BfActive, true +} + +// HasBfActive returns a boolean if a field has been set. +func (o *V0036DiagStatistics) HasBfActive() bool { + if o != nil && o.BfActive != nil { + return true + } + + return false +} + +// SetBfActive gets a reference to the given bool and assigns it to the BfActive field. +func (o *V0036DiagStatistics) SetBfActive(v bool) { + o.BfActive = &v +} + +func (o V0036DiagStatistics) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.PartsPacked != nil { + toSerialize["parts_packed"] = o.PartsPacked + } + if o.ReqTime != nil { + toSerialize["req_time"] = o.ReqTime + } + if o.ReqTimeStart != nil { + toSerialize["req_time_start"] = o.ReqTimeStart + } + if o.ServerThreadCount != nil { + toSerialize["server_thread_count"] = o.ServerThreadCount + } + if o.AgentQueueSize != nil { + toSerialize["agent_queue_size"] = o.AgentQueueSize + } + if o.AgentCount != nil { + toSerialize["agent_count"] = o.AgentCount + } + if o.AgentThreadCount != nil { + toSerialize["agent_thread_count"] = o.AgentThreadCount + } + if o.DbdAgentQueueSize != nil { + toSerialize["dbd_agent_queue_size"] = o.DbdAgentQueueSize + } + if o.GettimeofdayLatency != nil { + toSerialize["gettimeofday_latency"] = o.GettimeofdayLatency + } + if o.ScheduleCycleMax != nil { + toSerialize["schedule_cycle_max"] = o.ScheduleCycleMax + } + if o.ScheduleCycleLast != nil { + toSerialize["schedule_cycle_last"] = o.ScheduleCycleLast + } + if o.ScheduleCycleTotal != nil { + toSerialize["schedule_cycle_total"] = o.ScheduleCycleTotal + } + if o.ScheduleCycleMean != nil { + toSerialize["schedule_cycle_mean"] = o.ScheduleCycleMean + } + if o.ScheduleCycleMeanDepth != nil { + toSerialize["schedule_cycle_mean_depth"] = o.ScheduleCycleMeanDepth + } + if o.ScheduleCyclePerMinute != nil { + toSerialize["schedule_cycle_per_minute"] = o.ScheduleCyclePerMinute + } + if o.ScheduleQueueLength != nil { + toSerialize["schedule_queue_length"] = o.ScheduleQueueLength + } + if o.JobsSubmitted != nil { + toSerialize["jobs_submitted"] = o.JobsSubmitted + } + if o.JobsStarted != nil { + toSerialize["jobs_started"] = o.JobsStarted + } + if o.JobsCompleted != nil { + toSerialize["jobs_completed"] = o.JobsCompleted + } + if o.JobsCanceled != nil { + toSerialize["jobs_canceled"] = o.JobsCanceled + } + if o.JobsFailed != nil { + toSerialize["jobs_failed"] = o.JobsFailed + } + if o.JobsPending != nil { + toSerialize["jobs_pending"] = o.JobsPending + } + if o.JobsRunning != nil { + toSerialize["jobs_running"] = o.JobsRunning + } + if o.JobStatesTs != nil { + toSerialize["job_states_ts"] = o.JobStatesTs + } + if o.BfBackfilledJobs != nil { + toSerialize["bf_backfilled_jobs"] = o.BfBackfilledJobs + } + if o.BfLastBackfilledJobs != nil { + toSerialize["bf_last_backfilled_jobs"] = o.BfLastBackfilledJobs + } + if o.BfBackfilledHetJobs != nil { + toSerialize["bf_backfilled_het_jobs"] = o.BfBackfilledHetJobs + } + if o.BfCycleCounter != nil { + toSerialize["bf_cycle_counter"] = o.BfCycleCounter + } + if o.BfCycleMean != nil { + toSerialize["bf_cycle_mean"] = o.BfCycleMean + } + if o.BfCycleMax != nil { + toSerialize["bf_cycle_max"] = o.BfCycleMax + } + if o.BfLastDepth != nil { + toSerialize["bf_last_depth"] = o.BfLastDepth + } + if o.BfLastDepthTry != nil { + toSerialize["bf_last_depth_try"] = o.BfLastDepthTry + } + if o.BfDepthMean != nil { + toSerialize["bf_depth_mean"] = o.BfDepthMean + } + if o.BfDepthMeanTry != nil { + toSerialize["bf_depth_mean_try"] = o.BfDepthMeanTry + } + if o.BfCycleLast != nil { + toSerialize["bf_cycle_last"] = o.BfCycleLast + } + if o.BfQueueLen != nil { + toSerialize["bf_queue_len"] = o.BfQueueLen + } + if o.BfQueueLenMean != nil { + toSerialize["bf_queue_len_mean"] = o.BfQueueLenMean + } + if o.BfWhenLastCycle != nil { + toSerialize["bf_when_last_cycle"] = o.BfWhenLastCycle + } + if o.BfActive != nil { + toSerialize["bf_active"] = o.BfActive + } + return json.Marshal(toSerialize) +} + +type NullableV0036DiagStatistics struct { + value *V0036DiagStatistics + isSet bool +} + +func (v NullableV0036DiagStatistics) Get() *V0036DiagStatistics { + return v.value +} + +func (v *NullableV0036DiagStatistics) Set(val *V0036DiagStatistics) { + v.value = val + v.isSet = true +} + +func (v NullableV0036DiagStatistics) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036DiagStatistics) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036DiagStatistics(val *V0036DiagStatistics) *NullableV0036DiagStatistics { + return &NullableV0036DiagStatistics{value: val, isSet: true} +} + +func (v NullableV0036DiagStatistics) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036DiagStatistics) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_error.go b/model_v0_0_36_error.go new file mode 100644 index 0000000..6ec834c --- /dev/null +++ b/model_v0_0_36_error.go @@ -0,0 +1,154 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Error struct for V0036Error +type V0036Error struct { + // error message + Error *string `json:"error,omitempty"` + // error number + Errno *int32 `json:"errno,omitempty"` +} + +// NewV0036Error instantiates a new V0036Error 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 +func NewV0036Error() *V0036Error { + this := V0036Error{} + return &this +} + +// NewV0036ErrorWithDefaults instantiates a new V0036Error 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 +func NewV0036ErrorWithDefaults() *V0036Error { + this := V0036Error{} + return &this +} + +// GetError returns the Error field value if set, zero value otherwise. +func (o *V0036Error) GetError() string { + if o == nil || o.Error == nil { + var ret string + return ret + } + return *o.Error +} + +// GetErrorOk returns a tuple with the Error field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Error) GetErrorOk() (*string, bool) { + if o == nil || o.Error == nil { + return nil, false + } + return o.Error, true +} + +// HasError returns a boolean if a field has been set. +func (o *V0036Error) HasError() bool { + if o != nil && o.Error != nil { + return true + } + + return false +} + +// SetError gets a reference to the given string and assigns it to the Error field. +func (o *V0036Error) SetError(v string) { + o.Error = &v +} + +// GetErrno returns the Errno field value if set, zero value otherwise. +func (o *V0036Error) GetErrno() int32 { + if o == nil || o.Errno == nil { + var ret int32 + return ret + } + return *o.Errno +} + +// GetErrnoOk returns a tuple with the Errno field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Error) GetErrnoOk() (*int32, bool) { + if o == nil || o.Errno == nil { + return nil, false + } + return o.Errno, true +} + +// HasErrno returns a boolean if a field has been set. +func (o *V0036Error) HasErrno() bool { + if o != nil && o.Errno != nil { + return true + } + + return false +} + +// SetErrno gets a reference to the given int32 and assigns it to the Errno field. +func (o *V0036Error) SetErrno(v int32) { + o.Errno = &v +} + +func (o V0036Error) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Error != nil { + toSerialize["error"] = o.Error + } + if o.Errno != nil { + toSerialize["errno"] = o.Errno + } + return json.Marshal(toSerialize) +} + +type NullableV0036Error struct { + value *V0036Error + isSet bool +} + +func (v NullableV0036Error) Get() *V0036Error { + return v.value +} + +func (v *NullableV0036Error) Set(val *V0036Error) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Error) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Error) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Error(val *V0036Error) *NullableV0036Error { + return &NullableV0036Error{value: val, isSet: true} +} + +func (v NullableV0036Error) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Error) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_job_properties.go b/model_v0_0_36_job_properties.go new file mode 100644 index 0000000..95a78a1 --- /dev/null +++ b/model_v0_0_36_job_properties.go @@ -0,0 +1,2704 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobProperties struct for V0036JobProperties +type V0036JobProperties struct { + // Charge resources used by this job to specified account. + Account *string `json:"account,omitempty"` + // Define the job accounting and profiling sampling intervals. + AccountGatherFreqency *string `json:"account_gather_freqency,omitempty"` + // Arguments to the script. + Argv *[]string `json:"argv,omitempty"` + // Submit a job array, multiple jobs to be executed with identical parameters. The indexes specification identifies what array index values should be used. + Array *string `json:"array,omitempty"` + // features required for batch script's node + BatchFeatures *string `json:"batch_features,omitempty"` + // Submit the batch script to the Slurm controller immediately, like normal, but tell the controller to defer the allocation of the job until the specified time. + BeginTime *int64 `json:"begin_time,omitempty"` + // Burst buffer specification. + BurstBuffer *string `json:"burst_buffer,omitempty"` + // Specifies features that a federated cluster must have to have a sibling job submitted to it. + ClusterConstraints *string `json:"cluster_constraints,omitempty"` + // An arbitrary comment. + Comment *string `json:"comment,omitempty"` + // node features required by job. + Constraints *string `json:"constraints,omitempty"` + // Count of specialized threads per node reserved by the job for system operations and not used by the application. + CoreSpecification *int32 `json:"core_specification,omitempty"` + // Restrict node selection to nodes with at least the specified number of cores per socket. + CoresPerSocket *int32 `json:"cores_per_socket,omitempty"` + // Cpu binding + CpuBinding *string `json:"cpu_binding,omitempty"` + // Cpu binding hint + CpuBindingHint *string `json:"cpu_binding_hint,omitempty"` + // Request that job steps initiated by srun commands inside this sbatch script be run at some requested frequency if possible, on the CPUs selected for the step on the compute node(s). + CpuFrequency *string `json:"cpu_frequency,omitempty"` + // Number of CPUs requested per allocated GPU. + CpusPerGpu *string `json:"cpus_per_gpu,omitempty"` + // Advise the Slurm controller that ensuing job steps will require ncpus number of processors per task. + CpusPerTask *int32 `json:"cpus_per_task,omitempty"` + // Instruct Slurm to connect the batch script's standard output directly to the file name. + CurrentWorkingDirectory *string `json:"current_working_directory,omitempty"` + // Remove the job if no ending is possible before this deadline (start > (deadline - time[-min])). + Deadline *string `json:"deadline,omitempty"` + // Do not reboot nodes in order to satisfied this job's feature specification if the job has been eligible to run for less than this time period. + DelayBoot *int32 `json:"delay_boot,omitempty"` + // Defer the start of this job until the specified dependencies have been satisfied completed. + Dependency *string `json:"dependency,omitempty"` + // Specify alternate distribution methods for remote processes. + Distribution *string `json:"distribution,omitempty"` + // Dictionary of environment entries. + Environment map[string]interface{} `json:"environment"` + // The job allocation can share nodes just other users with the \"user\" option or with the \"mcs\" option). + Exclusive *string `json:"exclusive,omitempty"` + // Load new login environment for user on job node. + GetUserEnvironment *bool `json:"get_user_environment,omitempty"` + // Specifies a comma delimited list of generic consumable resources. + Gres *string `json:"gres,omitempty"` + // Specify generic resource task binding options. + GresFlags *string `json:"gres_flags,omitempty"` + // Requested binding of tasks to GPU. + GpuBinding *string `json:"gpu_binding,omitempty"` + // Requested GPU frequency. + GpuFrequency *string `json:"gpu_frequency,omitempty"` + // GPUs per job. + Gpus *string `json:"gpus,omitempty"` + // GPUs per node. + GpusPerNode *string `json:"gpus_per_node,omitempty"` + // GPUs per socket. + GpusPerSocket *string `json:"gpus_per_socket,omitempty"` + // GPUs per task. + GpusPerTask *string `json:"gpus_per_task,omitempty"` + // Specify the job is to be submitted in a held state (priority of zero). + Hold *bool `json:"hold,omitempty"` + // If a job has an invalid dependency, then Slurm is to terminate it. + KillOnInvalidDependency *bool `json:"kill_on_invalid_dependency,omitempty"` + // Specification of licenses (or other resources available on all nodes of the cluster) which must be allocated to this job. + Licenses *string `json:"licenses,omitempty"` + // Notify user by email when certain event types occur. + MailType *string `json:"mail_type,omitempty"` + // User to receive email notification of state changes as defined by mail_type. + MailUser *string `json:"mail_user,omitempty"` + // This parameter is a group among the groups of the user. + McsLabel *string `json:"mcs_label,omitempty"` + // Bind tasks to memory. + MemoryBinding *string `json:"memory_binding,omitempty"` + // Minimum real memory per cpu (MB). + MemoryPerCpu *int32 `json:"memory_per_cpu,omitempty"` + // Minimum memory required per allocated GPU. + MemoryPerGpu *int32 `json:"memory_per_gpu,omitempty"` + // Minimum real memory per node (MB). + MemoryPerNode *int32 `json:"memory_per_node,omitempty"` + // Minimum number of CPUs per node. + MinimumCpusPerNode *int32 `json:"minimum_cpus_per_node,omitempty"` + // If a range of node counts is given, prefer the smaller count. + MinimumNodes *bool `json:"minimum_nodes,omitempty"` + // Specify a name for the job allocation. + Name *string `json:"name,omitempty"` + // Run the job with an adjusted scheduling priority within Slurm. + Nice *string `json:"nice,omitempty"` + // Do not automatically terminate a job if one of the nodes it has been allocated fails. + NoKill *bool `json:"no_kill,omitempty"` + // Request that a minimum of minnodes nodes and a maximum node count. + Nodes *[]int32 `json:"nodes,omitempty"` + // Open the output and error files using append or truncate mode as specified. + OpenMode *string `json:"open_mode,omitempty"` + // Request a specific partition for the resource allocation. + Partition *string `json:"partition,omitempty"` + // Request a specific job priority. + Priority *string `json:"priority,omitempty"` + // Request a quality of service for the job. + Qos *string `json:"qos,omitempty"` + // Specifies that the batch job should eligible to being requeue. + Requeue *bool `json:"requeue,omitempty"` + // Allocate resources for the job from the named reservation. + Reservation *string `json:"reservation,omitempty"` + // When a job is within sig_time seconds of its end time, send it the signal sig_num. + Signal *string `json:"signal,omitempty"` + // Restrict node selection to nodes with at least the specified number of sockets. + SocketsPerNode *int32 `json:"sockets_per_node,omitempty"` + // Spread the job allocation over as many nodes as possible and attempt to evenly distribute tasks across the allocated nodes. + SpreadJob *bool `json:"spread_job,omitempty"` + // Instruct Slurm to connect the batch script's standard error directly to the file name. + StandardError *string `json:"standard_error,omitempty"` + // Instruct Slurm to connect the batch script's standard input directly to the file name specified. + StandardIn *string `json:"standard_in,omitempty"` + // Instruct Slurm to connect the batch script's standard output directly to the file name. + StandardOut *string `json:"standard_out,omitempty"` + // Advises the Slurm controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources. + Tasks *int32 `json:"tasks,omitempty"` + // Request the maximum ntasks be invoked on each core. + TasksPerCore *int32 `json:"tasks_per_core,omitempty"` + // Request the maximum ntasks be invoked on each node. + TasksPerNode *int32 `json:"tasks_per_node,omitempty"` + // Request the maximum ntasks be invoked on each socket. + TasksPerSocket *int32 `json:"tasks_per_socket,omitempty"` + // Count of specialized threads per node reserved by the job for system operations and not used by the application. + ThreadSpecification *int32 `json:"thread_specification,omitempty"` + // Restrict node selection to nodes with at least the specified number of threads per core. + ThreadsPerCore *int32 `json:"threads_per_core,omitempty"` + // Step time limit. + TimeLimit *int32 `json:"time_limit,omitempty"` + // Minimum run time in minutes. + TimeMinimum *int32 `json:"time_minimum,omitempty"` + // Do not begin execution until all nodes are ready for use. + WaitAllNodes *bool `json:"wait_all_nodes,omitempty"` + // Specify wckey to be used with job. + Wckey *string `json:"wckey,omitempty"` +} + +// NewV0036JobProperties instantiates a new V0036JobProperties 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 +func NewV0036JobProperties(environment map[string]interface{}) *V0036JobProperties { + this := V0036JobProperties{} + this.Environment = environment + var openMode string = "append" + this.OpenMode = &openMode + return &this +} + +// NewV0036JobPropertiesWithDefaults instantiates a new V0036JobProperties 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 +func NewV0036JobPropertiesWithDefaults() *V0036JobProperties { + this := V0036JobProperties{} + var openMode string = "append" + this.OpenMode = &openMode + return &this +} + +// GetAccount returns the Account field value if set, zero value otherwise. +func (o *V0036JobProperties) GetAccount() string { + if o == nil || o.Account == nil { + var ret string + return ret + } + return *o.Account +} + +// GetAccountOk returns a tuple with the Account field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetAccountOk() (*string, bool) { + if o == nil || o.Account == nil { + return nil, false + } + return o.Account, true +} + +// HasAccount returns a boolean if a field has been set. +func (o *V0036JobProperties) HasAccount() bool { + if o != nil && o.Account != nil { + return true + } + + return false +} + +// SetAccount gets a reference to the given string and assigns it to the Account field. +func (o *V0036JobProperties) SetAccount(v string) { + o.Account = &v +} + +// GetAccountGatherFreqency returns the AccountGatherFreqency field value if set, zero value otherwise. +func (o *V0036JobProperties) GetAccountGatherFreqency() string { + if o == nil || o.AccountGatherFreqency == nil { + var ret string + return ret + } + return *o.AccountGatherFreqency +} + +// GetAccountGatherFreqencyOk returns a tuple with the AccountGatherFreqency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetAccountGatherFreqencyOk() (*string, bool) { + if o == nil || o.AccountGatherFreqency == nil { + return nil, false + } + return o.AccountGatherFreqency, true +} + +// HasAccountGatherFreqency returns a boolean if a field has been set. +func (o *V0036JobProperties) HasAccountGatherFreqency() bool { + if o != nil && o.AccountGatherFreqency != nil { + return true + } + + return false +} + +// SetAccountGatherFreqency gets a reference to the given string and assigns it to the AccountGatherFreqency field. +func (o *V0036JobProperties) SetAccountGatherFreqency(v string) { + o.AccountGatherFreqency = &v +} + +// GetArgv returns the Argv field value if set, zero value otherwise. +func (o *V0036JobProperties) GetArgv() []string { + if o == nil || o.Argv == nil { + var ret []string + return ret + } + return *o.Argv +} + +// GetArgvOk returns a tuple with the Argv field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetArgvOk() (*[]string, bool) { + if o == nil || o.Argv == nil { + return nil, false + } + return o.Argv, true +} + +// HasArgv returns a boolean if a field has been set. +func (o *V0036JobProperties) HasArgv() bool { + if o != nil && o.Argv != nil { + return true + } + + return false +} + +// SetArgv gets a reference to the given []string and assigns it to the Argv field. +func (o *V0036JobProperties) SetArgv(v []string) { + o.Argv = &v +} + +// GetArray returns the Array field value if set, zero value otherwise. +func (o *V0036JobProperties) GetArray() string { + if o == nil || o.Array == nil { + var ret string + return ret + } + return *o.Array +} + +// GetArrayOk returns a tuple with the Array field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetArrayOk() (*string, bool) { + if o == nil || o.Array == nil { + return nil, false + } + return o.Array, true +} + +// HasArray returns a boolean if a field has been set. +func (o *V0036JobProperties) HasArray() bool { + if o != nil && o.Array != nil { + return true + } + + return false +} + +// SetArray gets a reference to the given string and assigns it to the Array field. +func (o *V0036JobProperties) SetArray(v string) { + o.Array = &v +} + +// GetBatchFeatures returns the BatchFeatures field value if set, zero value otherwise. +func (o *V0036JobProperties) GetBatchFeatures() string { + if o == nil || o.BatchFeatures == nil { + var ret string + return ret + } + return *o.BatchFeatures +} + +// GetBatchFeaturesOk returns a tuple with the BatchFeatures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetBatchFeaturesOk() (*string, bool) { + if o == nil || o.BatchFeatures == nil { + return nil, false + } + return o.BatchFeatures, true +} + +// HasBatchFeatures returns a boolean if a field has been set. +func (o *V0036JobProperties) HasBatchFeatures() bool { + if o != nil && o.BatchFeatures != nil { + return true + } + + return false +} + +// SetBatchFeatures gets a reference to the given string and assigns it to the BatchFeatures field. +func (o *V0036JobProperties) SetBatchFeatures(v string) { + o.BatchFeatures = &v +} + +// GetBeginTime returns the BeginTime field value if set, zero value otherwise. +func (o *V0036JobProperties) GetBeginTime() int64 { + if o == nil || o.BeginTime == nil { + var ret int64 + return ret + } + return *o.BeginTime +} + +// GetBeginTimeOk returns a tuple with the BeginTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetBeginTimeOk() (*int64, bool) { + if o == nil || o.BeginTime == nil { + return nil, false + } + return o.BeginTime, true +} + +// HasBeginTime returns a boolean if a field has been set. +func (o *V0036JobProperties) HasBeginTime() bool { + if o != nil && o.BeginTime != nil { + return true + } + + return false +} + +// SetBeginTime gets a reference to the given int64 and assigns it to the BeginTime field. +func (o *V0036JobProperties) SetBeginTime(v int64) { + o.BeginTime = &v +} + +// GetBurstBuffer returns the BurstBuffer field value if set, zero value otherwise. +func (o *V0036JobProperties) GetBurstBuffer() string { + if o == nil || o.BurstBuffer == nil { + var ret string + return ret + } + return *o.BurstBuffer +} + +// GetBurstBufferOk returns a tuple with the BurstBuffer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetBurstBufferOk() (*string, bool) { + if o == nil || o.BurstBuffer == nil { + return nil, false + } + return o.BurstBuffer, true +} + +// HasBurstBuffer returns a boolean if a field has been set. +func (o *V0036JobProperties) HasBurstBuffer() bool { + if o != nil && o.BurstBuffer != nil { + return true + } + + return false +} + +// SetBurstBuffer gets a reference to the given string and assigns it to the BurstBuffer field. +func (o *V0036JobProperties) SetBurstBuffer(v string) { + o.BurstBuffer = &v +} + +// GetClusterConstraints returns the ClusterConstraints field value if set, zero value otherwise. +func (o *V0036JobProperties) GetClusterConstraints() string { + if o == nil || o.ClusterConstraints == nil { + var ret string + return ret + } + return *o.ClusterConstraints +} + +// GetClusterConstraintsOk returns a tuple with the ClusterConstraints field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetClusterConstraintsOk() (*string, bool) { + if o == nil || o.ClusterConstraints == nil { + return nil, false + } + return o.ClusterConstraints, true +} + +// HasClusterConstraints returns a boolean if a field has been set. +func (o *V0036JobProperties) HasClusterConstraints() bool { + if o != nil && o.ClusterConstraints != nil { + return true + } + + return false +} + +// SetClusterConstraints gets a reference to the given string and assigns it to the ClusterConstraints field. +func (o *V0036JobProperties) SetClusterConstraints(v string) { + o.ClusterConstraints = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *V0036JobProperties) GetComment() string { + if o == nil || o.Comment == nil { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCommentOk() (*string, bool) { + if o == nil || o.Comment == nil { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *V0036JobProperties) HasComment() bool { + if o != nil && o.Comment != nil { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *V0036JobProperties) SetComment(v string) { + o.Comment = &v +} + +// GetConstraints returns the Constraints field value if set, zero value otherwise. +func (o *V0036JobProperties) GetConstraints() string { + if o == nil || o.Constraints == nil { + var ret string + return ret + } + return *o.Constraints +} + +// GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetConstraintsOk() (*string, bool) { + if o == nil || o.Constraints == nil { + return nil, false + } + return o.Constraints, true +} + +// HasConstraints returns a boolean if a field has been set. +func (o *V0036JobProperties) HasConstraints() bool { + if o != nil && o.Constraints != nil { + return true + } + + return false +} + +// SetConstraints gets a reference to the given string and assigns it to the Constraints field. +func (o *V0036JobProperties) SetConstraints(v string) { + o.Constraints = &v +} + +// GetCoreSpecification returns the CoreSpecification field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCoreSpecification() int32 { + if o == nil || o.CoreSpecification == nil { + var ret int32 + return ret + } + return *o.CoreSpecification +} + +// GetCoreSpecificationOk returns a tuple with the CoreSpecification field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCoreSpecificationOk() (*int32, bool) { + if o == nil || o.CoreSpecification == nil { + return nil, false + } + return o.CoreSpecification, true +} + +// HasCoreSpecification returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCoreSpecification() bool { + if o != nil && o.CoreSpecification != nil { + return true + } + + return false +} + +// SetCoreSpecification gets a reference to the given int32 and assigns it to the CoreSpecification field. +func (o *V0036JobProperties) SetCoreSpecification(v int32) { + o.CoreSpecification = &v +} + +// GetCoresPerSocket returns the CoresPerSocket field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCoresPerSocket() int32 { + if o == nil || o.CoresPerSocket == nil { + var ret int32 + return ret + } + return *o.CoresPerSocket +} + +// GetCoresPerSocketOk returns a tuple with the CoresPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCoresPerSocketOk() (*int32, bool) { + if o == nil || o.CoresPerSocket == nil { + return nil, false + } + return o.CoresPerSocket, true +} + +// HasCoresPerSocket returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCoresPerSocket() bool { + if o != nil && o.CoresPerSocket != nil { + return true + } + + return false +} + +// SetCoresPerSocket gets a reference to the given int32 and assigns it to the CoresPerSocket field. +func (o *V0036JobProperties) SetCoresPerSocket(v int32) { + o.CoresPerSocket = &v +} + +// GetCpuBinding returns the CpuBinding field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCpuBinding() string { + if o == nil || o.CpuBinding == nil { + var ret string + return ret + } + return *o.CpuBinding +} + +// GetCpuBindingOk returns a tuple with the CpuBinding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCpuBindingOk() (*string, bool) { + if o == nil || o.CpuBinding == nil { + return nil, false + } + return o.CpuBinding, true +} + +// HasCpuBinding returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCpuBinding() bool { + if o != nil && o.CpuBinding != nil { + return true + } + + return false +} + +// SetCpuBinding gets a reference to the given string and assigns it to the CpuBinding field. +func (o *V0036JobProperties) SetCpuBinding(v string) { + o.CpuBinding = &v +} + +// GetCpuBindingHint returns the CpuBindingHint field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCpuBindingHint() string { + if o == nil || o.CpuBindingHint == nil { + var ret string + return ret + } + return *o.CpuBindingHint +} + +// GetCpuBindingHintOk returns a tuple with the CpuBindingHint field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCpuBindingHintOk() (*string, bool) { + if o == nil || o.CpuBindingHint == nil { + return nil, false + } + return o.CpuBindingHint, true +} + +// HasCpuBindingHint returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCpuBindingHint() bool { + if o != nil && o.CpuBindingHint != nil { + return true + } + + return false +} + +// SetCpuBindingHint gets a reference to the given string and assigns it to the CpuBindingHint field. +func (o *V0036JobProperties) SetCpuBindingHint(v string) { + o.CpuBindingHint = &v +} + +// GetCpuFrequency returns the CpuFrequency field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCpuFrequency() string { + if o == nil || o.CpuFrequency == nil { + var ret string + return ret + } + return *o.CpuFrequency +} + +// GetCpuFrequencyOk returns a tuple with the CpuFrequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCpuFrequencyOk() (*string, bool) { + if o == nil || o.CpuFrequency == nil { + return nil, false + } + return o.CpuFrequency, true +} + +// HasCpuFrequency returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCpuFrequency() bool { + if o != nil && o.CpuFrequency != nil { + return true + } + + return false +} + +// SetCpuFrequency gets a reference to the given string and assigns it to the CpuFrequency field. +func (o *V0036JobProperties) SetCpuFrequency(v string) { + o.CpuFrequency = &v +} + +// GetCpusPerGpu returns the CpusPerGpu field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCpusPerGpu() string { + if o == nil || o.CpusPerGpu == nil { + var ret string + return ret + } + return *o.CpusPerGpu +} + +// GetCpusPerGpuOk returns a tuple with the CpusPerGpu field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCpusPerGpuOk() (*string, bool) { + if o == nil || o.CpusPerGpu == nil { + return nil, false + } + return o.CpusPerGpu, true +} + +// HasCpusPerGpu returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCpusPerGpu() bool { + if o != nil && o.CpusPerGpu != nil { + return true + } + + return false +} + +// SetCpusPerGpu gets a reference to the given string and assigns it to the CpusPerGpu field. +func (o *V0036JobProperties) SetCpusPerGpu(v string) { + o.CpusPerGpu = &v +} + +// GetCpusPerTask returns the CpusPerTask field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCpusPerTask() int32 { + if o == nil || o.CpusPerTask == nil { + var ret int32 + return ret + } + return *o.CpusPerTask +} + +// GetCpusPerTaskOk returns a tuple with the CpusPerTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCpusPerTaskOk() (*int32, bool) { + if o == nil || o.CpusPerTask == nil { + return nil, false + } + return o.CpusPerTask, true +} + +// HasCpusPerTask returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCpusPerTask() bool { + if o != nil && o.CpusPerTask != nil { + return true + } + + return false +} + +// SetCpusPerTask gets a reference to the given int32 and assigns it to the CpusPerTask field. +func (o *V0036JobProperties) SetCpusPerTask(v int32) { + o.CpusPerTask = &v +} + +// GetCurrentWorkingDirectory returns the CurrentWorkingDirectory field value if set, zero value otherwise. +func (o *V0036JobProperties) GetCurrentWorkingDirectory() string { + if o == nil || o.CurrentWorkingDirectory == nil { + var ret string + return ret + } + return *o.CurrentWorkingDirectory +} + +// GetCurrentWorkingDirectoryOk returns a tuple with the CurrentWorkingDirectory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetCurrentWorkingDirectoryOk() (*string, bool) { + if o == nil || o.CurrentWorkingDirectory == nil { + return nil, false + } + return o.CurrentWorkingDirectory, true +} + +// HasCurrentWorkingDirectory returns a boolean if a field has been set. +func (o *V0036JobProperties) HasCurrentWorkingDirectory() bool { + if o != nil && o.CurrentWorkingDirectory != nil { + return true + } + + return false +} + +// SetCurrentWorkingDirectory gets a reference to the given string and assigns it to the CurrentWorkingDirectory field. +func (o *V0036JobProperties) SetCurrentWorkingDirectory(v string) { + o.CurrentWorkingDirectory = &v +} + +// GetDeadline returns the Deadline field value if set, zero value otherwise. +func (o *V0036JobProperties) GetDeadline() string { + if o == nil || o.Deadline == nil { + var ret string + return ret + } + return *o.Deadline +} + +// GetDeadlineOk returns a tuple with the Deadline field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetDeadlineOk() (*string, bool) { + if o == nil || o.Deadline == nil { + return nil, false + } + return o.Deadline, true +} + +// HasDeadline returns a boolean if a field has been set. +func (o *V0036JobProperties) HasDeadline() bool { + if o != nil && o.Deadline != nil { + return true + } + + return false +} + +// SetDeadline gets a reference to the given string and assigns it to the Deadline field. +func (o *V0036JobProperties) SetDeadline(v string) { + o.Deadline = &v +} + +// GetDelayBoot returns the DelayBoot field value if set, zero value otherwise. +func (o *V0036JobProperties) GetDelayBoot() int32 { + if o == nil || o.DelayBoot == nil { + var ret int32 + return ret + } + return *o.DelayBoot +} + +// GetDelayBootOk returns a tuple with the DelayBoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetDelayBootOk() (*int32, bool) { + if o == nil || o.DelayBoot == nil { + return nil, false + } + return o.DelayBoot, true +} + +// HasDelayBoot returns a boolean if a field has been set. +func (o *V0036JobProperties) HasDelayBoot() bool { + if o != nil && o.DelayBoot != nil { + return true + } + + return false +} + +// SetDelayBoot gets a reference to the given int32 and assigns it to the DelayBoot field. +func (o *V0036JobProperties) SetDelayBoot(v int32) { + o.DelayBoot = &v +} + +// GetDependency returns the Dependency field value if set, zero value otherwise. +func (o *V0036JobProperties) GetDependency() string { + if o == nil || o.Dependency == nil { + var ret string + return ret + } + return *o.Dependency +} + +// GetDependencyOk returns a tuple with the Dependency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetDependencyOk() (*string, bool) { + if o == nil || o.Dependency == nil { + return nil, false + } + return o.Dependency, true +} + +// HasDependency returns a boolean if a field has been set. +func (o *V0036JobProperties) HasDependency() bool { + if o != nil && o.Dependency != nil { + return true + } + + return false +} + +// SetDependency gets a reference to the given string and assigns it to the Dependency field. +func (o *V0036JobProperties) SetDependency(v string) { + o.Dependency = &v +} + +// GetDistribution returns the Distribution field value if set, zero value otherwise. +func (o *V0036JobProperties) GetDistribution() string { + if o == nil || o.Distribution == nil { + var ret string + return ret + } + return *o.Distribution +} + +// GetDistributionOk returns a tuple with the Distribution field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetDistributionOk() (*string, bool) { + if o == nil || o.Distribution == nil { + return nil, false + } + return o.Distribution, true +} + +// HasDistribution returns a boolean if a field has been set. +func (o *V0036JobProperties) HasDistribution() bool { + if o != nil && o.Distribution != nil { + return true + } + + return false +} + +// SetDistribution gets a reference to the given string and assigns it to the Distribution field. +func (o *V0036JobProperties) SetDistribution(v string) { + o.Distribution = &v +} + +// GetEnvironment returns the Environment field value +func (o *V0036JobProperties) GetEnvironment() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.Environment +} + +// GetEnvironmentOk returns a tuple with the Environment field value +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetEnvironmentOk() (*map[string]interface{}, bool) { + if o == nil { + return nil, false + } + return &o.Environment, true +} + +// SetEnvironment sets field value +func (o *V0036JobProperties) SetEnvironment(v map[string]interface{}) { + o.Environment = v +} + +// GetExclusive returns the Exclusive field value if set, zero value otherwise. +func (o *V0036JobProperties) GetExclusive() string { + if o == nil || o.Exclusive == nil { + var ret string + return ret + } + return *o.Exclusive +} + +// GetExclusiveOk returns a tuple with the Exclusive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetExclusiveOk() (*string, bool) { + if o == nil || o.Exclusive == nil { + return nil, false + } + return o.Exclusive, true +} + +// HasExclusive returns a boolean if a field has been set. +func (o *V0036JobProperties) HasExclusive() bool { + if o != nil && o.Exclusive != nil { + return true + } + + return false +} + +// SetExclusive gets a reference to the given string and assigns it to the Exclusive field. +func (o *V0036JobProperties) SetExclusive(v string) { + o.Exclusive = &v +} + +// GetGetUserEnvironment returns the GetUserEnvironment field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGetUserEnvironment() bool { + if o == nil || o.GetUserEnvironment == nil { + var ret bool + return ret + } + return *o.GetUserEnvironment +} + +// GetGetUserEnvironmentOk returns a tuple with the GetUserEnvironment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGetUserEnvironmentOk() (*bool, bool) { + if o == nil || o.GetUserEnvironment == nil { + return nil, false + } + return o.GetUserEnvironment, true +} + +// HasGetUserEnvironment returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGetUserEnvironment() bool { + if o != nil && o.GetUserEnvironment != nil { + return true + } + + return false +} + +// SetGetUserEnvironment gets a reference to the given bool and assigns it to the GetUserEnvironment field. +func (o *V0036JobProperties) SetGetUserEnvironment(v bool) { + o.GetUserEnvironment = &v +} + +// GetGres returns the Gres field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGres() string { + if o == nil || o.Gres == nil { + var ret string + return ret + } + return *o.Gres +} + +// GetGresOk returns a tuple with the Gres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGresOk() (*string, bool) { + if o == nil || o.Gres == nil { + return nil, false + } + return o.Gres, true +} + +// HasGres returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGres() bool { + if o != nil && o.Gres != nil { + return true + } + + return false +} + +// SetGres gets a reference to the given string and assigns it to the Gres field. +func (o *V0036JobProperties) SetGres(v string) { + o.Gres = &v +} + +// GetGresFlags returns the GresFlags field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGresFlags() string { + if o == nil || o.GresFlags == nil { + var ret string + return ret + } + return *o.GresFlags +} + +// GetGresFlagsOk returns a tuple with the GresFlags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGresFlagsOk() (*string, bool) { + if o == nil || o.GresFlags == nil { + return nil, false + } + return o.GresFlags, true +} + +// HasGresFlags returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGresFlags() bool { + if o != nil && o.GresFlags != nil { + return true + } + + return false +} + +// SetGresFlags gets a reference to the given string and assigns it to the GresFlags field. +func (o *V0036JobProperties) SetGresFlags(v string) { + o.GresFlags = &v +} + +// GetGpuBinding returns the GpuBinding field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpuBinding() string { + if o == nil || o.GpuBinding == nil { + var ret string + return ret + } + return *o.GpuBinding +} + +// GetGpuBindingOk returns a tuple with the GpuBinding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpuBindingOk() (*string, bool) { + if o == nil || o.GpuBinding == nil { + return nil, false + } + return o.GpuBinding, true +} + +// HasGpuBinding returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpuBinding() bool { + if o != nil && o.GpuBinding != nil { + return true + } + + return false +} + +// SetGpuBinding gets a reference to the given string and assigns it to the GpuBinding field. +func (o *V0036JobProperties) SetGpuBinding(v string) { + o.GpuBinding = &v +} + +// GetGpuFrequency returns the GpuFrequency field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpuFrequency() string { + if o == nil || o.GpuFrequency == nil { + var ret string + return ret + } + return *o.GpuFrequency +} + +// GetGpuFrequencyOk returns a tuple with the GpuFrequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpuFrequencyOk() (*string, bool) { + if o == nil || o.GpuFrequency == nil { + return nil, false + } + return o.GpuFrequency, true +} + +// HasGpuFrequency returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpuFrequency() bool { + if o != nil && o.GpuFrequency != nil { + return true + } + + return false +} + +// SetGpuFrequency gets a reference to the given string and assigns it to the GpuFrequency field. +func (o *V0036JobProperties) SetGpuFrequency(v string) { + o.GpuFrequency = &v +} + +// GetGpus returns the Gpus field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpus() string { + if o == nil || o.Gpus == nil { + var ret string + return ret + } + return *o.Gpus +} + +// GetGpusOk returns a tuple with the Gpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpusOk() (*string, bool) { + if o == nil || o.Gpus == nil { + return nil, false + } + return o.Gpus, true +} + +// HasGpus returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpus() bool { + if o != nil && o.Gpus != nil { + return true + } + + return false +} + +// SetGpus gets a reference to the given string and assigns it to the Gpus field. +func (o *V0036JobProperties) SetGpus(v string) { + o.Gpus = &v +} + +// GetGpusPerNode returns the GpusPerNode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpusPerNode() string { + if o == nil || o.GpusPerNode == nil { + var ret string + return ret + } + return *o.GpusPerNode +} + +// GetGpusPerNodeOk returns a tuple with the GpusPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpusPerNodeOk() (*string, bool) { + if o == nil || o.GpusPerNode == nil { + return nil, false + } + return o.GpusPerNode, true +} + +// HasGpusPerNode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpusPerNode() bool { + if o != nil && o.GpusPerNode != nil { + return true + } + + return false +} + +// SetGpusPerNode gets a reference to the given string and assigns it to the GpusPerNode field. +func (o *V0036JobProperties) SetGpusPerNode(v string) { + o.GpusPerNode = &v +} + +// GetGpusPerSocket returns the GpusPerSocket field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpusPerSocket() string { + if o == nil || o.GpusPerSocket == nil { + var ret string + return ret + } + return *o.GpusPerSocket +} + +// GetGpusPerSocketOk returns a tuple with the GpusPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpusPerSocketOk() (*string, bool) { + if o == nil || o.GpusPerSocket == nil { + return nil, false + } + return o.GpusPerSocket, true +} + +// HasGpusPerSocket returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpusPerSocket() bool { + if o != nil && o.GpusPerSocket != nil { + return true + } + + return false +} + +// SetGpusPerSocket gets a reference to the given string and assigns it to the GpusPerSocket field. +func (o *V0036JobProperties) SetGpusPerSocket(v string) { + o.GpusPerSocket = &v +} + +// GetGpusPerTask returns the GpusPerTask field value if set, zero value otherwise. +func (o *V0036JobProperties) GetGpusPerTask() string { + if o == nil || o.GpusPerTask == nil { + var ret string + return ret + } + return *o.GpusPerTask +} + +// GetGpusPerTaskOk returns a tuple with the GpusPerTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetGpusPerTaskOk() (*string, bool) { + if o == nil || o.GpusPerTask == nil { + return nil, false + } + return o.GpusPerTask, true +} + +// HasGpusPerTask returns a boolean if a field has been set. +func (o *V0036JobProperties) HasGpusPerTask() bool { + if o != nil && o.GpusPerTask != nil { + return true + } + + return false +} + +// SetGpusPerTask gets a reference to the given string and assigns it to the GpusPerTask field. +func (o *V0036JobProperties) SetGpusPerTask(v string) { + o.GpusPerTask = &v +} + +// GetHold returns the Hold field value if set, zero value otherwise. +func (o *V0036JobProperties) GetHold() bool { + if o == nil || o.Hold == nil { + var ret bool + return ret + } + return *o.Hold +} + +// GetHoldOk returns a tuple with the Hold field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetHoldOk() (*bool, bool) { + if o == nil || o.Hold == nil { + return nil, false + } + return o.Hold, true +} + +// HasHold returns a boolean if a field has been set. +func (o *V0036JobProperties) HasHold() bool { + if o != nil && o.Hold != nil { + return true + } + + return false +} + +// SetHold gets a reference to the given bool and assigns it to the Hold field. +func (o *V0036JobProperties) SetHold(v bool) { + o.Hold = &v +} + +// GetKillOnInvalidDependency returns the KillOnInvalidDependency field value if set, zero value otherwise. +func (o *V0036JobProperties) GetKillOnInvalidDependency() bool { + if o == nil || o.KillOnInvalidDependency == nil { + var ret bool + return ret + } + return *o.KillOnInvalidDependency +} + +// GetKillOnInvalidDependencyOk returns a tuple with the KillOnInvalidDependency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetKillOnInvalidDependencyOk() (*bool, bool) { + if o == nil || o.KillOnInvalidDependency == nil { + return nil, false + } + return o.KillOnInvalidDependency, true +} + +// HasKillOnInvalidDependency returns a boolean if a field has been set. +func (o *V0036JobProperties) HasKillOnInvalidDependency() bool { + if o != nil && o.KillOnInvalidDependency != nil { + return true + } + + return false +} + +// SetKillOnInvalidDependency gets a reference to the given bool and assigns it to the KillOnInvalidDependency field. +func (o *V0036JobProperties) SetKillOnInvalidDependency(v bool) { + o.KillOnInvalidDependency = &v +} + +// GetLicenses returns the Licenses field value if set, zero value otherwise. +func (o *V0036JobProperties) GetLicenses() string { + if o == nil || o.Licenses == nil { + var ret string + return ret + } + return *o.Licenses +} + +// GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetLicensesOk() (*string, bool) { + if o == nil || o.Licenses == nil { + return nil, false + } + return o.Licenses, true +} + +// HasLicenses returns a boolean if a field has been set. +func (o *V0036JobProperties) HasLicenses() bool { + if o != nil && o.Licenses != nil { + return true + } + + return false +} + +// SetLicenses gets a reference to the given string and assigns it to the Licenses field. +func (o *V0036JobProperties) SetLicenses(v string) { + o.Licenses = &v +} + +// GetMailType returns the MailType field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMailType() string { + if o == nil || o.MailType == nil { + var ret string + return ret + } + return *o.MailType +} + +// GetMailTypeOk returns a tuple with the MailType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMailTypeOk() (*string, bool) { + if o == nil || o.MailType == nil { + return nil, false + } + return o.MailType, true +} + +// HasMailType returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMailType() bool { + if o != nil && o.MailType != nil { + return true + } + + return false +} + +// SetMailType gets a reference to the given string and assigns it to the MailType field. +func (o *V0036JobProperties) SetMailType(v string) { + o.MailType = &v +} + +// GetMailUser returns the MailUser field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMailUser() string { + if o == nil || o.MailUser == nil { + var ret string + return ret + } + return *o.MailUser +} + +// GetMailUserOk returns a tuple with the MailUser field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMailUserOk() (*string, bool) { + if o == nil || o.MailUser == nil { + return nil, false + } + return o.MailUser, true +} + +// HasMailUser returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMailUser() bool { + if o != nil && o.MailUser != nil { + return true + } + + return false +} + +// SetMailUser gets a reference to the given string and assigns it to the MailUser field. +func (o *V0036JobProperties) SetMailUser(v string) { + o.MailUser = &v +} + +// GetMcsLabel returns the McsLabel field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMcsLabel() string { + if o == nil || o.McsLabel == nil { + var ret string + return ret + } + return *o.McsLabel +} + +// GetMcsLabelOk returns a tuple with the McsLabel field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMcsLabelOk() (*string, bool) { + if o == nil || o.McsLabel == nil { + return nil, false + } + return o.McsLabel, true +} + +// HasMcsLabel returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMcsLabel() bool { + if o != nil && o.McsLabel != nil { + return true + } + + return false +} + +// SetMcsLabel gets a reference to the given string and assigns it to the McsLabel field. +func (o *V0036JobProperties) SetMcsLabel(v string) { + o.McsLabel = &v +} + +// GetMemoryBinding returns the MemoryBinding field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMemoryBinding() string { + if o == nil || o.MemoryBinding == nil { + var ret string + return ret + } + return *o.MemoryBinding +} + +// GetMemoryBindingOk returns a tuple with the MemoryBinding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMemoryBindingOk() (*string, bool) { + if o == nil || o.MemoryBinding == nil { + return nil, false + } + return o.MemoryBinding, true +} + +// HasMemoryBinding returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMemoryBinding() bool { + if o != nil && o.MemoryBinding != nil { + return true + } + + return false +} + +// SetMemoryBinding gets a reference to the given string and assigns it to the MemoryBinding field. +func (o *V0036JobProperties) SetMemoryBinding(v string) { + o.MemoryBinding = &v +} + +// GetMemoryPerCpu returns the MemoryPerCpu field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMemoryPerCpu() int32 { + if o == nil || o.MemoryPerCpu == nil { + var ret int32 + return ret + } + return *o.MemoryPerCpu +} + +// GetMemoryPerCpuOk returns a tuple with the MemoryPerCpu field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMemoryPerCpuOk() (*int32, bool) { + if o == nil || o.MemoryPerCpu == nil { + return nil, false + } + return o.MemoryPerCpu, true +} + +// HasMemoryPerCpu returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMemoryPerCpu() bool { + if o != nil && o.MemoryPerCpu != nil { + return true + } + + return false +} + +// SetMemoryPerCpu gets a reference to the given int32 and assigns it to the MemoryPerCpu field. +func (o *V0036JobProperties) SetMemoryPerCpu(v int32) { + o.MemoryPerCpu = &v +} + +// GetMemoryPerGpu returns the MemoryPerGpu field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMemoryPerGpu() int32 { + if o == nil || o.MemoryPerGpu == nil { + var ret int32 + return ret + } + return *o.MemoryPerGpu +} + +// GetMemoryPerGpuOk returns a tuple with the MemoryPerGpu field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMemoryPerGpuOk() (*int32, bool) { + if o == nil || o.MemoryPerGpu == nil { + return nil, false + } + return o.MemoryPerGpu, true +} + +// HasMemoryPerGpu returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMemoryPerGpu() bool { + if o != nil && o.MemoryPerGpu != nil { + return true + } + + return false +} + +// SetMemoryPerGpu gets a reference to the given int32 and assigns it to the MemoryPerGpu field. +func (o *V0036JobProperties) SetMemoryPerGpu(v int32) { + o.MemoryPerGpu = &v +} + +// GetMemoryPerNode returns the MemoryPerNode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMemoryPerNode() int32 { + if o == nil || o.MemoryPerNode == nil { + var ret int32 + return ret + } + return *o.MemoryPerNode +} + +// GetMemoryPerNodeOk returns a tuple with the MemoryPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMemoryPerNodeOk() (*int32, bool) { + if o == nil || o.MemoryPerNode == nil { + return nil, false + } + return o.MemoryPerNode, true +} + +// HasMemoryPerNode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMemoryPerNode() bool { + if o != nil && o.MemoryPerNode != nil { + return true + } + + return false +} + +// SetMemoryPerNode gets a reference to the given int32 and assigns it to the MemoryPerNode field. +func (o *V0036JobProperties) SetMemoryPerNode(v int32) { + o.MemoryPerNode = &v +} + +// GetMinimumCpusPerNode returns the MinimumCpusPerNode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMinimumCpusPerNode() int32 { + if o == nil || o.MinimumCpusPerNode == nil { + var ret int32 + return ret + } + return *o.MinimumCpusPerNode +} + +// GetMinimumCpusPerNodeOk returns a tuple with the MinimumCpusPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMinimumCpusPerNodeOk() (*int32, bool) { + if o == nil || o.MinimumCpusPerNode == nil { + return nil, false + } + return o.MinimumCpusPerNode, true +} + +// HasMinimumCpusPerNode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMinimumCpusPerNode() bool { + if o != nil && o.MinimumCpusPerNode != nil { + return true + } + + return false +} + +// SetMinimumCpusPerNode gets a reference to the given int32 and assigns it to the MinimumCpusPerNode field. +func (o *V0036JobProperties) SetMinimumCpusPerNode(v int32) { + o.MinimumCpusPerNode = &v +} + +// GetMinimumNodes returns the MinimumNodes field value if set, zero value otherwise. +func (o *V0036JobProperties) GetMinimumNodes() bool { + if o == nil || o.MinimumNodes == nil { + var ret bool + return ret + } + return *o.MinimumNodes +} + +// GetMinimumNodesOk returns a tuple with the MinimumNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetMinimumNodesOk() (*bool, bool) { + if o == nil || o.MinimumNodes == nil { + return nil, false + } + return o.MinimumNodes, true +} + +// HasMinimumNodes returns a boolean if a field has been set. +func (o *V0036JobProperties) HasMinimumNodes() bool { + if o != nil && o.MinimumNodes != nil { + return true + } + + return false +} + +// SetMinimumNodes gets a reference to the given bool and assigns it to the MinimumNodes field. +func (o *V0036JobProperties) SetMinimumNodes(v bool) { + o.MinimumNodes = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *V0036JobProperties) GetName() string { + if o == nil || o.Name == nil { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetNameOk() (*string, bool) { + if o == nil || o.Name == nil { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *V0036JobProperties) HasName() bool { + if o != nil && o.Name != nil { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *V0036JobProperties) SetName(v string) { + o.Name = &v +} + +// GetNice returns the Nice field value if set, zero value otherwise. +func (o *V0036JobProperties) GetNice() string { + if o == nil || o.Nice == nil { + var ret string + return ret + } + return *o.Nice +} + +// GetNiceOk returns a tuple with the Nice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetNiceOk() (*string, bool) { + if o == nil || o.Nice == nil { + return nil, false + } + return o.Nice, true +} + +// HasNice returns a boolean if a field has been set. +func (o *V0036JobProperties) HasNice() bool { + if o != nil && o.Nice != nil { + return true + } + + return false +} + +// SetNice gets a reference to the given string and assigns it to the Nice field. +func (o *V0036JobProperties) SetNice(v string) { + o.Nice = &v +} + +// GetNoKill returns the NoKill field value if set, zero value otherwise. +func (o *V0036JobProperties) GetNoKill() bool { + if o == nil || o.NoKill == nil { + var ret bool + return ret + } + return *o.NoKill +} + +// GetNoKillOk returns a tuple with the NoKill field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetNoKillOk() (*bool, bool) { + if o == nil || o.NoKill == nil { + return nil, false + } + return o.NoKill, true +} + +// HasNoKill returns a boolean if a field has been set. +func (o *V0036JobProperties) HasNoKill() bool { + if o != nil && o.NoKill != nil { + return true + } + + return false +} + +// SetNoKill gets a reference to the given bool and assigns it to the NoKill field. +func (o *V0036JobProperties) SetNoKill(v bool) { + o.NoKill = &v +} + +// GetNodes returns the Nodes field value if set, zero value otherwise. +func (o *V0036JobProperties) GetNodes() []int32 { + if o == nil || o.Nodes == nil { + var ret []int32 + return ret + } + return *o.Nodes +} + +// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetNodesOk() (*[]int32, bool) { + if o == nil || o.Nodes == nil { + return nil, false + } + return o.Nodes, true +} + +// HasNodes returns a boolean if a field has been set. +func (o *V0036JobProperties) HasNodes() bool { + if o != nil && o.Nodes != nil { + return true + } + + return false +} + +// SetNodes gets a reference to the given []int32 and assigns it to the Nodes field. +func (o *V0036JobProperties) SetNodes(v []int32) { + o.Nodes = &v +} + +// GetOpenMode returns the OpenMode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetOpenMode() string { + if o == nil || o.OpenMode == nil { + var ret string + return ret + } + return *o.OpenMode +} + +// GetOpenModeOk returns a tuple with the OpenMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetOpenModeOk() (*string, bool) { + if o == nil || o.OpenMode == nil { + return nil, false + } + return o.OpenMode, true +} + +// HasOpenMode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasOpenMode() bool { + if o != nil && o.OpenMode != nil { + return true + } + + return false +} + +// SetOpenMode gets a reference to the given string and assigns it to the OpenMode field. +func (o *V0036JobProperties) SetOpenMode(v string) { + o.OpenMode = &v +} + +// GetPartition returns the Partition field value if set, zero value otherwise. +func (o *V0036JobProperties) GetPartition() string { + if o == nil || o.Partition == nil { + var ret string + return ret + } + return *o.Partition +} + +// GetPartitionOk returns a tuple with the Partition field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetPartitionOk() (*string, bool) { + if o == nil || o.Partition == nil { + return nil, false + } + return o.Partition, true +} + +// HasPartition returns a boolean if a field has been set. +func (o *V0036JobProperties) HasPartition() bool { + if o != nil && o.Partition != nil { + return true + } + + return false +} + +// SetPartition gets a reference to the given string and assigns it to the Partition field. +func (o *V0036JobProperties) SetPartition(v string) { + o.Partition = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *V0036JobProperties) GetPriority() string { + if o == nil || o.Priority == nil { + var ret string + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetPriorityOk() (*string, bool) { + if o == nil || o.Priority == nil { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *V0036JobProperties) HasPriority() bool { + if o != nil && o.Priority != nil { + return true + } + + return false +} + +// SetPriority gets a reference to the given string and assigns it to the Priority field. +func (o *V0036JobProperties) SetPriority(v string) { + o.Priority = &v +} + +// GetQos returns the Qos field value if set, zero value otherwise. +func (o *V0036JobProperties) GetQos() string { + if o == nil || o.Qos == nil { + var ret string + return ret + } + return *o.Qos +} + +// GetQosOk returns a tuple with the Qos field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetQosOk() (*string, bool) { + if o == nil || o.Qos == nil { + return nil, false + } + return o.Qos, true +} + +// HasQos returns a boolean if a field has been set. +func (o *V0036JobProperties) HasQos() bool { + if o != nil && o.Qos != nil { + return true + } + + return false +} + +// SetQos gets a reference to the given string and assigns it to the Qos field. +func (o *V0036JobProperties) SetQos(v string) { + o.Qos = &v +} + +// GetRequeue returns the Requeue field value if set, zero value otherwise. +func (o *V0036JobProperties) GetRequeue() bool { + if o == nil || o.Requeue == nil { + var ret bool + return ret + } + return *o.Requeue +} + +// GetRequeueOk returns a tuple with the Requeue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetRequeueOk() (*bool, bool) { + if o == nil || o.Requeue == nil { + return nil, false + } + return o.Requeue, true +} + +// HasRequeue returns a boolean if a field has been set. +func (o *V0036JobProperties) HasRequeue() bool { + if o != nil && o.Requeue != nil { + return true + } + + return false +} + +// SetRequeue gets a reference to the given bool and assigns it to the Requeue field. +func (o *V0036JobProperties) SetRequeue(v bool) { + o.Requeue = &v +} + +// GetReservation returns the Reservation field value if set, zero value otherwise. +func (o *V0036JobProperties) GetReservation() string { + if o == nil || o.Reservation == nil { + var ret string + return ret + } + return *o.Reservation +} + +// GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetReservationOk() (*string, bool) { + if o == nil || o.Reservation == nil { + return nil, false + } + return o.Reservation, true +} + +// HasReservation returns a boolean if a field has been set. +func (o *V0036JobProperties) HasReservation() bool { + if o != nil && o.Reservation != nil { + return true + } + + return false +} + +// SetReservation gets a reference to the given string and assigns it to the Reservation field. +func (o *V0036JobProperties) SetReservation(v string) { + o.Reservation = &v +} + +// GetSignal returns the Signal field value if set, zero value otherwise. +func (o *V0036JobProperties) GetSignal() string { + if o == nil || o.Signal == nil { + var ret string + return ret + } + return *o.Signal +} + +// GetSignalOk returns a tuple with the Signal field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetSignalOk() (*string, bool) { + if o == nil || o.Signal == nil { + return nil, false + } + return o.Signal, true +} + +// HasSignal returns a boolean if a field has been set. +func (o *V0036JobProperties) HasSignal() bool { + if o != nil && o.Signal != nil { + return true + } + + return false +} + +// SetSignal gets a reference to the given string and assigns it to the Signal field. +func (o *V0036JobProperties) SetSignal(v string) { + o.Signal = &v +} + +// GetSocketsPerNode returns the SocketsPerNode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetSocketsPerNode() int32 { + if o == nil || o.SocketsPerNode == nil { + var ret int32 + return ret + } + return *o.SocketsPerNode +} + +// GetSocketsPerNodeOk returns a tuple with the SocketsPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetSocketsPerNodeOk() (*int32, bool) { + if o == nil || o.SocketsPerNode == nil { + return nil, false + } + return o.SocketsPerNode, true +} + +// HasSocketsPerNode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasSocketsPerNode() bool { + if o != nil && o.SocketsPerNode != nil { + return true + } + + return false +} + +// SetSocketsPerNode gets a reference to the given int32 and assigns it to the SocketsPerNode field. +func (o *V0036JobProperties) SetSocketsPerNode(v int32) { + o.SocketsPerNode = &v +} + +// GetSpreadJob returns the SpreadJob field value if set, zero value otherwise. +func (o *V0036JobProperties) GetSpreadJob() bool { + if o == nil || o.SpreadJob == nil { + var ret bool + return ret + } + return *o.SpreadJob +} + +// GetSpreadJobOk returns a tuple with the SpreadJob field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetSpreadJobOk() (*bool, bool) { + if o == nil || o.SpreadJob == nil { + return nil, false + } + return o.SpreadJob, true +} + +// HasSpreadJob returns a boolean if a field has been set. +func (o *V0036JobProperties) HasSpreadJob() bool { + if o != nil && o.SpreadJob != nil { + return true + } + + return false +} + +// SetSpreadJob gets a reference to the given bool and assigns it to the SpreadJob field. +func (o *V0036JobProperties) SetSpreadJob(v bool) { + o.SpreadJob = &v +} + +// GetStandardError returns the StandardError field value if set, zero value otherwise. +func (o *V0036JobProperties) GetStandardError() string { + if o == nil || o.StandardError == nil { + var ret string + return ret + } + return *o.StandardError +} + +// GetStandardErrorOk returns a tuple with the StandardError field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetStandardErrorOk() (*string, bool) { + if o == nil || o.StandardError == nil { + return nil, false + } + return o.StandardError, true +} + +// HasStandardError returns a boolean if a field has been set. +func (o *V0036JobProperties) HasStandardError() bool { + if o != nil && o.StandardError != nil { + return true + } + + return false +} + +// SetStandardError gets a reference to the given string and assigns it to the StandardError field. +func (o *V0036JobProperties) SetStandardError(v string) { + o.StandardError = &v +} + +// GetStandardIn returns the StandardIn field value if set, zero value otherwise. +func (o *V0036JobProperties) GetStandardIn() string { + if o == nil || o.StandardIn == nil { + var ret string + return ret + } + return *o.StandardIn +} + +// GetStandardInOk returns a tuple with the StandardIn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetStandardInOk() (*string, bool) { + if o == nil || o.StandardIn == nil { + return nil, false + } + return o.StandardIn, true +} + +// HasStandardIn returns a boolean if a field has been set. +func (o *V0036JobProperties) HasStandardIn() bool { + if o != nil && o.StandardIn != nil { + return true + } + + return false +} + +// SetStandardIn gets a reference to the given string and assigns it to the StandardIn field. +func (o *V0036JobProperties) SetStandardIn(v string) { + o.StandardIn = &v +} + +// GetStandardOut returns the StandardOut field value if set, zero value otherwise. +func (o *V0036JobProperties) GetStandardOut() string { + if o == nil || o.StandardOut == nil { + var ret string + return ret + } + return *o.StandardOut +} + +// GetStandardOutOk returns a tuple with the StandardOut field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetStandardOutOk() (*string, bool) { + if o == nil || o.StandardOut == nil { + return nil, false + } + return o.StandardOut, true +} + +// HasStandardOut returns a boolean if a field has been set. +func (o *V0036JobProperties) HasStandardOut() bool { + if o != nil && o.StandardOut != nil { + return true + } + + return false +} + +// SetStandardOut gets a reference to the given string and assigns it to the StandardOut field. +func (o *V0036JobProperties) SetStandardOut(v string) { + o.StandardOut = &v +} + +// GetTasks returns the Tasks field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTasks() int32 { + if o == nil || o.Tasks == nil { + var ret int32 + return ret + } + return *o.Tasks +} + +// GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTasksOk() (*int32, bool) { + if o == nil || o.Tasks == nil { + return nil, false + } + return o.Tasks, true +} + +// HasTasks returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTasks() bool { + if o != nil && o.Tasks != nil { + return true + } + + return false +} + +// SetTasks gets a reference to the given int32 and assigns it to the Tasks field. +func (o *V0036JobProperties) SetTasks(v int32) { + o.Tasks = &v +} + +// GetTasksPerCore returns the TasksPerCore field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTasksPerCore() int32 { + if o == nil || o.TasksPerCore == nil { + var ret int32 + return ret + } + return *o.TasksPerCore +} + +// GetTasksPerCoreOk returns a tuple with the TasksPerCore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTasksPerCoreOk() (*int32, bool) { + if o == nil || o.TasksPerCore == nil { + return nil, false + } + return o.TasksPerCore, true +} + +// HasTasksPerCore returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTasksPerCore() bool { + if o != nil && o.TasksPerCore != nil { + return true + } + + return false +} + +// SetTasksPerCore gets a reference to the given int32 and assigns it to the TasksPerCore field. +func (o *V0036JobProperties) SetTasksPerCore(v int32) { + o.TasksPerCore = &v +} + +// GetTasksPerNode returns the TasksPerNode field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTasksPerNode() int32 { + if o == nil || o.TasksPerNode == nil { + var ret int32 + return ret + } + return *o.TasksPerNode +} + +// GetTasksPerNodeOk returns a tuple with the TasksPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTasksPerNodeOk() (*int32, bool) { + if o == nil || o.TasksPerNode == nil { + return nil, false + } + return o.TasksPerNode, true +} + +// HasTasksPerNode returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTasksPerNode() bool { + if o != nil && o.TasksPerNode != nil { + return true + } + + return false +} + +// SetTasksPerNode gets a reference to the given int32 and assigns it to the TasksPerNode field. +func (o *V0036JobProperties) SetTasksPerNode(v int32) { + o.TasksPerNode = &v +} + +// GetTasksPerSocket returns the TasksPerSocket field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTasksPerSocket() int32 { + if o == nil || o.TasksPerSocket == nil { + var ret int32 + return ret + } + return *o.TasksPerSocket +} + +// GetTasksPerSocketOk returns a tuple with the TasksPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTasksPerSocketOk() (*int32, bool) { + if o == nil || o.TasksPerSocket == nil { + return nil, false + } + return o.TasksPerSocket, true +} + +// HasTasksPerSocket returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTasksPerSocket() bool { + if o != nil && o.TasksPerSocket != nil { + return true + } + + return false +} + +// SetTasksPerSocket gets a reference to the given int32 and assigns it to the TasksPerSocket field. +func (o *V0036JobProperties) SetTasksPerSocket(v int32) { + o.TasksPerSocket = &v +} + +// GetThreadSpecification returns the ThreadSpecification field value if set, zero value otherwise. +func (o *V0036JobProperties) GetThreadSpecification() int32 { + if o == nil || o.ThreadSpecification == nil { + var ret int32 + return ret + } + return *o.ThreadSpecification +} + +// GetThreadSpecificationOk returns a tuple with the ThreadSpecification field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetThreadSpecificationOk() (*int32, bool) { + if o == nil || o.ThreadSpecification == nil { + return nil, false + } + return o.ThreadSpecification, true +} + +// HasThreadSpecification returns a boolean if a field has been set. +func (o *V0036JobProperties) HasThreadSpecification() bool { + if o != nil && o.ThreadSpecification != nil { + return true + } + + return false +} + +// SetThreadSpecification gets a reference to the given int32 and assigns it to the ThreadSpecification field. +func (o *V0036JobProperties) SetThreadSpecification(v int32) { + o.ThreadSpecification = &v +} + +// GetThreadsPerCore returns the ThreadsPerCore field value if set, zero value otherwise. +func (o *V0036JobProperties) GetThreadsPerCore() int32 { + if o == nil || o.ThreadsPerCore == nil { + var ret int32 + return ret + } + return *o.ThreadsPerCore +} + +// GetThreadsPerCoreOk returns a tuple with the ThreadsPerCore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetThreadsPerCoreOk() (*int32, bool) { + if o == nil || o.ThreadsPerCore == nil { + return nil, false + } + return o.ThreadsPerCore, true +} + +// HasThreadsPerCore returns a boolean if a field has been set. +func (o *V0036JobProperties) HasThreadsPerCore() bool { + if o != nil && o.ThreadsPerCore != nil { + return true + } + + return false +} + +// SetThreadsPerCore gets a reference to the given int32 and assigns it to the ThreadsPerCore field. +func (o *V0036JobProperties) SetThreadsPerCore(v int32) { + o.ThreadsPerCore = &v +} + +// GetTimeLimit returns the TimeLimit field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTimeLimit() int32 { + if o == nil || o.TimeLimit == nil { + var ret int32 + return ret + } + return *o.TimeLimit +} + +// GetTimeLimitOk returns a tuple with the TimeLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTimeLimitOk() (*int32, bool) { + if o == nil || o.TimeLimit == nil { + return nil, false + } + return o.TimeLimit, true +} + +// HasTimeLimit returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTimeLimit() bool { + if o != nil && o.TimeLimit != nil { + return true + } + + return false +} + +// SetTimeLimit gets a reference to the given int32 and assigns it to the TimeLimit field. +func (o *V0036JobProperties) SetTimeLimit(v int32) { + o.TimeLimit = &v +} + +// GetTimeMinimum returns the TimeMinimum field value if set, zero value otherwise. +func (o *V0036JobProperties) GetTimeMinimum() int32 { + if o == nil || o.TimeMinimum == nil { + var ret int32 + return ret + } + return *o.TimeMinimum +} + +// GetTimeMinimumOk returns a tuple with the TimeMinimum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetTimeMinimumOk() (*int32, bool) { + if o == nil || o.TimeMinimum == nil { + return nil, false + } + return o.TimeMinimum, true +} + +// HasTimeMinimum returns a boolean if a field has been set. +func (o *V0036JobProperties) HasTimeMinimum() bool { + if o != nil && o.TimeMinimum != nil { + return true + } + + return false +} + +// SetTimeMinimum gets a reference to the given int32 and assigns it to the TimeMinimum field. +func (o *V0036JobProperties) SetTimeMinimum(v int32) { + o.TimeMinimum = &v +} + +// GetWaitAllNodes returns the WaitAllNodes field value if set, zero value otherwise. +func (o *V0036JobProperties) GetWaitAllNodes() bool { + if o == nil || o.WaitAllNodes == nil { + var ret bool + return ret + } + return *o.WaitAllNodes +} + +// GetWaitAllNodesOk returns a tuple with the WaitAllNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetWaitAllNodesOk() (*bool, bool) { + if o == nil || o.WaitAllNodes == nil { + return nil, false + } + return o.WaitAllNodes, true +} + +// HasWaitAllNodes returns a boolean if a field has been set. +func (o *V0036JobProperties) HasWaitAllNodes() bool { + if o != nil && o.WaitAllNodes != nil { + return true + } + + return false +} + +// SetWaitAllNodes gets a reference to the given bool and assigns it to the WaitAllNodes field. +func (o *V0036JobProperties) SetWaitAllNodes(v bool) { + o.WaitAllNodes = &v +} + +// GetWckey returns the Wckey field value if set, zero value otherwise. +func (o *V0036JobProperties) GetWckey() string { + if o == nil || o.Wckey == nil { + var ret string + return ret + } + return *o.Wckey +} + +// GetWckeyOk returns a tuple with the Wckey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobProperties) GetWckeyOk() (*string, bool) { + if o == nil || o.Wckey == nil { + return nil, false + } + return o.Wckey, true +} + +// HasWckey returns a boolean if a field has been set. +func (o *V0036JobProperties) HasWckey() bool { + if o != nil && o.Wckey != nil { + return true + } + + return false +} + +// SetWckey gets a reference to the given string and assigns it to the Wckey field. +func (o *V0036JobProperties) SetWckey(v string) { + o.Wckey = &v +} + +func (o V0036JobProperties) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Account != nil { + toSerialize["account"] = o.Account + } + if o.AccountGatherFreqency != nil { + toSerialize["account_gather_freqency"] = o.AccountGatherFreqency + } + if o.Argv != nil { + toSerialize["argv"] = o.Argv + } + if o.Array != nil { + toSerialize["array"] = o.Array + } + if o.BatchFeatures != nil { + toSerialize["batch_features"] = o.BatchFeatures + } + if o.BeginTime != nil { + toSerialize["begin_time"] = o.BeginTime + } + if o.BurstBuffer != nil { + toSerialize["burst_buffer"] = o.BurstBuffer + } + if o.ClusterConstraints != nil { + toSerialize["cluster_constraints"] = o.ClusterConstraints + } + if o.Comment != nil { + toSerialize["comment"] = o.Comment + } + if o.Constraints != nil { + toSerialize["constraints"] = o.Constraints + } + if o.CoreSpecification != nil { + toSerialize["core_specification"] = o.CoreSpecification + } + if o.CoresPerSocket != nil { + toSerialize["cores_per_socket"] = o.CoresPerSocket + } + if o.CpuBinding != nil { + toSerialize["cpu_binding"] = o.CpuBinding + } + if o.CpuBindingHint != nil { + toSerialize["cpu_binding_hint"] = o.CpuBindingHint + } + if o.CpuFrequency != nil { + toSerialize["cpu_frequency"] = o.CpuFrequency + } + if o.CpusPerGpu != nil { + toSerialize["cpus_per_gpu"] = o.CpusPerGpu + } + if o.CpusPerTask != nil { + toSerialize["cpus_per_task"] = o.CpusPerTask + } + if o.CurrentWorkingDirectory != nil { + toSerialize["current_working_directory"] = o.CurrentWorkingDirectory + } + if o.Deadline != nil { + toSerialize["deadline"] = o.Deadline + } + if o.DelayBoot != nil { + toSerialize["delay_boot"] = o.DelayBoot + } + if o.Dependency != nil { + toSerialize["dependency"] = o.Dependency + } + if o.Distribution != nil { + toSerialize["distribution"] = o.Distribution + } + if true { + toSerialize["environment"] = o.Environment + } + if o.Exclusive != nil { + toSerialize["exclusive"] = o.Exclusive + } + if o.GetUserEnvironment != nil { + toSerialize["get_user_environment"] = o.GetUserEnvironment + } + if o.Gres != nil { + toSerialize["gres"] = o.Gres + } + if o.GresFlags != nil { + toSerialize["gres_flags"] = o.GresFlags + } + if o.GpuBinding != nil { + toSerialize["gpu_binding"] = o.GpuBinding + } + if o.GpuFrequency != nil { + toSerialize["gpu_frequency"] = o.GpuFrequency + } + if o.Gpus != nil { + toSerialize["gpus"] = o.Gpus + } + if o.GpusPerNode != nil { + toSerialize["gpus_per_node"] = o.GpusPerNode + } + if o.GpusPerSocket != nil { + toSerialize["gpus_per_socket"] = o.GpusPerSocket + } + if o.GpusPerTask != nil { + toSerialize["gpus_per_task"] = o.GpusPerTask + } + if o.Hold != nil { + toSerialize["hold"] = o.Hold + } + if o.KillOnInvalidDependency != nil { + toSerialize["kill_on_invalid_dependency"] = o.KillOnInvalidDependency + } + if o.Licenses != nil { + toSerialize["licenses"] = o.Licenses + } + if o.MailType != nil { + toSerialize["mail_type"] = o.MailType + } + if o.MailUser != nil { + toSerialize["mail_user"] = o.MailUser + } + if o.McsLabel != nil { + toSerialize["mcs_label"] = o.McsLabel + } + if o.MemoryBinding != nil { + toSerialize["memory_binding"] = o.MemoryBinding + } + if o.MemoryPerCpu != nil { + toSerialize["memory_per_cpu"] = o.MemoryPerCpu + } + if o.MemoryPerGpu != nil { + toSerialize["memory_per_gpu"] = o.MemoryPerGpu + } + if o.MemoryPerNode != nil { + toSerialize["memory_per_node"] = o.MemoryPerNode + } + if o.MinimumCpusPerNode != nil { + toSerialize["minimum_cpus_per_node"] = o.MinimumCpusPerNode + } + if o.MinimumNodes != nil { + toSerialize["minimum_nodes"] = o.MinimumNodes + } + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Nice != nil { + toSerialize["nice"] = o.Nice + } + if o.NoKill != nil { + toSerialize["no_kill"] = o.NoKill + } + if o.Nodes != nil { + toSerialize["nodes"] = o.Nodes + } + if o.OpenMode != nil { + toSerialize["open_mode"] = o.OpenMode + } + if o.Partition != nil { + toSerialize["partition"] = o.Partition + } + if o.Priority != nil { + toSerialize["priority"] = o.Priority + } + if o.Qos != nil { + toSerialize["qos"] = o.Qos + } + if o.Requeue != nil { + toSerialize["requeue"] = o.Requeue + } + if o.Reservation != nil { + toSerialize["reservation"] = o.Reservation + } + if o.Signal != nil { + toSerialize["signal"] = o.Signal + } + if o.SocketsPerNode != nil { + toSerialize["sockets_per_node"] = o.SocketsPerNode + } + if o.SpreadJob != nil { + toSerialize["spread_job"] = o.SpreadJob + } + if o.StandardError != nil { + toSerialize["standard_error"] = o.StandardError + } + if o.StandardIn != nil { + toSerialize["standard_in"] = o.StandardIn + } + if o.StandardOut != nil { + toSerialize["standard_out"] = o.StandardOut + } + if o.Tasks != nil { + toSerialize["tasks"] = o.Tasks + } + if o.TasksPerCore != nil { + toSerialize["tasks_per_core"] = o.TasksPerCore + } + if o.TasksPerNode != nil { + toSerialize["tasks_per_node"] = o.TasksPerNode + } + if o.TasksPerSocket != nil { + toSerialize["tasks_per_socket"] = o.TasksPerSocket + } + if o.ThreadSpecification != nil { + toSerialize["thread_specification"] = o.ThreadSpecification + } + if o.ThreadsPerCore != nil { + toSerialize["threads_per_core"] = o.ThreadsPerCore + } + if o.TimeLimit != nil { + toSerialize["time_limit"] = o.TimeLimit + } + if o.TimeMinimum != nil { + toSerialize["time_minimum"] = o.TimeMinimum + } + if o.WaitAllNodes != nil { + toSerialize["wait_all_nodes"] = o.WaitAllNodes + } + if o.Wckey != nil { + toSerialize["wckey"] = o.Wckey + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobProperties struct { + value *V0036JobProperties + isSet bool +} + +func (v NullableV0036JobProperties) Get() *V0036JobProperties { + return v.value +} + +func (v *NullableV0036JobProperties) Set(val *V0036JobProperties) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobProperties) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobProperties) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobProperties(val *V0036JobProperties) *NullableV0036JobProperties { + return &NullableV0036JobProperties{value: val, isSet: true} +} + +func (v NullableV0036JobProperties) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobProperties) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_job_resources.go b/model_v0_0_36_job_resources.go new file mode 100644 index 0000000..78be257 --- /dev/null +++ b/model_v0_0_36_job_resources.go @@ -0,0 +1,228 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobResources struct for V0036JobResources +type V0036JobResources struct { + // list of assigned job nodes + Nodes *string `json:"nodes,omitempty"` + // number of assigned job cpus + AllocatedCpus *int32 `json:"allocated_cpus,omitempty"` + // number of assigned job hosts + AllocatedHosts *int32 `json:"allocated_hosts,omitempty"` + // node allocations + AllocatedNodes *[]V0036NodeAllocation `json:"allocated_nodes,omitempty"` +} + +// NewV0036JobResources instantiates a new V0036JobResources 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 +func NewV0036JobResources() *V0036JobResources { + this := V0036JobResources{} + return &this +} + +// NewV0036JobResourcesWithDefaults instantiates a new V0036JobResources 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 +func NewV0036JobResourcesWithDefaults() *V0036JobResources { + this := V0036JobResources{} + return &this +} + +// GetNodes returns the Nodes field value if set, zero value otherwise. +func (o *V0036JobResources) GetNodes() string { + if o == nil || o.Nodes == nil { + var ret string + return ret + } + return *o.Nodes +} + +// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResources) GetNodesOk() (*string, bool) { + if o == nil || o.Nodes == nil { + return nil, false + } + return o.Nodes, true +} + +// HasNodes returns a boolean if a field has been set. +func (o *V0036JobResources) HasNodes() bool { + if o != nil && o.Nodes != nil { + return true + } + + return false +} + +// SetNodes gets a reference to the given string and assigns it to the Nodes field. +func (o *V0036JobResources) SetNodes(v string) { + o.Nodes = &v +} + +// GetAllocatedCpus returns the AllocatedCpus field value if set, zero value otherwise. +func (o *V0036JobResources) GetAllocatedCpus() int32 { + if o == nil || o.AllocatedCpus == nil { + var ret int32 + return ret + } + return *o.AllocatedCpus +} + +// GetAllocatedCpusOk returns a tuple with the AllocatedCpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResources) GetAllocatedCpusOk() (*int32, bool) { + if o == nil || o.AllocatedCpus == nil { + return nil, false + } + return o.AllocatedCpus, true +} + +// HasAllocatedCpus returns a boolean if a field has been set. +func (o *V0036JobResources) HasAllocatedCpus() bool { + if o != nil && o.AllocatedCpus != nil { + return true + } + + return false +} + +// SetAllocatedCpus gets a reference to the given int32 and assigns it to the AllocatedCpus field. +func (o *V0036JobResources) SetAllocatedCpus(v int32) { + o.AllocatedCpus = &v +} + +// GetAllocatedHosts returns the AllocatedHosts field value if set, zero value otherwise. +func (o *V0036JobResources) GetAllocatedHosts() int32 { + if o == nil || o.AllocatedHosts == nil { + var ret int32 + return ret + } + return *o.AllocatedHosts +} + +// GetAllocatedHostsOk returns a tuple with the AllocatedHosts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResources) GetAllocatedHostsOk() (*int32, bool) { + if o == nil || o.AllocatedHosts == nil { + return nil, false + } + return o.AllocatedHosts, true +} + +// HasAllocatedHosts returns a boolean if a field has been set. +func (o *V0036JobResources) HasAllocatedHosts() bool { + if o != nil && o.AllocatedHosts != nil { + return true + } + + return false +} + +// SetAllocatedHosts gets a reference to the given int32 and assigns it to the AllocatedHosts field. +func (o *V0036JobResources) SetAllocatedHosts(v int32) { + o.AllocatedHosts = &v +} + +// GetAllocatedNodes returns the AllocatedNodes field value if set, zero value otherwise. +func (o *V0036JobResources) GetAllocatedNodes() []V0036NodeAllocation { + if o == nil || o.AllocatedNodes == nil { + var ret []V0036NodeAllocation + return ret + } + return *o.AllocatedNodes +} + +// GetAllocatedNodesOk returns a tuple with the AllocatedNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResources) GetAllocatedNodesOk() (*[]V0036NodeAllocation, bool) { + if o == nil || o.AllocatedNodes == nil { + return nil, false + } + return o.AllocatedNodes, true +} + +// HasAllocatedNodes returns a boolean if a field has been set. +func (o *V0036JobResources) HasAllocatedNodes() bool { + if o != nil && o.AllocatedNodes != nil { + return true + } + + return false +} + +// SetAllocatedNodes gets a reference to the given []V0036NodeAllocation and assigns it to the AllocatedNodes field. +func (o *V0036JobResources) SetAllocatedNodes(v []V0036NodeAllocation) { + o.AllocatedNodes = &v +} + +func (o V0036JobResources) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Nodes != nil { + toSerialize["nodes"] = o.Nodes + } + if o.AllocatedCpus != nil { + toSerialize["allocated_cpus"] = o.AllocatedCpus + } + if o.AllocatedHosts != nil { + toSerialize["allocated_hosts"] = o.AllocatedHosts + } + if o.AllocatedNodes != nil { + toSerialize["allocated_nodes"] = o.AllocatedNodes + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobResources struct { + value *V0036JobResources + isSet bool +} + +func (v NullableV0036JobResources) Get() *V0036JobResources { + return v.value +} + +func (v *NullableV0036JobResources) Set(val *V0036JobResources) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobResources) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobResources) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobResources(val *V0036JobResources) *NullableV0036JobResources { + return &NullableV0036JobResources{value: val, isSet: true} +} + +func (v NullableV0036JobResources) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobResources) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_job_response_properties.go b/model_v0_0_36_job_response_properties.go new file mode 100644 index 0000000..df4bf0a --- /dev/null +++ b/model_v0_0_36_job_response_properties.go @@ -0,0 +1,4038 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobResponseProperties struct for V0036JobResponseProperties +type V0036JobResponseProperties struct { + // Charge resources used by this job to specified account + Account *string `json:"account,omitempty"` + // time job is eligible for running + AccrueTime *int64 `json:"accrue_time,omitempty"` + // administrator's arbitrary comment + AdminComment *string `json:"admin_comment,omitempty"` + // job_id of a job array or 0 if N/A + ArrayJobId *string `json:"array_job_id,omitempty"` + // task_id of a job array + ArrayTaskId *string `json:"array_task_id,omitempty"` + // Maximum number of running array tasks + ArrayMaxTasks *string `json:"array_max_tasks,omitempty"` + // string expression of task IDs in this record + ArrayTaskString *string `json:"array_task_string,omitempty"` + // association id for job + AssociationId *string `json:"association_id,omitempty"` + // features required for batch script's node + BatchFeatures *string `json:"batch_features,omitempty"` + // if batch: queued job with script + BatchFlag *bool `json:"batch_flag,omitempty"` + // name of host running batch script + BatchHost *string `json:"batch_host,omitempty"` + // Job flags + Flags *[]string `json:"flags,omitempty"` + // burst buffer specifications + BurstBuffer *string `json:"burst_buffer,omitempty"` + // burst buffer state info + BurstBufferState *string `json:"burst_buffer_state,omitempty"` + // name of cluster that the job is on + Cluster *string `json:"cluster,omitempty"` + // comma separated list of required cluster features + ClusterFeatures *string `json:"cluster_features,omitempty"` + // command to be executed + Command *string `json:"command,omitempty"` + // arbitrary comment + Comment *string `json:"comment,omitempty"` + // job requires contiguous nodes + Contiguous *bool `json:"contiguous,omitempty"` + // specialized core count + CoreSpec *string `json:"core_spec,omitempty"` + // specialized thread count + ThreadSpec *string `json:"thread_spec,omitempty"` + // cores per socket required by job + CoresPerSocket *string `json:"cores_per_socket,omitempty"` + // billable TRES + BillableTres *string `json:"billable_tres,omitempty"` + // number of processors required for each task + CpusPerTask *string `json:"cpus_per_task,omitempty"` + // Minimum cpu frequency + CpuFrequencyMinimum *string `json:"cpu_frequency_minimum,omitempty"` + // Maximum cpu frequency + CpuFrequencyMaximum *string `json:"cpu_frequency_maximum,omitempty"` + // cpu frequency governor + CpuFrequencyGovernor *string `json:"cpu_frequency_governor,omitempty"` + // semicolon delimited list of TRES=# values + CpusPerTres *string `json:"cpus_per_tres,omitempty"` + // job start deadline + Deadline *string `json:"deadline,omitempty"` + // command to be executed + DelayBoot *string `json:"delay_boot,omitempty"` + // synchronize job execution with other jobs + Dependency *string `json:"dependency,omitempty"` + // highest exit code of all job steps + DerivedExitCode *string `json:"derived_exit_code,omitempty"` + // time job is eligible for running + EligibleTime *int64 `json:"eligible_time,omitempty"` + // time of termination, actual or expected + EndTime *int64 `json:"end_time,omitempty"` + // comma separated list of excluded nodes + ExcludedNodes *string `json:"excluded_nodes,omitempty"` + // exit code for job + ExitCode *int32 `json:"exit_code,omitempty"` + // comma separated list of required features + Features *string `json:"features,omitempty"` + // Origin cluster's name + FederationOrigin *string `json:"federation_origin,omitempty"` + // string of active sibling names + FederationSiblingsActive *string `json:"federation_siblings_active,omitempty"` + // string of viable sibling names + FederationSiblingsViable *string `json:"federation_siblings_viable,omitempty"` + // Job flags + GresDetail *[]string `json:"gres_detail,omitempty"` + // group job submitted as + GroupId *string `json:"group_id,omitempty"` + // job ID + JobId *string `json:"job_id,omitempty"` + JobResources *V0036JobResources `json:"job_resources,omitempty"` + // state of the job + JobState *string `json:"job_state,omitempty"` + // last time job was evaluated for scheduling + LastSchedEvaluation *string `json:"last_sched_evaluation,omitempty"` + // licenses required by the job + Licenses *string `json:"licenses,omitempty"` + // maximum number of cpus usable by job + MaxCpus *string `json:"max_cpus,omitempty"` + // maximum number of nodes usable by job + MaxNodes *string `json:"max_nodes,omitempty"` + // mcs_label if mcs plugin in use + McsLabel *string `json:"mcs_label,omitempty"` + // semicolon delimited list of TRES=# values + MemoryPerTres *string `json:"memory_per_tres,omitempty"` + // name of the job + Name *string `json:"name,omitempty"` + // list of nodes allocated to job + Nodes *string `json:"nodes,omitempty"` + // requested priority change + Nice *string `json:"nice,omitempty"` + // number of tasks to invoke on each core + TasksPerCore *string `json:"tasks_per_core,omitempty"` + // number of tasks to invoke on each socket + TasksPerSocket *string `json:"tasks_per_socket,omitempty"` + // number of tasks to invoke on each board + TasksPerBoard *string `json:"tasks_per_board,omitempty"` + // minimum number of cpus required by job + Cpus *string `json:"cpus,omitempty"` + // minimum number of nodes required by job + NodeCount *string `json:"node_count,omitempty"` + // requested task count + Tasks *string `json:"tasks,omitempty"` + // job ID of hetjob leader + HetJobId *string `json:"het_job_id,omitempty"` + // job IDs for all components + HetJobIdSet *string `json:"het_job_id_set,omitempty"` + // HetJob component offset from leader + HetJobOffset *string `json:"het_job_offset,omitempty"` + // name of assigned partition + Partition *string `json:"partition,omitempty"` + // minimum real memory per node + MemoryPerNode *string `json:"memory_per_node,omitempty"` + // minimum real memory per cpu + MemoryPerCpu *string `json:"memory_per_cpu,omitempty"` + // minimum # CPUs per node + MinimumCpusPerNode *string `json:"minimum_cpus_per_node,omitempty"` + // minimum tmp disk per node + MinimumTmpDiskPerNode *string `json:"minimum_tmp_disk_per_node,omitempty"` + // preemption signal time + PreemptTime *int64 `json:"preempt_time,omitempty"` + // time job ran prior to last suspend + PreSusTime *int64 `json:"pre_sus_time,omitempty"` + // relative priority of the job + Priority *string `json:"priority,omitempty"` + // Job profiling requested + Profile *[]string `json:"profile,omitempty"` + // Quality of Service + Qos *string `json:"qos,omitempty"` + // node reboot requested before start + Reboot *bool `json:"reboot,omitempty"` + // comma separated list of required nodes + RequiredNodes *string `json:"required_nodes,omitempty"` + // enable or disable job requeue option + Requeue *bool `json:"requeue,omitempty"` + // time of latest size change + ResizeTime *int64 `json:"resize_time,omitempty"` + // count of job restarts + RestartCnt *string `json:"restart_cnt,omitempty"` + // reservation name + ResvName *string `json:"resv_name,omitempty"` + // type and if job can share nodes with other jobs + Shared *string `json:"shared,omitempty"` + // details requested + ShowFlags *[]string `json:"show_flags,omitempty"` + // sockets per board required by job + SocketsPerBoard *string `json:"sockets_per_board,omitempty"` + // sockets per node required by job + SocketsPerNode *string `json:"sockets_per_node,omitempty"` + // time execution begins, actual or expected + StartTime *int64 `json:"start_time,omitempty"` + // optional details for state_reason + StateDescription *string `json:"state_description,omitempty"` + // reason job still pending or failed + StateReason *string `json:"state_reason,omitempty"` + // pathname of job's stderr file + StandardError *string `json:"standard_error,omitempty"` + // pathname of job's stdin file + StandardInput *string `json:"standard_input,omitempty"` + // pathname of job's stdout file + StandardOutput *string `json:"standard_output,omitempty"` + // time of job submission + SubmitTime *int64 `json:"submit_time,omitempty"` + // time job last suspended or resumed + SuspendTime *int64 `json:"suspend_time,omitempty"` + // slurmctld's arbitrary comment + SystemComment *string `json:"system_comment,omitempty"` + // maximum run time in minutes + TimeLimit *string `json:"time_limit,omitempty"` + // minimum run time in minutes + TimeMinimum *string `json:"time_minimum,omitempty"` + // threads per core required by job + ThreadsPerCore *string `json:"threads_per_core,omitempty"` + // Task to TRES binding directives + TresBind *string `json:"tres_bind,omitempty"` + // TRES frequency directives + TresFreq *string `json:"tres_freq,omitempty"` + // semicolon delimited list of TRES=# values + TresPerJob *string `json:"tres_per_job,omitempty"` + // semicolon delimited list of TRES=# values + TresPerNode *string `json:"tres_per_node,omitempty"` + // semicolon delimited list of TRES=# values + TresPerSocket *string `json:"tres_per_socket,omitempty"` + // semicolon delimited list of TRES=# values + TresPerTask *string `json:"tres_per_task,omitempty"` + // tres reqeusted in the job + TresReqStr *string `json:"tres_req_str,omitempty"` + // tres used in the job + TresAllocStr *string `json:"tres_alloc_str,omitempty"` + // user id the job runs as + UserId *string `json:"user_id,omitempty"` + // user the job runs as + UserName *string `json:"user_name,omitempty"` + // wckey for job + Wckey *string `json:"wckey,omitempty"` + // pathname of working directory + CurrentWorkingDirectory *string `json:"current_working_directory,omitempty"` +} + +// NewV0036JobResponseProperties instantiates a new V0036JobResponseProperties 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 +func NewV0036JobResponseProperties() *V0036JobResponseProperties { + this := V0036JobResponseProperties{} + return &this +} + +// NewV0036JobResponsePropertiesWithDefaults instantiates a new V0036JobResponseProperties 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 +func NewV0036JobResponsePropertiesWithDefaults() *V0036JobResponseProperties { + this := V0036JobResponseProperties{} + return &this +} + +// GetAccount returns the Account field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetAccount() string { + if o == nil || o.Account == nil { + var ret string + return ret + } + return *o.Account +} + +// GetAccountOk returns a tuple with the Account field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetAccountOk() (*string, bool) { + if o == nil || o.Account == nil { + return nil, false + } + return o.Account, true +} + +// HasAccount returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasAccount() bool { + if o != nil && o.Account != nil { + return true + } + + return false +} + +// SetAccount gets a reference to the given string and assigns it to the Account field. +func (o *V0036JobResponseProperties) SetAccount(v string) { + o.Account = &v +} + +// GetAccrueTime returns the AccrueTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetAccrueTime() int64 { + if o == nil || o.AccrueTime == nil { + var ret int64 + return ret + } + return *o.AccrueTime +} + +// GetAccrueTimeOk returns a tuple with the AccrueTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetAccrueTimeOk() (*int64, bool) { + if o == nil || o.AccrueTime == nil { + return nil, false + } + return o.AccrueTime, true +} + +// HasAccrueTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasAccrueTime() bool { + if o != nil && o.AccrueTime != nil { + return true + } + + return false +} + +// SetAccrueTime gets a reference to the given int64 and assigns it to the AccrueTime field. +func (o *V0036JobResponseProperties) SetAccrueTime(v int64) { + o.AccrueTime = &v +} + +// GetAdminComment returns the AdminComment field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetAdminComment() string { + if o == nil || o.AdminComment == nil { + var ret string + return ret + } + return *o.AdminComment +} + +// GetAdminCommentOk returns a tuple with the AdminComment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetAdminCommentOk() (*string, bool) { + if o == nil || o.AdminComment == nil { + return nil, false + } + return o.AdminComment, true +} + +// HasAdminComment returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasAdminComment() bool { + if o != nil && o.AdminComment != nil { + return true + } + + return false +} + +// SetAdminComment gets a reference to the given string and assigns it to the AdminComment field. +func (o *V0036JobResponseProperties) SetAdminComment(v string) { + o.AdminComment = &v +} + +// GetArrayJobId returns the ArrayJobId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetArrayJobId() string { + if o == nil || o.ArrayJobId == nil { + var ret string + return ret + } + return *o.ArrayJobId +} + +// GetArrayJobIdOk returns a tuple with the ArrayJobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetArrayJobIdOk() (*string, bool) { + if o == nil || o.ArrayJobId == nil { + return nil, false + } + return o.ArrayJobId, true +} + +// HasArrayJobId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasArrayJobId() bool { + if o != nil && o.ArrayJobId != nil { + return true + } + + return false +} + +// SetArrayJobId gets a reference to the given string and assigns it to the ArrayJobId field. +func (o *V0036JobResponseProperties) SetArrayJobId(v string) { + o.ArrayJobId = &v +} + +// GetArrayTaskId returns the ArrayTaskId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetArrayTaskId() string { + if o == nil || o.ArrayTaskId == nil { + var ret string + return ret + } + return *o.ArrayTaskId +} + +// GetArrayTaskIdOk returns a tuple with the ArrayTaskId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetArrayTaskIdOk() (*string, bool) { + if o == nil || o.ArrayTaskId == nil { + return nil, false + } + return o.ArrayTaskId, true +} + +// HasArrayTaskId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasArrayTaskId() bool { + if o != nil && o.ArrayTaskId != nil { + return true + } + + return false +} + +// SetArrayTaskId gets a reference to the given string and assigns it to the ArrayTaskId field. +func (o *V0036JobResponseProperties) SetArrayTaskId(v string) { + o.ArrayTaskId = &v +} + +// GetArrayMaxTasks returns the ArrayMaxTasks field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetArrayMaxTasks() string { + if o == nil || o.ArrayMaxTasks == nil { + var ret string + return ret + } + return *o.ArrayMaxTasks +} + +// GetArrayMaxTasksOk returns a tuple with the ArrayMaxTasks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetArrayMaxTasksOk() (*string, bool) { + if o == nil || o.ArrayMaxTasks == nil { + return nil, false + } + return o.ArrayMaxTasks, true +} + +// HasArrayMaxTasks returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasArrayMaxTasks() bool { + if o != nil && o.ArrayMaxTasks != nil { + return true + } + + return false +} + +// SetArrayMaxTasks gets a reference to the given string and assigns it to the ArrayMaxTasks field. +func (o *V0036JobResponseProperties) SetArrayMaxTasks(v string) { + o.ArrayMaxTasks = &v +} + +// GetArrayTaskString returns the ArrayTaskString field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetArrayTaskString() string { + if o == nil || o.ArrayTaskString == nil { + var ret string + return ret + } + return *o.ArrayTaskString +} + +// GetArrayTaskStringOk returns a tuple with the ArrayTaskString field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetArrayTaskStringOk() (*string, bool) { + if o == nil || o.ArrayTaskString == nil { + return nil, false + } + return o.ArrayTaskString, true +} + +// HasArrayTaskString returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasArrayTaskString() bool { + if o != nil && o.ArrayTaskString != nil { + return true + } + + return false +} + +// SetArrayTaskString gets a reference to the given string and assigns it to the ArrayTaskString field. +func (o *V0036JobResponseProperties) SetArrayTaskString(v string) { + o.ArrayTaskString = &v +} + +// GetAssociationId returns the AssociationId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetAssociationId() string { + if o == nil || o.AssociationId == nil { + var ret string + return ret + } + return *o.AssociationId +} + +// GetAssociationIdOk returns a tuple with the AssociationId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetAssociationIdOk() (*string, bool) { + if o == nil || o.AssociationId == nil { + return nil, false + } + return o.AssociationId, true +} + +// HasAssociationId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasAssociationId() bool { + if o != nil && o.AssociationId != nil { + return true + } + + return false +} + +// SetAssociationId gets a reference to the given string and assigns it to the AssociationId field. +func (o *V0036JobResponseProperties) SetAssociationId(v string) { + o.AssociationId = &v +} + +// GetBatchFeatures returns the BatchFeatures field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBatchFeatures() string { + if o == nil || o.BatchFeatures == nil { + var ret string + return ret + } + return *o.BatchFeatures +} + +// GetBatchFeaturesOk returns a tuple with the BatchFeatures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBatchFeaturesOk() (*string, bool) { + if o == nil || o.BatchFeatures == nil { + return nil, false + } + return o.BatchFeatures, true +} + +// HasBatchFeatures returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBatchFeatures() bool { + if o != nil && o.BatchFeatures != nil { + return true + } + + return false +} + +// SetBatchFeatures gets a reference to the given string and assigns it to the BatchFeatures field. +func (o *V0036JobResponseProperties) SetBatchFeatures(v string) { + o.BatchFeatures = &v +} + +// GetBatchFlag returns the BatchFlag field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBatchFlag() bool { + if o == nil || o.BatchFlag == nil { + var ret bool + return ret + } + return *o.BatchFlag +} + +// GetBatchFlagOk returns a tuple with the BatchFlag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBatchFlagOk() (*bool, bool) { + if o == nil || o.BatchFlag == nil { + return nil, false + } + return o.BatchFlag, true +} + +// HasBatchFlag returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBatchFlag() bool { + if o != nil && o.BatchFlag != nil { + return true + } + + return false +} + +// SetBatchFlag gets a reference to the given bool and assigns it to the BatchFlag field. +func (o *V0036JobResponseProperties) SetBatchFlag(v bool) { + o.BatchFlag = &v +} + +// GetBatchHost returns the BatchHost field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBatchHost() string { + if o == nil || o.BatchHost == nil { + var ret string + return ret + } + return *o.BatchHost +} + +// GetBatchHostOk returns a tuple with the BatchHost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBatchHostOk() (*string, bool) { + if o == nil || o.BatchHost == nil { + return nil, false + } + return o.BatchHost, true +} + +// HasBatchHost returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBatchHost() bool { + if o != nil && o.BatchHost != nil { + return true + } + + return false +} + +// SetBatchHost gets a reference to the given string and assigns it to the BatchHost field. +func (o *V0036JobResponseProperties) SetBatchHost(v string) { + o.BatchHost = &v +} + +// GetFlags returns the Flags field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetFlags() []string { + if o == nil || o.Flags == nil { + var ret []string + return ret + } + return *o.Flags +} + +// GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetFlagsOk() (*[]string, bool) { + if o == nil || o.Flags == nil { + return nil, false + } + return o.Flags, true +} + +// HasFlags returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasFlags() bool { + if o != nil && o.Flags != nil { + return true + } + + return false +} + +// SetFlags gets a reference to the given []string and assigns it to the Flags field. +func (o *V0036JobResponseProperties) SetFlags(v []string) { + o.Flags = &v +} + +// GetBurstBuffer returns the BurstBuffer field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBurstBuffer() string { + if o == nil || o.BurstBuffer == nil { + var ret string + return ret + } + return *o.BurstBuffer +} + +// GetBurstBufferOk returns a tuple with the BurstBuffer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBurstBufferOk() (*string, bool) { + if o == nil || o.BurstBuffer == nil { + return nil, false + } + return o.BurstBuffer, true +} + +// HasBurstBuffer returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBurstBuffer() bool { + if o != nil && o.BurstBuffer != nil { + return true + } + + return false +} + +// SetBurstBuffer gets a reference to the given string and assigns it to the BurstBuffer field. +func (o *V0036JobResponseProperties) SetBurstBuffer(v string) { + o.BurstBuffer = &v +} + +// GetBurstBufferState returns the BurstBufferState field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBurstBufferState() string { + if o == nil || o.BurstBufferState == nil { + var ret string + return ret + } + return *o.BurstBufferState +} + +// GetBurstBufferStateOk returns a tuple with the BurstBufferState field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBurstBufferStateOk() (*string, bool) { + if o == nil || o.BurstBufferState == nil { + return nil, false + } + return o.BurstBufferState, true +} + +// HasBurstBufferState returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBurstBufferState() bool { + if o != nil && o.BurstBufferState != nil { + return true + } + + return false +} + +// SetBurstBufferState gets a reference to the given string and assigns it to the BurstBufferState field. +func (o *V0036JobResponseProperties) SetBurstBufferState(v string) { + o.BurstBufferState = &v +} + +// GetCluster returns the Cluster field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCluster() string { + if o == nil || o.Cluster == nil { + var ret string + return ret + } + return *o.Cluster +} + +// GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetClusterOk() (*string, bool) { + if o == nil || o.Cluster == nil { + return nil, false + } + return o.Cluster, true +} + +// HasCluster returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCluster() bool { + if o != nil && o.Cluster != nil { + return true + } + + return false +} + +// SetCluster gets a reference to the given string and assigns it to the Cluster field. +func (o *V0036JobResponseProperties) SetCluster(v string) { + o.Cluster = &v +} + +// GetClusterFeatures returns the ClusterFeatures field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetClusterFeatures() string { + if o == nil || o.ClusterFeatures == nil { + var ret string + return ret + } + return *o.ClusterFeatures +} + +// GetClusterFeaturesOk returns a tuple with the ClusterFeatures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetClusterFeaturesOk() (*string, bool) { + if o == nil || o.ClusterFeatures == nil { + return nil, false + } + return o.ClusterFeatures, true +} + +// HasClusterFeatures returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasClusterFeatures() bool { + if o != nil && o.ClusterFeatures != nil { + return true + } + + return false +} + +// SetClusterFeatures gets a reference to the given string and assigns it to the ClusterFeatures field. +func (o *V0036JobResponseProperties) SetClusterFeatures(v string) { + o.ClusterFeatures = &v +} + +// GetCommand returns the Command field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCommand() string { + if o == nil || o.Command == nil { + var ret string + return ret + } + return *o.Command +} + +// GetCommandOk returns a tuple with the Command field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCommandOk() (*string, bool) { + if o == nil || o.Command == nil { + return nil, false + } + return o.Command, true +} + +// HasCommand returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCommand() bool { + if o != nil && o.Command != nil { + return true + } + + return false +} + +// SetCommand gets a reference to the given string and assigns it to the Command field. +func (o *V0036JobResponseProperties) SetCommand(v string) { + o.Command = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetComment() string { + if o == nil || o.Comment == nil { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCommentOk() (*string, bool) { + if o == nil || o.Comment == nil { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasComment() bool { + if o != nil && o.Comment != nil { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *V0036JobResponseProperties) SetComment(v string) { + o.Comment = &v +} + +// GetContiguous returns the Contiguous field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetContiguous() bool { + if o == nil || o.Contiguous == nil { + var ret bool + return ret + } + return *o.Contiguous +} + +// GetContiguousOk returns a tuple with the Contiguous field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetContiguousOk() (*bool, bool) { + if o == nil || o.Contiguous == nil { + return nil, false + } + return o.Contiguous, true +} + +// HasContiguous returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasContiguous() bool { + if o != nil && o.Contiguous != nil { + return true + } + + return false +} + +// SetContiguous gets a reference to the given bool and assigns it to the Contiguous field. +func (o *V0036JobResponseProperties) SetContiguous(v bool) { + o.Contiguous = &v +} + +// GetCoreSpec returns the CoreSpec field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCoreSpec() string { + if o == nil || o.CoreSpec == nil { + var ret string + return ret + } + return *o.CoreSpec +} + +// GetCoreSpecOk returns a tuple with the CoreSpec field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCoreSpecOk() (*string, bool) { + if o == nil || o.CoreSpec == nil { + return nil, false + } + return o.CoreSpec, true +} + +// HasCoreSpec returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCoreSpec() bool { + if o != nil && o.CoreSpec != nil { + return true + } + + return false +} + +// SetCoreSpec gets a reference to the given string and assigns it to the CoreSpec field. +func (o *V0036JobResponseProperties) SetCoreSpec(v string) { + o.CoreSpec = &v +} + +// GetThreadSpec returns the ThreadSpec field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetThreadSpec() string { + if o == nil || o.ThreadSpec == nil { + var ret string + return ret + } + return *o.ThreadSpec +} + +// GetThreadSpecOk returns a tuple with the ThreadSpec field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetThreadSpecOk() (*string, bool) { + if o == nil || o.ThreadSpec == nil { + return nil, false + } + return o.ThreadSpec, true +} + +// HasThreadSpec returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasThreadSpec() bool { + if o != nil && o.ThreadSpec != nil { + return true + } + + return false +} + +// SetThreadSpec gets a reference to the given string and assigns it to the ThreadSpec field. +func (o *V0036JobResponseProperties) SetThreadSpec(v string) { + o.ThreadSpec = &v +} + +// GetCoresPerSocket returns the CoresPerSocket field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCoresPerSocket() string { + if o == nil || o.CoresPerSocket == nil { + var ret string + return ret + } + return *o.CoresPerSocket +} + +// GetCoresPerSocketOk returns a tuple with the CoresPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCoresPerSocketOk() (*string, bool) { + if o == nil || o.CoresPerSocket == nil { + return nil, false + } + return o.CoresPerSocket, true +} + +// HasCoresPerSocket returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCoresPerSocket() bool { + if o != nil && o.CoresPerSocket != nil { + return true + } + + return false +} + +// SetCoresPerSocket gets a reference to the given string and assigns it to the CoresPerSocket field. +func (o *V0036JobResponseProperties) SetCoresPerSocket(v string) { + o.CoresPerSocket = &v +} + +// GetBillableTres returns the BillableTres field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetBillableTres() string { + if o == nil || o.BillableTres == nil { + var ret string + return ret + } + return *o.BillableTres +} + +// GetBillableTresOk returns a tuple with the BillableTres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetBillableTresOk() (*string, bool) { + if o == nil || o.BillableTres == nil { + return nil, false + } + return o.BillableTres, true +} + +// HasBillableTres returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasBillableTres() bool { + if o != nil && o.BillableTres != nil { + return true + } + + return false +} + +// SetBillableTres gets a reference to the given string and assigns it to the BillableTres field. +func (o *V0036JobResponseProperties) SetBillableTres(v string) { + o.BillableTres = &v +} + +// GetCpusPerTask returns the CpusPerTask field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpusPerTask() string { + if o == nil || o.CpusPerTask == nil { + var ret string + return ret + } + return *o.CpusPerTask +} + +// GetCpusPerTaskOk returns a tuple with the CpusPerTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpusPerTaskOk() (*string, bool) { + if o == nil || o.CpusPerTask == nil { + return nil, false + } + return o.CpusPerTask, true +} + +// HasCpusPerTask returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpusPerTask() bool { + if o != nil && o.CpusPerTask != nil { + return true + } + + return false +} + +// SetCpusPerTask gets a reference to the given string and assigns it to the CpusPerTask field. +func (o *V0036JobResponseProperties) SetCpusPerTask(v string) { + o.CpusPerTask = &v +} + +// GetCpuFrequencyMinimum returns the CpuFrequencyMinimum field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpuFrequencyMinimum() string { + if o == nil || o.CpuFrequencyMinimum == nil { + var ret string + return ret + } + return *o.CpuFrequencyMinimum +} + +// GetCpuFrequencyMinimumOk returns a tuple with the CpuFrequencyMinimum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpuFrequencyMinimumOk() (*string, bool) { + if o == nil || o.CpuFrequencyMinimum == nil { + return nil, false + } + return o.CpuFrequencyMinimum, true +} + +// HasCpuFrequencyMinimum returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpuFrequencyMinimum() bool { + if o != nil && o.CpuFrequencyMinimum != nil { + return true + } + + return false +} + +// SetCpuFrequencyMinimum gets a reference to the given string and assigns it to the CpuFrequencyMinimum field. +func (o *V0036JobResponseProperties) SetCpuFrequencyMinimum(v string) { + o.CpuFrequencyMinimum = &v +} + +// GetCpuFrequencyMaximum returns the CpuFrequencyMaximum field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpuFrequencyMaximum() string { + if o == nil || o.CpuFrequencyMaximum == nil { + var ret string + return ret + } + return *o.CpuFrequencyMaximum +} + +// GetCpuFrequencyMaximumOk returns a tuple with the CpuFrequencyMaximum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpuFrequencyMaximumOk() (*string, bool) { + if o == nil || o.CpuFrequencyMaximum == nil { + return nil, false + } + return o.CpuFrequencyMaximum, true +} + +// HasCpuFrequencyMaximum returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpuFrequencyMaximum() bool { + if o != nil && o.CpuFrequencyMaximum != nil { + return true + } + + return false +} + +// SetCpuFrequencyMaximum gets a reference to the given string and assigns it to the CpuFrequencyMaximum field. +func (o *V0036JobResponseProperties) SetCpuFrequencyMaximum(v string) { + o.CpuFrequencyMaximum = &v +} + +// GetCpuFrequencyGovernor returns the CpuFrequencyGovernor field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpuFrequencyGovernor() string { + if o == nil || o.CpuFrequencyGovernor == nil { + var ret string + return ret + } + return *o.CpuFrequencyGovernor +} + +// GetCpuFrequencyGovernorOk returns a tuple with the CpuFrequencyGovernor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpuFrequencyGovernorOk() (*string, bool) { + if o == nil || o.CpuFrequencyGovernor == nil { + return nil, false + } + return o.CpuFrequencyGovernor, true +} + +// HasCpuFrequencyGovernor returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpuFrequencyGovernor() bool { + if o != nil && o.CpuFrequencyGovernor != nil { + return true + } + + return false +} + +// SetCpuFrequencyGovernor gets a reference to the given string and assigns it to the CpuFrequencyGovernor field. +func (o *V0036JobResponseProperties) SetCpuFrequencyGovernor(v string) { + o.CpuFrequencyGovernor = &v +} + +// GetCpusPerTres returns the CpusPerTres field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpusPerTres() string { + if o == nil || o.CpusPerTres == nil { + var ret string + return ret + } + return *o.CpusPerTres +} + +// GetCpusPerTresOk returns a tuple with the CpusPerTres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpusPerTresOk() (*string, bool) { + if o == nil || o.CpusPerTres == nil { + return nil, false + } + return o.CpusPerTres, true +} + +// HasCpusPerTres returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpusPerTres() bool { + if o != nil && o.CpusPerTres != nil { + return true + } + + return false +} + +// SetCpusPerTres gets a reference to the given string and assigns it to the CpusPerTres field. +func (o *V0036JobResponseProperties) SetCpusPerTres(v string) { + o.CpusPerTres = &v +} + +// GetDeadline returns the Deadline field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetDeadline() string { + if o == nil || o.Deadline == nil { + var ret string + return ret + } + return *o.Deadline +} + +// GetDeadlineOk returns a tuple with the Deadline field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetDeadlineOk() (*string, bool) { + if o == nil || o.Deadline == nil { + return nil, false + } + return o.Deadline, true +} + +// HasDeadline returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasDeadline() bool { + if o != nil && o.Deadline != nil { + return true + } + + return false +} + +// SetDeadline gets a reference to the given string and assigns it to the Deadline field. +func (o *V0036JobResponseProperties) SetDeadline(v string) { + o.Deadline = &v +} + +// GetDelayBoot returns the DelayBoot field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetDelayBoot() string { + if o == nil || o.DelayBoot == nil { + var ret string + return ret + } + return *o.DelayBoot +} + +// GetDelayBootOk returns a tuple with the DelayBoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetDelayBootOk() (*string, bool) { + if o == nil || o.DelayBoot == nil { + return nil, false + } + return o.DelayBoot, true +} + +// HasDelayBoot returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasDelayBoot() bool { + if o != nil && o.DelayBoot != nil { + return true + } + + return false +} + +// SetDelayBoot gets a reference to the given string and assigns it to the DelayBoot field. +func (o *V0036JobResponseProperties) SetDelayBoot(v string) { + o.DelayBoot = &v +} + +// GetDependency returns the Dependency field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetDependency() string { + if o == nil || o.Dependency == nil { + var ret string + return ret + } + return *o.Dependency +} + +// GetDependencyOk returns a tuple with the Dependency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetDependencyOk() (*string, bool) { + if o == nil || o.Dependency == nil { + return nil, false + } + return o.Dependency, true +} + +// HasDependency returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasDependency() bool { + if o != nil && o.Dependency != nil { + return true + } + + return false +} + +// SetDependency gets a reference to the given string and assigns it to the Dependency field. +func (o *V0036JobResponseProperties) SetDependency(v string) { + o.Dependency = &v +} + +// GetDerivedExitCode returns the DerivedExitCode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetDerivedExitCode() string { + if o == nil || o.DerivedExitCode == nil { + var ret string + return ret + } + return *o.DerivedExitCode +} + +// GetDerivedExitCodeOk returns a tuple with the DerivedExitCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetDerivedExitCodeOk() (*string, bool) { + if o == nil || o.DerivedExitCode == nil { + return nil, false + } + return o.DerivedExitCode, true +} + +// HasDerivedExitCode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasDerivedExitCode() bool { + if o != nil && o.DerivedExitCode != nil { + return true + } + + return false +} + +// SetDerivedExitCode gets a reference to the given string and assigns it to the DerivedExitCode field. +func (o *V0036JobResponseProperties) SetDerivedExitCode(v string) { + o.DerivedExitCode = &v +} + +// GetEligibleTime returns the EligibleTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetEligibleTime() int64 { + if o == nil || o.EligibleTime == nil { + var ret int64 + return ret + } + return *o.EligibleTime +} + +// GetEligibleTimeOk returns a tuple with the EligibleTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetEligibleTimeOk() (*int64, bool) { + if o == nil || o.EligibleTime == nil { + return nil, false + } + return o.EligibleTime, true +} + +// HasEligibleTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasEligibleTime() bool { + if o != nil && o.EligibleTime != nil { + return true + } + + return false +} + +// SetEligibleTime gets a reference to the given int64 and assigns it to the EligibleTime field. +func (o *V0036JobResponseProperties) SetEligibleTime(v int64) { + o.EligibleTime = &v +} + +// GetEndTime returns the EndTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetEndTime() int64 { + if o == nil || o.EndTime == nil { + var ret int64 + return ret + } + return *o.EndTime +} + +// GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetEndTimeOk() (*int64, bool) { + if o == nil || o.EndTime == nil { + return nil, false + } + return o.EndTime, true +} + +// HasEndTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasEndTime() bool { + if o != nil && o.EndTime != nil { + return true + } + + return false +} + +// SetEndTime gets a reference to the given int64 and assigns it to the EndTime field. +func (o *V0036JobResponseProperties) SetEndTime(v int64) { + o.EndTime = &v +} + +// GetExcludedNodes returns the ExcludedNodes field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetExcludedNodes() string { + if o == nil || o.ExcludedNodes == nil { + var ret string + return ret + } + return *o.ExcludedNodes +} + +// GetExcludedNodesOk returns a tuple with the ExcludedNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetExcludedNodesOk() (*string, bool) { + if o == nil || o.ExcludedNodes == nil { + return nil, false + } + return o.ExcludedNodes, true +} + +// HasExcludedNodes returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasExcludedNodes() bool { + if o != nil && o.ExcludedNodes != nil { + return true + } + + return false +} + +// SetExcludedNodes gets a reference to the given string and assigns it to the ExcludedNodes field. +func (o *V0036JobResponseProperties) SetExcludedNodes(v string) { + o.ExcludedNodes = &v +} + +// GetExitCode returns the ExitCode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetExitCode() int32 { + if o == nil || o.ExitCode == nil { + var ret int32 + return ret + } + return *o.ExitCode +} + +// GetExitCodeOk returns a tuple with the ExitCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetExitCodeOk() (*int32, bool) { + if o == nil || o.ExitCode == nil { + return nil, false + } + return o.ExitCode, true +} + +// HasExitCode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasExitCode() bool { + if o != nil && o.ExitCode != nil { + return true + } + + return false +} + +// SetExitCode gets a reference to the given int32 and assigns it to the ExitCode field. +func (o *V0036JobResponseProperties) SetExitCode(v int32) { + o.ExitCode = &v +} + +// GetFeatures returns the Features field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetFeatures() string { + if o == nil || o.Features == nil { + var ret string + return ret + } + return *o.Features +} + +// GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetFeaturesOk() (*string, bool) { + if o == nil || o.Features == nil { + return nil, false + } + return o.Features, true +} + +// HasFeatures returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasFeatures() bool { + if o != nil && o.Features != nil { + return true + } + + return false +} + +// SetFeatures gets a reference to the given string and assigns it to the Features field. +func (o *V0036JobResponseProperties) SetFeatures(v string) { + o.Features = &v +} + +// GetFederationOrigin returns the FederationOrigin field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetFederationOrigin() string { + if o == nil || o.FederationOrigin == nil { + var ret string + return ret + } + return *o.FederationOrigin +} + +// GetFederationOriginOk returns a tuple with the FederationOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetFederationOriginOk() (*string, bool) { + if o == nil || o.FederationOrigin == nil { + return nil, false + } + return o.FederationOrigin, true +} + +// HasFederationOrigin returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasFederationOrigin() bool { + if o != nil && o.FederationOrigin != nil { + return true + } + + return false +} + +// SetFederationOrigin gets a reference to the given string and assigns it to the FederationOrigin field. +func (o *V0036JobResponseProperties) SetFederationOrigin(v string) { + o.FederationOrigin = &v +} + +// GetFederationSiblingsActive returns the FederationSiblingsActive field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetFederationSiblingsActive() string { + if o == nil || o.FederationSiblingsActive == nil { + var ret string + return ret + } + return *o.FederationSiblingsActive +} + +// GetFederationSiblingsActiveOk returns a tuple with the FederationSiblingsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetFederationSiblingsActiveOk() (*string, bool) { + if o == nil || o.FederationSiblingsActive == nil { + return nil, false + } + return o.FederationSiblingsActive, true +} + +// HasFederationSiblingsActive returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasFederationSiblingsActive() bool { + if o != nil && o.FederationSiblingsActive != nil { + return true + } + + return false +} + +// SetFederationSiblingsActive gets a reference to the given string and assigns it to the FederationSiblingsActive field. +func (o *V0036JobResponseProperties) SetFederationSiblingsActive(v string) { + o.FederationSiblingsActive = &v +} + +// GetFederationSiblingsViable returns the FederationSiblingsViable field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetFederationSiblingsViable() string { + if o == nil || o.FederationSiblingsViable == nil { + var ret string + return ret + } + return *o.FederationSiblingsViable +} + +// GetFederationSiblingsViableOk returns a tuple with the FederationSiblingsViable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetFederationSiblingsViableOk() (*string, bool) { + if o == nil || o.FederationSiblingsViable == nil { + return nil, false + } + return o.FederationSiblingsViable, true +} + +// HasFederationSiblingsViable returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasFederationSiblingsViable() bool { + if o != nil && o.FederationSiblingsViable != nil { + return true + } + + return false +} + +// SetFederationSiblingsViable gets a reference to the given string and assigns it to the FederationSiblingsViable field. +func (o *V0036JobResponseProperties) SetFederationSiblingsViable(v string) { + o.FederationSiblingsViable = &v +} + +// GetGresDetail returns the GresDetail field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetGresDetail() []string { + if o == nil || o.GresDetail == nil { + var ret []string + return ret + } + return *o.GresDetail +} + +// GetGresDetailOk returns a tuple with the GresDetail field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetGresDetailOk() (*[]string, bool) { + if o == nil || o.GresDetail == nil { + return nil, false + } + return o.GresDetail, true +} + +// HasGresDetail returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasGresDetail() bool { + if o != nil && o.GresDetail != nil { + return true + } + + return false +} + +// SetGresDetail gets a reference to the given []string and assigns it to the GresDetail field. +func (o *V0036JobResponseProperties) SetGresDetail(v []string) { + o.GresDetail = &v +} + +// GetGroupId returns the GroupId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetGroupId() string { + if o == nil || o.GroupId == nil { + var ret string + return ret + } + return *o.GroupId +} + +// GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetGroupIdOk() (*string, bool) { + if o == nil || o.GroupId == nil { + return nil, false + } + return o.GroupId, true +} + +// HasGroupId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasGroupId() bool { + if o != nil && o.GroupId != nil { + return true + } + + return false +} + +// SetGroupId gets a reference to the given string and assigns it to the GroupId field. +func (o *V0036JobResponseProperties) SetGroupId(v string) { + o.GroupId = &v +} + +// GetJobId returns the JobId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetJobId() string { + if o == nil || o.JobId == nil { + var ret string + return ret + } + return *o.JobId +} + +// GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetJobIdOk() (*string, bool) { + if o == nil || o.JobId == nil { + return nil, false + } + return o.JobId, true +} + +// HasJobId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasJobId() bool { + if o != nil && o.JobId != nil { + return true + } + + return false +} + +// SetJobId gets a reference to the given string and assigns it to the JobId field. +func (o *V0036JobResponseProperties) SetJobId(v string) { + o.JobId = &v +} + +// GetJobResources returns the JobResources field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetJobResources() V0036JobResources { + if o == nil || o.JobResources == nil { + var ret V0036JobResources + return ret + } + return *o.JobResources +} + +// GetJobResourcesOk returns a tuple with the JobResources field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetJobResourcesOk() (*V0036JobResources, bool) { + if o == nil || o.JobResources == nil { + return nil, false + } + return o.JobResources, true +} + +// HasJobResources returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasJobResources() bool { + if o != nil && o.JobResources != nil { + return true + } + + return false +} + +// SetJobResources gets a reference to the given V0036JobResources and assigns it to the JobResources field. +func (o *V0036JobResponseProperties) SetJobResources(v V0036JobResources) { + o.JobResources = &v +} + +// GetJobState returns the JobState field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetJobState() string { + if o == nil || o.JobState == nil { + var ret string + return ret + } + return *o.JobState +} + +// GetJobStateOk returns a tuple with the JobState field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetJobStateOk() (*string, bool) { + if o == nil || o.JobState == nil { + return nil, false + } + return o.JobState, true +} + +// HasJobState returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasJobState() bool { + if o != nil && o.JobState != nil { + return true + } + + return false +} + +// SetJobState gets a reference to the given string and assigns it to the JobState field. +func (o *V0036JobResponseProperties) SetJobState(v string) { + o.JobState = &v +} + +// GetLastSchedEvaluation returns the LastSchedEvaluation field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetLastSchedEvaluation() string { + if o == nil || o.LastSchedEvaluation == nil { + var ret string + return ret + } + return *o.LastSchedEvaluation +} + +// GetLastSchedEvaluationOk returns a tuple with the LastSchedEvaluation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetLastSchedEvaluationOk() (*string, bool) { + if o == nil || o.LastSchedEvaluation == nil { + return nil, false + } + return o.LastSchedEvaluation, true +} + +// HasLastSchedEvaluation returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasLastSchedEvaluation() bool { + if o != nil && o.LastSchedEvaluation != nil { + return true + } + + return false +} + +// SetLastSchedEvaluation gets a reference to the given string and assigns it to the LastSchedEvaluation field. +func (o *V0036JobResponseProperties) SetLastSchedEvaluation(v string) { + o.LastSchedEvaluation = &v +} + +// GetLicenses returns the Licenses field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetLicenses() string { + if o == nil || o.Licenses == nil { + var ret string + return ret + } + return *o.Licenses +} + +// GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetLicensesOk() (*string, bool) { + if o == nil || o.Licenses == nil { + return nil, false + } + return o.Licenses, true +} + +// HasLicenses returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasLicenses() bool { + if o != nil && o.Licenses != nil { + return true + } + + return false +} + +// SetLicenses gets a reference to the given string and assigns it to the Licenses field. +func (o *V0036JobResponseProperties) SetLicenses(v string) { + o.Licenses = &v +} + +// GetMaxCpus returns the MaxCpus field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMaxCpus() string { + if o == nil || o.MaxCpus == nil { + var ret string + return ret + } + return *o.MaxCpus +} + +// GetMaxCpusOk returns a tuple with the MaxCpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMaxCpusOk() (*string, bool) { + if o == nil || o.MaxCpus == nil { + return nil, false + } + return o.MaxCpus, true +} + +// HasMaxCpus returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMaxCpus() bool { + if o != nil && o.MaxCpus != nil { + return true + } + + return false +} + +// SetMaxCpus gets a reference to the given string and assigns it to the MaxCpus field. +func (o *V0036JobResponseProperties) SetMaxCpus(v string) { + o.MaxCpus = &v +} + +// GetMaxNodes returns the MaxNodes field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMaxNodes() string { + if o == nil || o.MaxNodes == nil { + var ret string + return ret + } + return *o.MaxNodes +} + +// GetMaxNodesOk returns a tuple with the MaxNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMaxNodesOk() (*string, bool) { + if o == nil || o.MaxNodes == nil { + return nil, false + } + return o.MaxNodes, true +} + +// HasMaxNodes returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMaxNodes() bool { + if o != nil && o.MaxNodes != nil { + return true + } + + return false +} + +// SetMaxNodes gets a reference to the given string and assigns it to the MaxNodes field. +func (o *V0036JobResponseProperties) SetMaxNodes(v string) { + o.MaxNodes = &v +} + +// GetMcsLabel returns the McsLabel field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMcsLabel() string { + if o == nil || o.McsLabel == nil { + var ret string + return ret + } + return *o.McsLabel +} + +// GetMcsLabelOk returns a tuple with the McsLabel field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMcsLabelOk() (*string, bool) { + if o == nil || o.McsLabel == nil { + return nil, false + } + return o.McsLabel, true +} + +// HasMcsLabel returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMcsLabel() bool { + if o != nil && o.McsLabel != nil { + return true + } + + return false +} + +// SetMcsLabel gets a reference to the given string and assigns it to the McsLabel field. +func (o *V0036JobResponseProperties) SetMcsLabel(v string) { + o.McsLabel = &v +} + +// GetMemoryPerTres returns the MemoryPerTres field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMemoryPerTres() string { + if o == nil || o.MemoryPerTres == nil { + var ret string + return ret + } + return *o.MemoryPerTres +} + +// GetMemoryPerTresOk returns a tuple with the MemoryPerTres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMemoryPerTresOk() (*string, bool) { + if o == nil || o.MemoryPerTres == nil { + return nil, false + } + return o.MemoryPerTres, true +} + +// HasMemoryPerTres returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMemoryPerTres() bool { + if o != nil && o.MemoryPerTres != nil { + return true + } + + return false +} + +// SetMemoryPerTres gets a reference to the given string and assigns it to the MemoryPerTres field. +func (o *V0036JobResponseProperties) SetMemoryPerTres(v string) { + o.MemoryPerTres = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetName() string { + if o == nil || o.Name == nil { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetNameOk() (*string, bool) { + if o == nil || o.Name == nil { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasName() bool { + if o != nil && o.Name != nil { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *V0036JobResponseProperties) SetName(v string) { + o.Name = &v +} + +// GetNodes returns the Nodes field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetNodes() string { + if o == nil || o.Nodes == nil { + var ret string + return ret + } + return *o.Nodes +} + +// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetNodesOk() (*string, bool) { + if o == nil || o.Nodes == nil { + return nil, false + } + return o.Nodes, true +} + +// HasNodes returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasNodes() bool { + if o != nil && o.Nodes != nil { + return true + } + + return false +} + +// SetNodes gets a reference to the given string and assigns it to the Nodes field. +func (o *V0036JobResponseProperties) SetNodes(v string) { + o.Nodes = &v +} + +// GetNice returns the Nice field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetNice() string { + if o == nil || o.Nice == nil { + var ret string + return ret + } + return *o.Nice +} + +// GetNiceOk returns a tuple with the Nice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetNiceOk() (*string, bool) { + if o == nil || o.Nice == nil { + return nil, false + } + return o.Nice, true +} + +// HasNice returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasNice() bool { + if o != nil && o.Nice != nil { + return true + } + + return false +} + +// SetNice gets a reference to the given string and assigns it to the Nice field. +func (o *V0036JobResponseProperties) SetNice(v string) { + o.Nice = &v +} + +// GetTasksPerCore returns the TasksPerCore field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTasksPerCore() string { + if o == nil || o.TasksPerCore == nil { + var ret string + return ret + } + return *o.TasksPerCore +} + +// GetTasksPerCoreOk returns a tuple with the TasksPerCore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTasksPerCoreOk() (*string, bool) { + if o == nil || o.TasksPerCore == nil { + return nil, false + } + return o.TasksPerCore, true +} + +// HasTasksPerCore returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTasksPerCore() bool { + if o != nil && o.TasksPerCore != nil { + return true + } + + return false +} + +// SetTasksPerCore gets a reference to the given string and assigns it to the TasksPerCore field. +func (o *V0036JobResponseProperties) SetTasksPerCore(v string) { + o.TasksPerCore = &v +} + +// GetTasksPerSocket returns the TasksPerSocket field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTasksPerSocket() string { + if o == nil || o.TasksPerSocket == nil { + var ret string + return ret + } + return *o.TasksPerSocket +} + +// GetTasksPerSocketOk returns a tuple with the TasksPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTasksPerSocketOk() (*string, bool) { + if o == nil || o.TasksPerSocket == nil { + return nil, false + } + return o.TasksPerSocket, true +} + +// HasTasksPerSocket returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTasksPerSocket() bool { + if o != nil && o.TasksPerSocket != nil { + return true + } + + return false +} + +// SetTasksPerSocket gets a reference to the given string and assigns it to the TasksPerSocket field. +func (o *V0036JobResponseProperties) SetTasksPerSocket(v string) { + o.TasksPerSocket = &v +} + +// GetTasksPerBoard returns the TasksPerBoard field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTasksPerBoard() string { + if o == nil || o.TasksPerBoard == nil { + var ret string + return ret + } + return *o.TasksPerBoard +} + +// GetTasksPerBoardOk returns a tuple with the TasksPerBoard field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTasksPerBoardOk() (*string, bool) { + if o == nil || o.TasksPerBoard == nil { + return nil, false + } + return o.TasksPerBoard, true +} + +// HasTasksPerBoard returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTasksPerBoard() bool { + if o != nil && o.TasksPerBoard != nil { + return true + } + + return false +} + +// SetTasksPerBoard gets a reference to the given string and assigns it to the TasksPerBoard field. +func (o *V0036JobResponseProperties) SetTasksPerBoard(v string) { + o.TasksPerBoard = &v +} + +// GetCpus returns the Cpus field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCpus() string { + if o == nil || o.Cpus == nil { + var ret string + return ret + } + return *o.Cpus +} + +// GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCpusOk() (*string, bool) { + if o == nil || o.Cpus == nil { + return nil, false + } + return o.Cpus, true +} + +// HasCpus returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCpus() bool { + if o != nil && o.Cpus != nil { + return true + } + + return false +} + +// SetCpus gets a reference to the given string and assigns it to the Cpus field. +func (o *V0036JobResponseProperties) SetCpus(v string) { + o.Cpus = &v +} + +// GetNodeCount returns the NodeCount field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetNodeCount() string { + if o == nil || o.NodeCount == nil { + var ret string + return ret + } + return *o.NodeCount +} + +// GetNodeCountOk returns a tuple with the NodeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetNodeCountOk() (*string, bool) { + if o == nil || o.NodeCount == nil { + return nil, false + } + return o.NodeCount, true +} + +// HasNodeCount returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasNodeCount() bool { + if o != nil && o.NodeCount != nil { + return true + } + + return false +} + +// SetNodeCount gets a reference to the given string and assigns it to the NodeCount field. +func (o *V0036JobResponseProperties) SetNodeCount(v string) { + o.NodeCount = &v +} + +// GetTasks returns the Tasks field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTasks() string { + if o == nil || o.Tasks == nil { + var ret string + return ret + } + return *o.Tasks +} + +// GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTasksOk() (*string, bool) { + if o == nil || o.Tasks == nil { + return nil, false + } + return o.Tasks, true +} + +// HasTasks returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTasks() bool { + if o != nil && o.Tasks != nil { + return true + } + + return false +} + +// SetTasks gets a reference to the given string and assigns it to the Tasks field. +func (o *V0036JobResponseProperties) SetTasks(v string) { + o.Tasks = &v +} + +// GetHetJobId returns the HetJobId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetHetJobId() string { + if o == nil || o.HetJobId == nil { + var ret string + return ret + } + return *o.HetJobId +} + +// GetHetJobIdOk returns a tuple with the HetJobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetHetJobIdOk() (*string, bool) { + if o == nil || o.HetJobId == nil { + return nil, false + } + return o.HetJobId, true +} + +// HasHetJobId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasHetJobId() bool { + if o != nil && o.HetJobId != nil { + return true + } + + return false +} + +// SetHetJobId gets a reference to the given string and assigns it to the HetJobId field. +func (o *V0036JobResponseProperties) SetHetJobId(v string) { + o.HetJobId = &v +} + +// GetHetJobIdSet returns the HetJobIdSet field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetHetJobIdSet() string { + if o == nil || o.HetJobIdSet == nil { + var ret string + return ret + } + return *o.HetJobIdSet +} + +// GetHetJobIdSetOk returns a tuple with the HetJobIdSet field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetHetJobIdSetOk() (*string, bool) { + if o == nil || o.HetJobIdSet == nil { + return nil, false + } + return o.HetJobIdSet, true +} + +// HasHetJobIdSet returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasHetJobIdSet() bool { + if o != nil && o.HetJobIdSet != nil { + return true + } + + return false +} + +// SetHetJobIdSet gets a reference to the given string and assigns it to the HetJobIdSet field. +func (o *V0036JobResponseProperties) SetHetJobIdSet(v string) { + o.HetJobIdSet = &v +} + +// GetHetJobOffset returns the HetJobOffset field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetHetJobOffset() string { + if o == nil || o.HetJobOffset == nil { + var ret string + return ret + } + return *o.HetJobOffset +} + +// GetHetJobOffsetOk returns a tuple with the HetJobOffset field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetHetJobOffsetOk() (*string, bool) { + if o == nil || o.HetJobOffset == nil { + return nil, false + } + return o.HetJobOffset, true +} + +// HasHetJobOffset returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasHetJobOffset() bool { + if o != nil && o.HetJobOffset != nil { + return true + } + + return false +} + +// SetHetJobOffset gets a reference to the given string and assigns it to the HetJobOffset field. +func (o *V0036JobResponseProperties) SetHetJobOffset(v string) { + o.HetJobOffset = &v +} + +// GetPartition returns the Partition field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetPartition() string { + if o == nil || o.Partition == nil { + var ret string + return ret + } + return *o.Partition +} + +// GetPartitionOk returns a tuple with the Partition field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetPartitionOk() (*string, bool) { + if o == nil || o.Partition == nil { + return nil, false + } + return o.Partition, true +} + +// HasPartition returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasPartition() bool { + if o != nil && o.Partition != nil { + return true + } + + return false +} + +// SetPartition gets a reference to the given string and assigns it to the Partition field. +func (o *V0036JobResponseProperties) SetPartition(v string) { + o.Partition = &v +} + +// GetMemoryPerNode returns the MemoryPerNode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMemoryPerNode() string { + if o == nil || o.MemoryPerNode == nil { + var ret string + return ret + } + return *o.MemoryPerNode +} + +// GetMemoryPerNodeOk returns a tuple with the MemoryPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMemoryPerNodeOk() (*string, bool) { + if o == nil || o.MemoryPerNode == nil { + return nil, false + } + return o.MemoryPerNode, true +} + +// HasMemoryPerNode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMemoryPerNode() bool { + if o != nil && o.MemoryPerNode != nil { + return true + } + + return false +} + +// SetMemoryPerNode gets a reference to the given string and assigns it to the MemoryPerNode field. +func (o *V0036JobResponseProperties) SetMemoryPerNode(v string) { + o.MemoryPerNode = &v +} + +// GetMemoryPerCpu returns the MemoryPerCpu field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMemoryPerCpu() string { + if o == nil || o.MemoryPerCpu == nil { + var ret string + return ret + } + return *o.MemoryPerCpu +} + +// GetMemoryPerCpuOk returns a tuple with the MemoryPerCpu field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMemoryPerCpuOk() (*string, bool) { + if o == nil || o.MemoryPerCpu == nil { + return nil, false + } + return o.MemoryPerCpu, true +} + +// HasMemoryPerCpu returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMemoryPerCpu() bool { + if o != nil && o.MemoryPerCpu != nil { + return true + } + + return false +} + +// SetMemoryPerCpu gets a reference to the given string and assigns it to the MemoryPerCpu field. +func (o *V0036JobResponseProperties) SetMemoryPerCpu(v string) { + o.MemoryPerCpu = &v +} + +// GetMinimumCpusPerNode returns the MinimumCpusPerNode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMinimumCpusPerNode() string { + if o == nil || o.MinimumCpusPerNode == nil { + var ret string + return ret + } + return *o.MinimumCpusPerNode +} + +// GetMinimumCpusPerNodeOk returns a tuple with the MinimumCpusPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMinimumCpusPerNodeOk() (*string, bool) { + if o == nil || o.MinimumCpusPerNode == nil { + return nil, false + } + return o.MinimumCpusPerNode, true +} + +// HasMinimumCpusPerNode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMinimumCpusPerNode() bool { + if o != nil && o.MinimumCpusPerNode != nil { + return true + } + + return false +} + +// SetMinimumCpusPerNode gets a reference to the given string and assigns it to the MinimumCpusPerNode field. +func (o *V0036JobResponseProperties) SetMinimumCpusPerNode(v string) { + o.MinimumCpusPerNode = &v +} + +// GetMinimumTmpDiskPerNode returns the MinimumTmpDiskPerNode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetMinimumTmpDiskPerNode() string { + if o == nil || o.MinimumTmpDiskPerNode == nil { + var ret string + return ret + } + return *o.MinimumTmpDiskPerNode +} + +// GetMinimumTmpDiskPerNodeOk returns a tuple with the MinimumTmpDiskPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetMinimumTmpDiskPerNodeOk() (*string, bool) { + if o == nil || o.MinimumTmpDiskPerNode == nil { + return nil, false + } + return o.MinimumTmpDiskPerNode, true +} + +// HasMinimumTmpDiskPerNode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasMinimumTmpDiskPerNode() bool { + if o != nil && o.MinimumTmpDiskPerNode != nil { + return true + } + + return false +} + +// SetMinimumTmpDiskPerNode gets a reference to the given string and assigns it to the MinimumTmpDiskPerNode field. +func (o *V0036JobResponseProperties) SetMinimumTmpDiskPerNode(v string) { + o.MinimumTmpDiskPerNode = &v +} + +// GetPreemptTime returns the PreemptTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetPreemptTime() int64 { + if o == nil || o.PreemptTime == nil { + var ret int64 + return ret + } + return *o.PreemptTime +} + +// GetPreemptTimeOk returns a tuple with the PreemptTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetPreemptTimeOk() (*int64, bool) { + if o == nil || o.PreemptTime == nil { + return nil, false + } + return o.PreemptTime, true +} + +// HasPreemptTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasPreemptTime() bool { + if o != nil && o.PreemptTime != nil { + return true + } + + return false +} + +// SetPreemptTime gets a reference to the given int64 and assigns it to the PreemptTime field. +func (o *V0036JobResponseProperties) SetPreemptTime(v int64) { + o.PreemptTime = &v +} + +// GetPreSusTime returns the PreSusTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetPreSusTime() int64 { + if o == nil || o.PreSusTime == nil { + var ret int64 + return ret + } + return *o.PreSusTime +} + +// GetPreSusTimeOk returns a tuple with the PreSusTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetPreSusTimeOk() (*int64, bool) { + if o == nil || o.PreSusTime == nil { + return nil, false + } + return o.PreSusTime, true +} + +// HasPreSusTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasPreSusTime() bool { + if o != nil && o.PreSusTime != nil { + return true + } + + return false +} + +// SetPreSusTime gets a reference to the given int64 and assigns it to the PreSusTime field. +func (o *V0036JobResponseProperties) SetPreSusTime(v int64) { + o.PreSusTime = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetPriority() string { + if o == nil || o.Priority == nil { + var ret string + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetPriorityOk() (*string, bool) { + if o == nil || o.Priority == nil { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasPriority() bool { + if o != nil && o.Priority != nil { + return true + } + + return false +} + +// SetPriority gets a reference to the given string and assigns it to the Priority field. +func (o *V0036JobResponseProperties) SetPriority(v string) { + o.Priority = &v +} + +// GetProfile returns the Profile field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetProfile() []string { + if o == nil || o.Profile == nil { + var ret []string + return ret + } + return *o.Profile +} + +// GetProfileOk returns a tuple with the Profile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetProfileOk() (*[]string, bool) { + if o == nil || o.Profile == nil { + return nil, false + } + return o.Profile, true +} + +// HasProfile returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasProfile() bool { + if o != nil && o.Profile != nil { + return true + } + + return false +} + +// SetProfile gets a reference to the given []string and assigns it to the Profile field. +func (o *V0036JobResponseProperties) SetProfile(v []string) { + o.Profile = &v +} + +// GetQos returns the Qos field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetQos() string { + if o == nil || o.Qos == nil { + var ret string + return ret + } + return *o.Qos +} + +// GetQosOk returns a tuple with the Qos field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetQosOk() (*string, bool) { + if o == nil || o.Qos == nil { + return nil, false + } + return o.Qos, true +} + +// HasQos returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasQos() bool { + if o != nil && o.Qos != nil { + return true + } + + return false +} + +// SetQos gets a reference to the given string and assigns it to the Qos field. +func (o *V0036JobResponseProperties) SetQos(v string) { + o.Qos = &v +} + +// GetReboot returns the Reboot field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetReboot() bool { + if o == nil || o.Reboot == nil { + var ret bool + return ret + } + return *o.Reboot +} + +// GetRebootOk returns a tuple with the Reboot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetRebootOk() (*bool, bool) { + if o == nil || o.Reboot == nil { + return nil, false + } + return o.Reboot, true +} + +// HasReboot returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasReboot() bool { + if o != nil && o.Reboot != nil { + return true + } + + return false +} + +// SetReboot gets a reference to the given bool and assigns it to the Reboot field. +func (o *V0036JobResponseProperties) SetReboot(v bool) { + o.Reboot = &v +} + +// GetRequiredNodes returns the RequiredNodes field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetRequiredNodes() string { + if o == nil || o.RequiredNodes == nil { + var ret string + return ret + } + return *o.RequiredNodes +} + +// GetRequiredNodesOk returns a tuple with the RequiredNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetRequiredNodesOk() (*string, bool) { + if o == nil || o.RequiredNodes == nil { + return nil, false + } + return o.RequiredNodes, true +} + +// HasRequiredNodes returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasRequiredNodes() bool { + if o != nil && o.RequiredNodes != nil { + return true + } + + return false +} + +// SetRequiredNodes gets a reference to the given string and assigns it to the RequiredNodes field. +func (o *V0036JobResponseProperties) SetRequiredNodes(v string) { + o.RequiredNodes = &v +} + +// GetRequeue returns the Requeue field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetRequeue() bool { + if o == nil || o.Requeue == nil { + var ret bool + return ret + } + return *o.Requeue +} + +// GetRequeueOk returns a tuple with the Requeue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetRequeueOk() (*bool, bool) { + if o == nil || o.Requeue == nil { + return nil, false + } + return o.Requeue, true +} + +// HasRequeue returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasRequeue() bool { + if o != nil && o.Requeue != nil { + return true + } + + return false +} + +// SetRequeue gets a reference to the given bool and assigns it to the Requeue field. +func (o *V0036JobResponseProperties) SetRequeue(v bool) { + o.Requeue = &v +} + +// GetResizeTime returns the ResizeTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetResizeTime() int64 { + if o == nil || o.ResizeTime == nil { + var ret int64 + return ret + } + return *o.ResizeTime +} + +// GetResizeTimeOk returns a tuple with the ResizeTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetResizeTimeOk() (*int64, bool) { + if o == nil || o.ResizeTime == nil { + return nil, false + } + return o.ResizeTime, true +} + +// HasResizeTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasResizeTime() bool { + if o != nil && o.ResizeTime != nil { + return true + } + + return false +} + +// SetResizeTime gets a reference to the given int64 and assigns it to the ResizeTime field. +func (o *V0036JobResponseProperties) SetResizeTime(v int64) { + o.ResizeTime = &v +} + +// GetRestartCnt returns the RestartCnt field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetRestartCnt() string { + if o == nil || o.RestartCnt == nil { + var ret string + return ret + } + return *o.RestartCnt +} + +// GetRestartCntOk returns a tuple with the RestartCnt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetRestartCntOk() (*string, bool) { + if o == nil || o.RestartCnt == nil { + return nil, false + } + return o.RestartCnt, true +} + +// HasRestartCnt returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasRestartCnt() bool { + if o != nil && o.RestartCnt != nil { + return true + } + + return false +} + +// SetRestartCnt gets a reference to the given string and assigns it to the RestartCnt field. +func (o *V0036JobResponseProperties) SetRestartCnt(v string) { + o.RestartCnt = &v +} + +// GetResvName returns the ResvName field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetResvName() string { + if o == nil || o.ResvName == nil { + var ret string + return ret + } + return *o.ResvName +} + +// GetResvNameOk returns a tuple with the ResvName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetResvNameOk() (*string, bool) { + if o == nil || o.ResvName == nil { + return nil, false + } + return o.ResvName, true +} + +// HasResvName returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasResvName() bool { + if o != nil && o.ResvName != nil { + return true + } + + return false +} + +// SetResvName gets a reference to the given string and assigns it to the ResvName field. +func (o *V0036JobResponseProperties) SetResvName(v string) { + o.ResvName = &v +} + +// GetShared returns the Shared field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetShared() string { + if o == nil || o.Shared == nil { + var ret string + return ret + } + return *o.Shared +} + +// GetSharedOk returns a tuple with the Shared field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSharedOk() (*string, bool) { + if o == nil || o.Shared == nil { + return nil, false + } + return o.Shared, true +} + +// HasShared returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasShared() bool { + if o != nil && o.Shared != nil { + return true + } + + return false +} + +// SetShared gets a reference to the given string and assigns it to the Shared field. +func (o *V0036JobResponseProperties) SetShared(v string) { + o.Shared = &v +} + +// GetShowFlags returns the ShowFlags field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetShowFlags() []string { + if o == nil || o.ShowFlags == nil { + var ret []string + return ret + } + return *o.ShowFlags +} + +// GetShowFlagsOk returns a tuple with the ShowFlags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetShowFlagsOk() (*[]string, bool) { + if o == nil || o.ShowFlags == nil { + return nil, false + } + return o.ShowFlags, true +} + +// HasShowFlags returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasShowFlags() bool { + if o != nil && o.ShowFlags != nil { + return true + } + + return false +} + +// SetShowFlags gets a reference to the given []string and assigns it to the ShowFlags field. +func (o *V0036JobResponseProperties) SetShowFlags(v []string) { + o.ShowFlags = &v +} + +// GetSocketsPerBoard returns the SocketsPerBoard field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetSocketsPerBoard() string { + if o == nil || o.SocketsPerBoard == nil { + var ret string + return ret + } + return *o.SocketsPerBoard +} + +// GetSocketsPerBoardOk returns a tuple with the SocketsPerBoard field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSocketsPerBoardOk() (*string, bool) { + if o == nil || o.SocketsPerBoard == nil { + return nil, false + } + return o.SocketsPerBoard, true +} + +// HasSocketsPerBoard returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasSocketsPerBoard() bool { + if o != nil && o.SocketsPerBoard != nil { + return true + } + + return false +} + +// SetSocketsPerBoard gets a reference to the given string and assigns it to the SocketsPerBoard field. +func (o *V0036JobResponseProperties) SetSocketsPerBoard(v string) { + o.SocketsPerBoard = &v +} + +// GetSocketsPerNode returns the SocketsPerNode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetSocketsPerNode() string { + if o == nil || o.SocketsPerNode == nil { + var ret string + return ret + } + return *o.SocketsPerNode +} + +// GetSocketsPerNodeOk returns a tuple with the SocketsPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSocketsPerNodeOk() (*string, bool) { + if o == nil || o.SocketsPerNode == nil { + return nil, false + } + return o.SocketsPerNode, true +} + +// HasSocketsPerNode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasSocketsPerNode() bool { + if o != nil && o.SocketsPerNode != nil { + return true + } + + return false +} + +// SetSocketsPerNode gets a reference to the given string and assigns it to the SocketsPerNode field. +func (o *V0036JobResponseProperties) SetSocketsPerNode(v string) { + o.SocketsPerNode = &v +} + +// GetStartTime returns the StartTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStartTime() int64 { + if o == nil || o.StartTime == nil { + var ret int64 + return ret + } + return *o.StartTime +} + +// GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStartTimeOk() (*int64, bool) { + if o == nil || o.StartTime == nil { + return nil, false + } + return o.StartTime, true +} + +// HasStartTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStartTime() bool { + if o != nil && o.StartTime != nil { + return true + } + + return false +} + +// SetStartTime gets a reference to the given int64 and assigns it to the StartTime field. +func (o *V0036JobResponseProperties) SetStartTime(v int64) { + o.StartTime = &v +} + +// GetStateDescription returns the StateDescription field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStateDescription() string { + if o == nil || o.StateDescription == nil { + var ret string + return ret + } + return *o.StateDescription +} + +// GetStateDescriptionOk returns a tuple with the StateDescription field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStateDescriptionOk() (*string, bool) { + if o == nil || o.StateDescription == nil { + return nil, false + } + return o.StateDescription, true +} + +// HasStateDescription returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStateDescription() bool { + if o != nil && o.StateDescription != nil { + return true + } + + return false +} + +// SetStateDescription gets a reference to the given string and assigns it to the StateDescription field. +func (o *V0036JobResponseProperties) SetStateDescription(v string) { + o.StateDescription = &v +} + +// GetStateReason returns the StateReason field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStateReason() string { + if o == nil || o.StateReason == nil { + var ret string + return ret + } + return *o.StateReason +} + +// GetStateReasonOk returns a tuple with the StateReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStateReasonOk() (*string, bool) { + if o == nil || o.StateReason == nil { + return nil, false + } + return o.StateReason, true +} + +// HasStateReason returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStateReason() bool { + if o != nil && o.StateReason != nil { + return true + } + + return false +} + +// SetStateReason gets a reference to the given string and assigns it to the StateReason field. +func (o *V0036JobResponseProperties) SetStateReason(v string) { + o.StateReason = &v +} + +// GetStandardError returns the StandardError field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStandardError() string { + if o == nil || o.StandardError == nil { + var ret string + return ret + } + return *o.StandardError +} + +// GetStandardErrorOk returns a tuple with the StandardError field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStandardErrorOk() (*string, bool) { + if o == nil || o.StandardError == nil { + return nil, false + } + return o.StandardError, true +} + +// HasStandardError returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStandardError() bool { + if o != nil && o.StandardError != nil { + return true + } + + return false +} + +// SetStandardError gets a reference to the given string and assigns it to the StandardError field. +func (o *V0036JobResponseProperties) SetStandardError(v string) { + o.StandardError = &v +} + +// GetStandardInput returns the StandardInput field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStandardInput() string { + if o == nil || o.StandardInput == nil { + var ret string + return ret + } + return *o.StandardInput +} + +// GetStandardInputOk returns a tuple with the StandardInput field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStandardInputOk() (*string, bool) { + if o == nil || o.StandardInput == nil { + return nil, false + } + return o.StandardInput, true +} + +// HasStandardInput returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStandardInput() bool { + if o != nil && o.StandardInput != nil { + return true + } + + return false +} + +// SetStandardInput gets a reference to the given string and assigns it to the StandardInput field. +func (o *V0036JobResponseProperties) SetStandardInput(v string) { + o.StandardInput = &v +} + +// GetStandardOutput returns the StandardOutput field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetStandardOutput() string { + if o == nil || o.StandardOutput == nil { + var ret string + return ret + } + return *o.StandardOutput +} + +// GetStandardOutputOk returns a tuple with the StandardOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetStandardOutputOk() (*string, bool) { + if o == nil || o.StandardOutput == nil { + return nil, false + } + return o.StandardOutput, true +} + +// HasStandardOutput returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasStandardOutput() bool { + if o != nil && o.StandardOutput != nil { + return true + } + + return false +} + +// SetStandardOutput gets a reference to the given string and assigns it to the StandardOutput field. +func (o *V0036JobResponseProperties) SetStandardOutput(v string) { + o.StandardOutput = &v +} + +// GetSubmitTime returns the SubmitTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetSubmitTime() int64 { + if o == nil || o.SubmitTime == nil { + var ret int64 + return ret + } + return *o.SubmitTime +} + +// GetSubmitTimeOk returns a tuple with the SubmitTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSubmitTimeOk() (*int64, bool) { + if o == nil || o.SubmitTime == nil { + return nil, false + } + return o.SubmitTime, true +} + +// HasSubmitTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasSubmitTime() bool { + if o != nil && o.SubmitTime != nil { + return true + } + + return false +} + +// SetSubmitTime gets a reference to the given int64 and assigns it to the SubmitTime field. +func (o *V0036JobResponseProperties) SetSubmitTime(v int64) { + o.SubmitTime = &v +} + +// GetSuspendTime returns the SuspendTime field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetSuspendTime() int64 { + if o == nil || o.SuspendTime == nil { + var ret int64 + return ret + } + return *o.SuspendTime +} + +// GetSuspendTimeOk returns a tuple with the SuspendTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSuspendTimeOk() (*int64, bool) { + if o == nil || o.SuspendTime == nil { + return nil, false + } + return o.SuspendTime, true +} + +// HasSuspendTime returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasSuspendTime() bool { + if o != nil && o.SuspendTime != nil { + return true + } + + return false +} + +// SetSuspendTime gets a reference to the given int64 and assigns it to the SuspendTime field. +func (o *V0036JobResponseProperties) SetSuspendTime(v int64) { + o.SuspendTime = &v +} + +// GetSystemComment returns the SystemComment field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetSystemComment() string { + if o == nil || o.SystemComment == nil { + var ret string + return ret + } + return *o.SystemComment +} + +// GetSystemCommentOk returns a tuple with the SystemComment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetSystemCommentOk() (*string, bool) { + if o == nil || o.SystemComment == nil { + return nil, false + } + return o.SystemComment, true +} + +// HasSystemComment returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasSystemComment() bool { + if o != nil && o.SystemComment != nil { + return true + } + + return false +} + +// SetSystemComment gets a reference to the given string and assigns it to the SystemComment field. +func (o *V0036JobResponseProperties) SetSystemComment(v string) { + o.SystemComment = &v +} + +// GetTimeLimit returns the TimeLimit field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTimeLimit() string { + if o == nil || o.TimeLimit == nil { + var ret string + return ret + } + return *o.TimeLimit +} + +// GetTimeLimitOk returns a tuple with the TimeLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTimeLimitOk() (*string, bool) { + if o == nil || o.TimeLimit == nil { + return nil, false + } + return o.TimeLimit, true +} + +// HasTimeLimit returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTimeLimit() bool { + if o != nil && o.TimeLimit != nil { + return true + } + + return false +} + +// SetTimeLimit gets a reference to the given string and assigns it to the TimeLimit field. +func (o *V0036JobResponseProperties) SetTimeLimit(v string) { + o.TimeLimit = &v +} + +// GetTimeMinimum returns the TimeMinimum field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTimeMinimum() string { + if o == nil || o.TimeMinimum == nil { + var ret string + return ret + } + return *o.TimeMinimum +} + +// GetTimeMinimumOk returns a tuple with the TimeMinimum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTimeMinimumOk() (*string, bool) { + if o == nil || o.TimeMinimum == nil { + return nil, false + } + return o.TimeMinimum, true +} + +// HasTimeMinimum returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTimeMinimum() bool { + if o != nil && o.TimeMinimum != nil { + return true + } + + return false +} + +// SetTimeMinimum gets a reference to the given string and assigns it to the TimeMinimum field. +func (o *V0036JobResponseProperties) SetTimeMinimum(v string) { + o.TimeMinimum = &v +} + +// GetThreadsPerCore returns the ThreadsPerCore field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetThreadsPerCore() string { + if o == nil || o.ThreadsPerCore == nil { + var ret string + return ret + } + return *o.ThreadsPerCore +} + +// GetThreadsPerCoreOk returns a tuple with the ThreadsPerCore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetThreadsPerCoreOk() (*string, bool) { + if o == nil || o.ThreadsPerCore == nil { + return nil, false + } + return o.ThreadsPerCore, true +} + +// HasThreadsPerCore returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasThreadsPerCore() bool { + if o != nil && o.ThreadsPerCore != nil { + return true + } + + return false +} + +// SetThreadsPerCore gets a reference to the given string and assigns it to the ThreadsPerCore field. +func (o *V0036JobResponseProperties) SetThreadsPerCore(v string) { + o.ThreadsPerCore = &v +} + +// GetTresBind returns the TresBind field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresBind() string { + if o == nil || o.TresBind == nil { + var ret string + return ret + } + return *o.TresBind +} + +// GetTresBindOk returns a tuple with the TresBind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresBindOk() (*string, bool) { + if o == nil || o.TresBind == nil { + return nil, false + } + return o.TresBind, true +} + +// HasTresBind returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresBind() bool { + if o != nil && o.TresBind != nil { + return true + } + + return false +} + +// SetTresBind gets a reference to the given string and assigns it to the TresBind field. +func (o *V0036JobResponseProperties) SetTresBind(v string) { + o.TresBind = &v +} + +// GetTresFreq returns the TresFreq field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresFreq() string { + if o == nil || o.TresFreq == nil { + var ret string + return ret + } + return *o.TresFreq +} + +// GetTresFreqOk returns a tuple with the TresFreq field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresFreqOk() (*string, bool) { + if o == nil || o.TresFreq == nil { + return nil, false + } + return o.TresFreq, true +} + +// HasTresFreq returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresFreq() bool { + if o != nil && o.TresFreq != nil { + return true + } + + return false +} + +// SetTresFreq gets a reference to the given string and assigns it to the TresFreq field. +func (o *V0036JobResponseProperties) SetTresFreq(v string) { + o.TresFreq = &v +} + +// GetTresPerJob returns the TresPerJob field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresPerJob() string { + if o == nil || o.TresPerJob == nil { + var ret string + return ret + } + return *o.TresPerJob +} + +// GetTresPerJobOk returns a tuple with the TresPerJob field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresPerJobOk() (*string, bool) { + if o == nil || o.TresPerJob == nil { + return nil, false + } + return o.TresPerJob, true +} + +// HasTresPerJob returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresPerJob() bool { + if o != nil && o.TresPerJob != nil { + return true + } + + return false +} + +// SetTresPerJob gets a reference to the given string and assigns it to the TresPerJob field. +func (o *V0036JobResponseProperties) SetTresPerJob(v string) { + o.TresPerJob = &v +} + +// GetTresPerNode returns the TresPerNode field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresPerNode() string { + if o == nil || o.TresPerNode == nil { + var ret string + return ret + } + return *o.TresPerNode +} + +// GetTresPerNodeOk returns a tuple with the TresPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresPerNodeOk() (*string, bool) { + if o == nil || o.TresPerNode == nil { + return nil, false + } + return o.TresPerNode, true +} + +// HasTresPerNode returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresPerNode() bool { + if o != nil && o.TresPerNode != nil { + return true + } + + return false +} + +// SetTresPerNode gets a reference to the given string and assigns it to the TresPerNode field. +func (o *V0036JobResponseProperties) SetTresPerNode(v string) { + o.TresPerNode = &v +} + +// GetTresPerSocket returns the TresPerSocket field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresPerSocket() string { + if o == nil || o.TresPerSocket == nil { + var ret string + return ret + } + return *o.TresPerSocket +} + +// GetTresPerSocketOk returns a tuple with the TresPerSocket field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresPerSocketOk() (*string, bool) { + if o == nil || o.TresPerSocket == nil { + return nil, false + } + return o.TresPerSocket, true +} + +// HasTresPerSocket returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresPerSocket() bool { + if o != nil && o.TresPerSocket != nil { + return true + } + + return false +} + +// SetTresPerSocket gets a reference to the given string and assigns it to the TresPerSocket field. +func (o *V0036JobResponseProperties) SetTresPerSocket(v string) { + o.TresPerSocket = &v +} + +// GetTresPerTask returns the TresPerTask field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresPerTask() string { + if o == nil || o.TresPerTask == nil { + var ret string + return ret + } + return *o.TresPerTask +} + +// GetTresPerTaskOk returns a tuple with the TresPerTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresPerTaskOk() (*string, bool) { + if o == nil || o.TresPerTask == nil { + return nil, false + } + return o.TresPerTask, true +} + +// HasTresPerTask returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresPerTask() bool { + if o != nil && o.TresPerTask != nil { + return true + } + + return false +} + +// SetTresPerTask gets a reference to the given string and assigns it to the TresPerTask field. +func (o *V0036JobResponseProperties) SetTresPerTask(v string) { + o.TresPerTask = &v +} + +// GetTresReqStr returns the TresReqStr field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresReqStr() string { + if o == nil || o.TresReqStr == nil { + var ret string + return ret + } + return *o.TresReqStr +} + +// GetTresReqStrOk returns a tuple with the TresReqStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresReqStrOk() (*string, bool) { + if o == nil || o.TresReqStr == nil { + return nil, false + } + return o.TresReqStr, true +} + +// HasTresReqStr returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresReqStr() bool { + if o != nil && o.TresReqStr != nil { + return true + } + + return false +} + +// SetTresReqStr gets a reference to the given string and assigns it to the TresReqStr field. +func (o *V0036JobResponseProperties) SetTresReqStr(v string) { + o.TresReqStr = &v +} + +// GetTresAllocStr returns the TresAllocStr field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetTresAllocStr() string { + if o == nil || o.TresAllocStr == nil { + var ret string + return ret + } + return *o.TresAllocStr +} + +// GetTresAllocStrOk returns a tuple with the TresAllocStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetTresAllocStrOk() (*string, bool) { + if o == nil || o.TresAllocStr == nil { + return nil, false + } + return o.TresAllocStr, true +} + +// HasTresAllocStr returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasTresAllocStr() bool { + if o != nil && o.TresAllocStr != nil { + return true + } + + return false +} + +// SetTresAllocStr gets a reference to the given string and assigns it to the TresAllocStr field. +func (o *V0036JobResponseProperties) SetTresAllocStr(v string) { + o.TresAllocStr = &v +} + +// GetUserId returns the UserId field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetUserId() string { + if o == nil || o.UserId == nil { + var ret string + return ret + } + return *o.UserId +} + +// GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetUserIdOk() (*string, bool) { + if o == nil || o.UserId == nil { + return nil, false + } + return o.UserId, true +} + +// HasUserId returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasUserId() bool { + if o != nil && o.UserId != nil { + return true + } + + return false +} + +// SetUserId gets a reference to the given string and assigns it to the UserId field. +func (o *V0036JobResponseProperties) SetUserId(v string) { + o.UserId = &v +} + +// GetUserName returns the UserName field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetUserName() string { + if o == nil || o.UserName == nil { + var ret string + return ret + } + return *o.UserName +} + +// GetUserNameOk returns a tuple with the UserName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetUserNameOk() (*string, bool) { + if o == nil || o.UserName == nil { + return nil, false + } + return o.UserName, true +} + +// HasUserName returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasUserName() bool { + if o != nil && o.UserName != nil { + return true + } + + return false +} + +// SetUserName gets a reference to the given string and assigns it to the UserName field. +func (o *V0036JobResponseProperties) SetUserName(v string) { + o.UserName = &v +} + +// GetWckey returns the Wckey field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetWckey() string { + if o == nil || o.Wckey == nil { + var ret string + return ret + } + return *o.Wckey +} + +// GetWckeyOk returns a tuple with the Wckey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetWckeyOk() (*string, bool) { + if o == nil || o.Wckey == nil { + return nil, false + } + return o.Wckey, true +} + +// HasWckey returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasWckey() bool { + if o != nil && o.Wckey != nil { + return true + } + + return false +} + +// SetWckey gets a reference to the given string and assigns it to the Wckey field. +func (o *V0036JobResponseProperties) SetWckey(v string) { + o.Wckey = &v +} + +// GetCurrentWorkingDirectory returns the CurrentWorkingDirectory field value if set, zero value otherwise. +func (o *V0036JobResponseProperties) GetCurrentWorkingDirectory() string { + if o == nil || o.CurrentWorkingDirectory == nil { + var ret string + return ret + } + return *o.CurrentWorkingDirectory +} + +// GetCurrentWorkingDirectoryOk returns a tuple with the CurrentWorkingDirectory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobResponseProperties) GetCurrentWorkingDirectoryOk() (*string, bool) { + if o == nil || o.CurrentWorkingDirectory == nil { + return nil, false + } + return o.CurrentWorkingDirectory, true +} + +// HasCurrentWorkingDirectory returns a boolean if a field has been set. +func (o *V0036JobResponseProperties) HasCurrentWorkingDirectory() bool { + if o != nil && o.CurrentWorkingDirectory != nil { + return true + } + + return false +} + +// SetCurrentWorkingDirectory gets a reference to the given string and assigns it to the CurrentWorkingDirectory field. +func (o *V0036JobResponseProperties) SetCurrentWorkingDirectory(v string) { + o.CurrentWorkingDirectory = &v +} + +func (o V0036JobResponseProperties) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Account != nil { + toSerialize["account"] = o.Account + } + if o.AccrueTime != nil { + toSerialize["accrue_time"] = o.AccrueTime + } + if o.AdminComment != nil { + toSerialize["admin_comment"] = o.AdminComment + } + if o.ArrayJobId != nil { + toSerialize["array_job_id"] = o.ArrayJobId + } + if o.ArrayTaskId != nil { + toSerialize["array_task_id"] = o.ArrayTaskId + } + if o.ArrayMaxTasks != nil { + toSerialize["array_max_tasks"] = o.ArrayMaxTasks + } + if o.ArrayTaskString != nil { + toSerialize["array_task_string"] = o.ArrayTaskString + } + if o.AssociationId != nil { + toSerialize["association_id"] = o.AssociationId + } + if o.BatchFeatures != nil { + toSerialize["batch_features"] = o.BatchFeatures + } + if o.BatchFlag != nil { + toSerialize["batch_flag"] = o.BatchFlag + } + if o.BatchHost != nil { + toSerialize["batch_host"] = o.BatchHost + } + if o.Flags != nil { + toSerialize["flags"] = o.Flags + } + if o.BurstBuffer != nil { + toSerialize["burst_buffer"] = o.BurstBuffer + } + if o.BurstBufferState != nil { + toSerialize["burst_buffer_state"] = o.BurstBufferState + } + if o.Cluster != nil { + toSerialize["cluster"] = o.Cluster + } + if o.ClusterFeatures != nil { + toSerialize["cluster_features"] = o.ClusterFeatures + } + if o.Command != nil { + toSerialize["command"] = o.Command + } + if o.Comment != nil { + toSerialize["comment"] = o.Comment + } + if o.Contiguous != nil { + toSerialize["contiguous"] = o.Contiguous + } + if o.CoreSpec != nil { + toSerialize["core_spec"] = o.CoreSpec + } + if o.ThreadSpec != nil { + toSerialize["thread_spec"] = o.ThreadSpec + } + if o.CoresPerSocket != nil { + toSerialize["cores_per_socket"] = o.CoresPerSocket + } + if o.BillableTres != nil { + toSerialize["billable_tres"] = o.BillableTres + } + if o.CpusPerTask != nil { + toSerialize["cpus_per_task"] = o.CpusPerTask + } + if o.CpuFrequencyMinimum != nil { + toSerialize["cpu_frequency_minimum"] = o.CpuFrequencyMinimum + } + if o.CpuFrequencyMaximum != nil { + toSerialize["cpu_frequency_maximum"] = o.CpuFrequencyMaximum + } + if o.CpuFrequencyGovernor != nil { + toSerialize["cpu_frequency_governor"] = o.CpuFrequencyGovernor + } + if o.CpusPerTres != nil { + toSerialize["cpus_per_tres"] = o.CpusPerTres + } + if o.Deadline != nil { + toSerialize["deadline"] = o.Deadline + } + if o.DelayBoot != nil { + toSerialize["delay_boot"] = o.DelayBoot + } + if o.Dependency != nil { + toSerialize["dependency"] = o.Dependency + } + if o.DerivedExitCode != nil { + toSerialize["derived_exit_code"] = o.DerivedExitCode + } + if o.EligibleTime != nil { + toSerialize["eligible_time"] = o.EligibleTime + } + if o.EndTime != nil { + toSerialize["end_time"] = o.EndTime + } + if o.ExcludedNodes != nil { + toSerialize["excluded_nodes"] = o.ExcludedNodes + } + if o.ExitCode != nil { + toSerialize["exit_code"] = o.ExitCode + } + if o.Features != nil { + toSerialize["features"] = o.Features + } + if o.FederationOrigin != nil { + toSerialize["federation_origin"] = o.FederationOrigin + } + if o.FederationSiblingsActive != nil { + toSerialize["federation_siblings_active"] = o.FederationSiblingsActive + } + if o.FederationSiblingsViable != nil { + toSerialize["federation_siblings_viable"] = o.FederationSiblingsViable + } + if o.GresDetail != nil { + toSerialize["gres_detail"] = o.GresDetail + } + if o.GroupId != nil { + toSerialize["group_id"] = o.GroupId + } + if o.JobId != nil { + toSerialize["job_id"] = o.JobId + } + if o.JobResources != nil { + toSerialize["job_resources"] = o.JobResources + } + if o.JobState != nil { + toSerialize["job_state"] = o.JobState + } + if o.LastSchedEvaluation != nil { + toSerialize["last_sched_evaluation"] = o.LastSchedEvaluation + } + if o.Licenses != nil { + toSerialize["licenses"] = o.Licenses + } + if o.MaxCpus != nil { + toSerialize["max_cpus"] = o.MaxCpus + } + if o.MaxNodes != nil { + toSerialize["max_nodes"] = o.MaxNodes + } + if o.McsLabel != nil { + toSerialize["mcs_label"] = o.McsLabel + } + if o.MemoryPerTres != nil { + toSerialize["memory_per_tres"] = o.MemoryPerTres + } + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Nodes != nil { + toSerialize["nodes"] = o.Nodes + } + if o.Nice != nil { + toSerialize["nice"] = o.Nice + } + if o.TasksPerCore != nil { + toSerialize["tasks_per_core"] = o.TasksPerCore + } + if o.TasksPerSocket != nil { + toSerialize["tasks_per_socket"] = o.TasksPerSocket + } + if o.TasksPerBoard != nil { + toSerialize["tasks_per_board"] = o.TasksPerBoard + } + if o.Cpus != nil { + toSerialize["cpus"] = o.Cpus + } + if o.NodeCount != nil { + toSerialize["node_count"] = o.NodeCount + } + if o.Tasks != nil { + toSerialize["tasks"] = o.Tasks + } + if o.HetJobId != nil { + toSerialize["het_job_id"] = o.HetJobId + } + if o.HetJobIdSet != nil { + toSerialize["het_job_id_set"] = o.HetJobIdSet + } + if o.HetJobOffset != nil { + toSerialize["het_job_offset"] = o.HetJobOffset + } + if o.Partition != nil { + toSerialize["partition"] = o.Partition + } + if o.MemoryPerNode != nil { + toSerialize["memory_per_node"] = o.MemoryPerNode + } + if o.MemoryPerCpu != nil { + toSerialize["memory_per_cpu"] = o.MemoryPerCpu + } + if o.MinimumCpusPerNode != nil { + toSerialize["minimum_cpus_per_node"] = o.MinimumCpusPerNode + } + if o.MinimumTmpDiskPerNode != nil { + toSerialize["minimum_tmp_disk_per_node"] = o.MinimumTmpDiskPerNode + } + if o.PreemptTime != nil { + toSerialize["preempt_time"] = o.PreemptTime + } + if o.PreSusTime != nil { + toSerialize["pre_sus_time"] = o.PreSusTime + } + if o.Priority != nil { + toSerialize["priority"] = o.Priority + } + if o.Profile != nil { + toSerialize["profile"] = o.Profile + } + if o.Qos != nil { + toSerialize["qos"] = o.Qos + } + if o.Reboot != nil { + toSerialize["reboot"] = o.Reboot + } + if o.RequiredNodes != nil { + toSerialize["required_nodes"] = o.RequiredNodes + } + if o.Requeue != nil { + toSerialize["requeue"] = o.Requeue + } + if o.ResizeTime != nil { + toSerialize["resize_time"] = o.ResizeTime + } + if o.RestartCnt != nil { + toSerialize["restart_cnt"] = o.RestartCnt + } + if o.ResvName != nil { + toSerialize["resv_name"] = o.ResvName + } + if o.Shared != nil { + toSerialize["shared"] = o.Shared + } + if o.ShowFlags != nil { + toSerialize["show_flags"] = o.ShowFlags + } + if o.SocketsPerBoard != nil { + toSerialize["sockets_per_board"] = o.SocketsPerBoard + } + if o.SocketsPerNode != nil { + toSerialize["sockets_per_node"] = o.SocketsPerNode + } + if o.StartTime != nil { + toSerialize["start_time"] = o.StartTime + } + if o.StateDescription != nil { + toSerialize["state_description"] = o.StateDescription + } + if o.StateReason != nil { + toSerialize["state_reason"] = o.StateReason + } + if o.StandardError != nil { + toSerialize["standard_error"] = o.StandardError + } + if o.StandardInput != nil { + toSerialize["standard_input"] = o.StandardInput + } + if o.StandardOutput != nil { + toSerialize["standard_output"] = o.StandardOutput + } + if o.SubmitTime != nil { + toSerialize["submit_time"] = o.SubmitTime + } + if o.SuspendTime != nil { + toSerialize["suspend_time"] = o.SuspendTime + } + if o.SystemComment != nil { + toSerialize["system_comment"] = o.SystemComment + } + if o.TimeLimit != nil { + toSerialize["time_limit"] = o.TimeLimit + } + if o.TimeMinimum != nil { + toSerialize["time_minimum"] = o.TimeMinimum + } + if o.ThreadsPerCore != nil { + toSerialize["threads_per_core"] = o.ThreadsPerCore + } + if o.TresBind != nil { + toSerialize["tres_bind"] = o.TresBind + } + if o.TresFreq != nil { + toSerialize["tres_freq"] = o.TresFreq + } + if o.TresPerJob != nil { + toSerialize["tres_per_job"] = o.TresPerJob + } + if o.TresPerNode != nil { + toSerialize["tres_per_node"] = o.TresPerNode + } + if o.TresPerSocket != nil { + toSerialize["tres_per_socket"] = o.TresPerSocket + } + if o.TresPerTask != nil { + toSerialize["tres_per_task"] = o.TresPerTask + } + if o.TresReqStr != nil { + toSerialize["tres_req_str"] = o.TresReqStr + } + if o.TresAllocStr != nil { + toSerialize["tres_alloc_str"] = o.TresAllocStr + } + if o.UserId != nil { + toSerialize["user_id"] = o.UserId + } + if o.UserName != nil { + toSerialize["user_name"] = o.UserName + } + if o.Wckey != nil { + toSerialize["wckey"] = o.Wckey + } + if o.CurrentWorkingDirectory != nil { + toSerialize["current_working_directory"] = o.CurrentWorkingDirectory + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobResponseProperties struct { + value *V0036JobResponseProperties + isSet bool +} + +func (v NullableV0036JobResponseProperties) Get() *V0036JobResponseProperties { + return v.value +} + +func (v *NullableV0036JobResponseProperties) Set(val *V0036JobResponseProperties) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobResponseProperties) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobResponseProperties) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobResponseProperties(val *V0036JobResponseProperties) *NullableV0036JobResponseProperties { + return &NullableV0036JobResponseProperties{value: val, isSet: true} +} + +func (v NullableV0036JobResponseProperties) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobResponseProperties) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_job_submission.go b/model_v0_0_36_job_submission.go new file mode 100644 index 0000000..141ac80 --- /dev/null +++ b/model_v0_0_36_job_submission.go @@ -0,0 +1,183 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobSubmission struct for V0036JobSubmission +type V0036JobSubmission struct { + // Executable script (full contents) to run in batch step + Script string `json:"script"` + Job *V0036JobProperties `json:"job,omitempty"` + // Properties of an HetJob + Jobs *[]V0036JobProperties `json:"jobs,omitempty"` +} + +// NewV0036JobSubmission instantiates a new V0036JobSubmission 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 +func NewV0036JobSubmission(script string) *V0036JobSubmission { + this := V0036JobSubmission{} + this.Script = script + return &this +} + +// NewV0036JobSubmissionWithDefaults instantiates a new V0036JobSubmission 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 +func NewV0036JobSubmissionWithDefaults() *V0036JobSubmission { + this := V0036JobSubmission{} + return &this +} + +// GetScript returns the Script field value +func (o *V0036JobSubmission) GetScript() string { + if o == nil { + var ret string + return ret + } + + return o.Script +} + +// GetScriptOk returns a tuple with the Script field value +// and a boolean to check if the value has been set. +func (o *V0036JobSubmission) GetScriptOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Script, true +} + +// SetScript sets field value +func (o *V0036JobSubmission) SetScript(v string) { + o.Script = v +} + +// GetJob returns the Job field value if set, zero value otherwise. +func (o *V0036JobSubmission) GetJob() V0036JobProperties { + if o == nil || o.Job == nil { + var ret V0036JobProperties + return ret + } + return *o.Job +} + +// GetJobOk returns a tuple with the Job field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmission) GetJobOk() (*V0036JobProperties, bool) { + if o == nil || o.Job == nil { + return nil, false + } + return o.Job, true +} + +// HasJob returns a boolean if a field has been set. +func (o *V0036JobSubmission) HasJob() bool { + if o != nil && o.Job != nil { + return true + } + + return false +} + +// SetJob gets a reference to the given V0036JobProperties and assigns it to the Job field. +func (o *V0036JobSubmission) SetJob(v V0036JobProperties) { + o.Job = &v +} + +// GetJobs returns the Jobs field value if set, zero value otherwise. +func (o *V0036JobSubmission) GetJobs() []V0036JobProperties { + if o == nil || o.Jobs == nil { + var ret []V0036JobProperties + return ret + } + return *o.Jobs +} + +// GetJobsOk returns a tuple with the Jobs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmission) GetJobsOk() (*[]V0036JobProperties, bool) { + if o == nil || o.Jobs == nil { + return nil, false + } + return o.Jobs, true +} + +// HasJobs returns a boolean if a field has been set. +func (o *V0036JobSubmission) HasJobs() bool { + if o != nil && o.Jobs != nil { + return true + } + + return false +} + +// SetJobs gets a reference to the given []V0036JobProperties and assigns it to the Jobs field. +func (o *V0036JobSubmission) SetJobs(v []V0036JobProperties) { + o.Jobs = &v +} + +func (o V0036JobSubmission) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["script"] = o.Script + } + if o.Job != nil { + toSerialize["job"] = o.Job + } + if o.Jobs != nil { + toSerialize["jobs"] = o.Jobs + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobSubmission struct { + value *V0036JobSubmission + isSet bool +} + +func (v NullableV0036JobSubmission) Get() *V0036JobSubmission { + return v.value +} + +func (v *NullableV0036JobSubmission) Set(val *V0036JobSubmission) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobSubmission) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobSubmission) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobSubmission(val *V0036JobSubmission) *NullableV0036JobSubmission { + return &NullableV0036JobSubmission{value: val, isSet: true} +} + +func (v NullableV0036JobSubmission) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobSubmission) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_job_submission_response.go b/model_v0_0_36_job_submission_response.go new file mode 100644 index 0000000..701fc0a --- /dev/null +++ b/model_v0_0_36_job_submission_response.go @@ -0,0 +1,228 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobSubmissionResponse struct for V0036JobSubmissionResponse +type V0036JobSubmissionResponse struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + // new job ID + JobId *int32 `json:"job_id,omitempty"` + // new job step ID + StepId *string `json:"step_id,omitempty"` + // Message to user from job_submit plugin + JobSubmitUserMsg *string `json:"job_submit_user_msg,omitempty"` +} + +// NewV0036JobSubmissionResponse instantiates a new V0036JobSubmissionResponse 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 +func NewV0036JobSubmissionResponse() *V0036JobSubmissionResponse { + this := V0036JobSubmissionResponse{} + return &this +} + +// NewV0036JobSubmissionResponseWithDefaults instantiates a new V0036JobSubmissionResponse 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 +func NewV0036JobSubmissionResponseWithDefaults() *V0036JobSubmissionResponse { + this := V0036JobSubmissionResponse{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036JobSubmissionResponse) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmissionResponse) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036JobSubmissionResponse) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036JobSubmissionResponse) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetJobId returns the JobId field value if set, zero value otherwise. +func (o *V0036JobSubmissionResponse) GetJobId() int32 { + if o == nil || o.JobId == nil { + var ret int32 + return ret + } + return *o.JobId +} + +// GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmissionResponse) GetJobIdOk() (*int32, bool) { + if o == nil || o.JobId == nil { + return nil, false + } + return o.JobId, true +} + +// HasJobId returns a boolean if a field has been set. +func (o *V0036JobSubmissionResponse) HasJobId() bool { + if o != nil && o.JobId != nil { + return true + } + + return false +} + +// SetJobId gets a reference to the given int32 and assigns it to the JobId field. +func (o *V0036JobSubmissionResponse) SetJobId(v int32) { + o.JobId = &v +} + +// GetStepId returns the StepId field value if set, zero value otherwise. +func (o *V0036JobSubmissionResponse) GetStepId() string { + if o == nil || o.StepId == nil { + var ret string + return ret + } + return *o.StepId +} + +// GetStepIdOk returns a tuple with the StepId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmissionResponse) GetStepIdOk() (*string, bool) { + if o == nil || o.StepId == nil { + return nil, false + } + return o.StepId, true +} + +// HasStepId returns a boolean if a field has been set. +func (o *V0036JobSubmissionResponse) HasStepId() bool { + if o != nil && o.StepId != nil { + return true + } + + return false +} + +// SetStepId gets a reference to the given string and assigns it to the StepId field. +func (o *V0036JobSubmissionResponse) SetStepId(v string) { + o.StepId = &v +} + +// GetJobSubmitUserMsg returns the JobSubmitUserMsg field value if set, zero value otherwise. +func (o *V0036JobSubmissionResponse) GetJobSubmitUserMsg() string { + if o == nil || o.JobSubmitUserMsg == nil { + var ret string + return ret + } + return *o.JobSubmitUserMsg +} + +// GetJobSubmitUserMsgOk returns a tuple with the JobSubmitUserMsg field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobSubmissionResponse) GetJobSubmitUserMsgOk() (*string, bool) { + if o == nil || o.JobSubmitUserMsg == nil { + return nil, false + } + return o.JobSubmitUserMsg, true +} + +// HasJobSubmitUserMsg returns a boolean if a field has been set. +func (o *V0036JobSubmissionResponse) HasJobSubmitUserMsg() bool { + if o != nil && o.JobSubmitUserMsg != nil { + return true + } + + return false +} + +// SetJobSubmitUserMsg gets a reference to the given string and assigns it to the JobSubmitUserMsg field. +func (o *V0036JobSubmissionResponse) SetJobSubmitUserMsg(v string) { + o.JobSubmitUserMsg = &v +} + +func (o V0036JobSubmissionResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.JobId != nil { + toSerialize["job_id"] = o.JobId + } + if o.StepId != nil { + toSerialize["step_id"] = o.StepId + } + if o.JobSubmitUserMsg != nil { + toSerialize["job_submit_user_msg"] = o.JobSubmitUserMsg + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobSubmissionResponse struct { + value *V0036JobSubmissionResponse + isSet bool +} + +func (v NullableV0036JobSubmissionResponse) Get() *V0036JobSubmissionResponse { + return v.value +} + +func (v *NullableV0036JobSubmissionResponse) Set(val *V0036JobSubmissionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobSubmissionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobSubmissionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobSubmissionResponse(val *V0036JobSubmissionResponse) *NullableV0036JobSubmissionResponse { + return &NullableV0036JobSubmissionResponse{value: val, isSet: true} +} + +func (v NullableV0036JobSubmissionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobSubmissionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_jobs_response.go b/model_v0_0_36_jobs_response.go new file mode 100644 index 0000000..21e5e5a --- /dev/null +++ b/model_v0_0_36_jobs_response.go @@ -0,0 +1,154 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036JobsResponse struct for V0036JobsResponse +type V0036JobsResponse struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + // job descriptions + Jobs *[]V0036JobResponseProperties `json:"jobs,omitempty"` +} + +// NewV0036JobsResponse instantiates a new V0036JobsResponse 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 +func NewV0036JobsResponse() *V0036JobsResponse { + this := V0036JobsResponse{} + return &this +} + +// NewV0036JobsResponseWithDefaults instantiates a new V0036JobsResponse 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 +func NewV0036JobsResponseWithDefaults() *V0036JobsResponse { + this := V0036JobsResponse{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036JobsResponse) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobsResponse) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036JobsResponse) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036JobsResponse) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetJobs returns the Jobs field value if set, zero value otherwise. +func (o *V0036JobsResponse) GetJobs() []V0036JobResponseProperties { + if o == nil || o.Jobs == nil { + var ret []V0036JobResponseProperties + return ret + } + return *o.Jobs +} + +// GetJobsOk returns a tuple with the Jobs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036JobsResponse) GetJobsOk() (*[]V0036JobResponseProperties, bool) { + if o == nil || o.Jobs == nil { + return nil, false + } + return o.Jobs, true +} + +// HasJobs returns a boolean if a field has been set. +func (o *V0036JobsResponse) HasJobs() bool { + if o != nil && o.Jobs != nil { + return true + } + + return false +} + +// SetJobs gets a reference to the given []V0036JobResponseProperties and assigns it to the Jobs field. +func (o *V0036JobsResponse) SetJobs(v []V0036JobResponseProperties) { + o.Jobs = &v +} + +func (o V0036JobsResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.Jobs != nil { + toSerialize["jobs"] = o.Jobs + } + return json.Marshal(toSerialize) +} + +type NullableV0036JobsResponse struct { + value *V0036JobsResponse + isSet bool +} + +func (v NullableV0036JobsResponse) Get() *V0036JobsResponse { + return v.value +} + +func (v *NullableV0036JobsResponse) Set(val *V0036JobsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableV0036JobsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036JobsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036JobsResponse(val *V0036JobsResponse) *NullableV0036JobsResponse { + return &NullableV0036JobsResponse{value: val, isSet: true} +} + +func (v NullableV0036JobsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036JobsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_node.go b/model_v0_0_36_node.go new file mode 100644 index 0000000..aa0f1b6 --- /dev/null +++ b/model_v0_0_36_node.go @@ -0,0 +1,1554 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Node struct for V0036Node +type V0036Node struct { + // computer architecture + Architecture *string `json:"architecture,omitempty"` + // BcastAddr + BurstbufferNetworkAddress *string `json:"burstbuffer_network_address,omitempty"` + // total number of boards per node + Boards *int32 `json:"boards,omitempty"` + // timestamp of node boot + BootTime *int64 `json:"boot_time,omitempty"` + // Arbitrary comment + Comment *string `json:"comment,omitempty"` + // number of cores per socket + Cores *int32 `json:"cores,omitempty"` + // Default task binding + CpuBinding *int32 `json:"cpu_binding,omitempty"` + // CPU load * 100 + CpuLoad *int64 `json:"cpu_load,omitempty"` + // free memory in MiB + FreeMemory *int32 `json:"free_memory,omitempty"` + // configured count of cpus running on the node + Cpus *int32 `json:"cpus,omitempty"` + Features *string `json:"features,omitempty"` + // list of a node's available features + ActiveFeatures *string `json:"active_features,omitempty"` + // list of a node's generic resources + Gres *string `json:"gres,omitempty"` + // list of drained GRES + GresDrained *string `json:"gres_drained,omitempty"` + // list of GRES in current use + GresUsed *string `json:"gres_used,omitempty"` + // mcs label if mcs plugin in use + McsLabel *string `json:"mcs_label,omitempty"` + // node name to slurm + Name *string `json:"name,omitempty"` + NextStateAfterReboot *string `json:"next_state_after_reboot,omitempty"` + // state after reboot + Address *string `json:"address,omitempty"` + // node's hostname + Hostname *string `json:"hostname,omitempty"` + // current node state + State *string `json:"state,omitempty"` + // operating system + OperatingSystem *string `json:"operating_system,omitempty"` + // User allowed to use this node + Owner *string `json:"owner,omitempty"` + // TCP port number of the slurmd + Port *int32 `json:"port,omitempty"` + // configured MB of real memory on the node + RealMemory *int32 `json:"real_memory,omitempty"` + // reason for node being DOWN or DRAINING + Reason *string `json:"reason,omitempty"` + // Time stamp when reason was set + ReasonChangedAt *int32 `json:"reason_changed_at,omitempty"` + // User that set the reason + ReasonSetByUser *string `json:"reason_set_by_user,omitempty"` + // timestamp of slurmd startup + SlurmdStartTime *int64 `json:"slurmd_start_time,omitempty"` + // total number of sockets per node + Sockets *int32 `json:"sockets,omitempty"` + // number of threads per core + Threads *int32 `json:"threads,omitempty"` + // configured MB of total disk in TMP_FS + TemporaryDisk *int32 `json:"temporary_disk,omitempty"` + // arbitrary priority of node for scheduling + Weight *int32 `json:"weight,omitempty"` + // TRES on node + Tres *string `json:"tres,omitempty"` + // TRES used on node + TresUsed *string `json:"tres_used,omitempty"` + // Slurmd version + SlurmdVersion *string `json:"slurmd_version,omitempty"` + AllocCpus *int32 `json:"alloc_cpus,omitempty"` + IdleCpus *int32 `json:"idle_cpus,omitempty"` + Partitions *string `json:"partitions,omitempty"` + AllocMemory *int32 `json:"alloc_memory,omitempty"` +} + +// NewV0036Node instantiates a new V0036Node 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 +func NewV0036Node() *V0036Node { + this := V0036Node{} + return &this +} + +// NewV0036NodeWithDefaults instantiates a new V0036Node 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 +func NewV0036NodeWithDefaults() *V0036Node { + this := V0036Node{} + return &this +} + +// GetArchitecture returns the Architecture field value if set, zero value otherwise. +func (o *V0036Node) GetArchitecture() string { + if o == nil || o.Architecture == nil { + var ret string + return ret + } + return *o.Architecture +} + +// GetArchitectureOk returns a tuple with the Architecture field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetArchitectureOk() (*string, bool) { + if o == nil || o.Architecture == nil { + return nil, false + } + return o.Architecture, true +} + +// HasArchitecture returns a boolean if a field has been set. +func (o *V0036Node) HasArchitecture() bool { + if o != nil && o.Architecture != nil { + return true + } + + return false +} + +// SetArchitecture gets a reference to the given string and assigns it to the Architecture field. +func (o *V0036Node) SetArchitecture(v string) { + o.Architecture = &v +} + +// GetBurstbufferNetworkAddress returns the BurstbufferNetworkAddress field value if set, zero value otherwise. +func (o *V0036Node) GetBurstbufferNetworkAddress() string { + if o == nil || o.BurstbufferNetworkAddress == nil { + var ret string + return ret + } + return *o.BurstbufferNetworkAddress +} + +// GetBurstbufferNetworkAddressOk returns a tuple with the BurstbufferNetworkAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetBurstbufferNetworkAddressOk() (*string, bool) { + if o == nil || o.BurstbufferNetworkAddress == nil { + return nil, false + } + return o.BurstbufferNetworkAddress, true +} + +// HasBurstbufferNetworkAddress returns a boolean if a field has been set. +func (o *V0036Node) HasBurstbufferNetworkAddress() bool { + if o != nil && o.BurstbufferNetworkAddress != nil { + return true + } + + return false +} + +// SetBurstbufferNetworkAddress gets a reference to the given string and assigns it to the BurstbufferNetworkAddress field. +func (o *V0036Node) SetBurstbufferNetworkAddress(v string) { + o.BurstbufferNetworkAddress = &v +} + +// GetBoards returns the Boards field value if set, zero value otherwise. +func (o *V0036Node) GetBoards() int32 { + if o == nil || o.Boards == nil { + var ret int32 + return ret + } + return *o.Boards +} + +// GetBoardsOk returns a tuple with the Boards field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetBoardsOk() (*int32, bool) { + if o == nil || o.Boards == nil { + return nil, false + } + return o.Boards, true +} + +// HasBoards returns a boolean if a field has been set. +func (o *V0036Node) HasBoards() bool { + if o != nil && o.Boards != nil { + return true + } + + return false +} + +// SetBoards gets a reference to the given int32 and assigns it to the Boards field. +func (o *V0036Node) SetBoards(v int32) { + o.Boards = &v +} + +// GetBootTime returns the BootTime field value if set, zero value otherwise. +func (o *V0036Node) GetBootTime() int64 { + if o == nil || o.BootTime == nil { + var ret int64 + return ret + } + return *o.BootTime +} + +// GetBootTimeOk returns a tuple with the BootTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetBootTimeOk() (*int64, bool) { + if o == nil || o.BootTime == nil { + return nil, false + } + return o.BootTime, true +} + +// HasBootTime returns a boolean if a field has been set. +func (o *V0036Node) HasBootTime() bool { + if o != nil && o.BootTime != nil { + return true + } + + return false +} + +// SetBootTime gets a reference to the given int64 and assigns it to the BootTime field. +func (o *V0036Node) SetBootTime(v int64) { + o.BootTime = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *V0036Node) GetComment() string { + if o == nil || o.Comment == nil { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetCommentOk() (*string, bool) { + if o == nil || o.Comment == nil { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *V0036Node) HasComment() bool { + if o != nil && o.Comment != nil { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *V0036Node) SetComment(v string) { + o.Comment = &v +} + +// GetCores returns the Cores field value if set, zero value otherwise. +func (o *V0036Node) GetCores() int32 { + if o == nil || o.Cores == nil { + var ret int32 + return ret + } + return *o.Cores +} + +// GetCoresOk returns a tuple with the Cores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetCoresOk() (*int32, bool) { + if o == nil || o.Cores == nil { + return nil, false + } + return o.Cores, true +} + +// HasCores returns a boolean if a field has been set. +func (o *V0036Node) HasCores() bool { + if o != nil && o.Cores != nil { + return true + } + + return false +} + +// SetCores gets a reference to the given int32 and assigns it to the Cores field. +func (o *V0036Node) SetCores(v int32) { + o.Cores = &v +} + +// GetCpuBinding returns the CpuBinding field value if set, zero value otherwise. +func (o *V0036Node) GetCpuBinding() int32 { + if o == nil || o.CpuBinding == nil { + var ret int32 + return ret + } + return *o.CpuBinding +} + +// GetCpuBindingOk returns a tuple with the CpuBinding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetCpuBindingOk() (*int32, bool) { + if o == nil || o.CpuBinding == nil { + return nil, false + } + return o.CpuBinding, true +} + +// HasCpuBinding returns a boolean if a field has been set. +func (o *V0036Node) HasCpuBinding() bool { + if o != nil && o.CpuBinding != nil { + return true + } + + return false +} + +// SetCpuBinding gets a reference to the given int32 and assigns it to the CpuBinding field. +func (o *V0036Node) SetCpuBinding(v int32) { + o.CpuBinding = &v +} + +// GetCpuLoad returns the CpuLoad field value if set, zero value otherwise. +func (o *V0036Node) GetCpuLoad() int64 { + if o == nil || o.CpuLoad == nil { + var ret int64 + return ret + } + return *o.CpuLoad +} + +// GetCpuLoadOk returns a tuple with the CpuLoad field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetCpuLoadOk() (*int64, bool) { + if o == nil || o.CpuLoad == nil { + return nil, false + } + return o.CpuLoad, true +} + +// HasCpuLoad returns a boolean if a field has been set. +func (o *V0036Node) HasCpuLoad() bool { + if o != nil && o.CpuLoad != nil { + return true + } + + return false +} + +// SetCpuLoad gets a reference to the given int64 and assigns it to the CpuLoad field. +func (o *V0036Node) SetCpuLoad(v int64) { + o.CpuLoad = &v +} + +// GetFreeMemory returns the FreeMemory field value if set, zero value otherwise. +func (o *V0036Node) GetFreeMemory() int32 { + if o == nil || o.FreeMemory == nil { + var ret int32 + return ret + } + return *o.FreeMemory +} + +// GetFreeMemoryOk returns a tuple with the FreeMemory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetFreeMemoryOk() (*int32, bool) { + if o == nil || o.FreeMemory == nil { + return nil, false + } + return o.FreeMemory, true +} + +// HasFreeMemory returns a boolean if a field has been set. +func (o *V0036Node) HasFreeMemory() bool { + if o != nil && o.FreeMemory != nil { + return true + } + + return false +} + +// SetFreeMemory gets a reference to the given int32 and assigns it to the FreeMemory field. +func (o *V0036Node) SetFreeMemory(v int32) { + o.FreeMemory = &v +} + +// GetCpus returns the Cpus field value if set, zero value otherwise. +func (o *V0036Node) GetCpus() int32 { + if o == nil || o.Cpus == nil { + var ret int32 + return ret + } + return *o.Cpus +} + +// GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetCpusOk() (*int32, bool) { + if o == nil || o.Cpus == nil { + return nil, false + } + return o.Cpus, true +} + +// HasCpus returns a boolean if a field has been set. +func (o *V0036Node) HasCpus() bool { + if o != nil && o.Cpus != nil { + return true + } + + return false +} + +// SetCpus gets a reference to the given int32 and assigns it to the Cpus field. +func (o *V0036Node) SetCpus(v int32) { + o.Cpus = &v +} + +// GetFeatures returns the Features field value if set, zero value otherwise. +func (o *V0036Node) GetFeatures() string { + if o == nil || o.Features == nil { + var ret string + return ret + } + return *o.Features +} + +// GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetFeaturesOk() (*string, bool) { + if o == nil || o.Features == nil { + return nil, false + } + return o.Features, true +} + +// HasFeatures returns a boolean if a field has been set. +func (o *V0036Node) HasFeatures() bool { + if o != nil && o.Features != nil { + return true + } + + return false +} + +// SetFeatures gets a reference to the given string and assigns it to the Features field. +func (o *V0036Node) SetFeatures(v string) { + o.Features = &v +} + +// GetActiveFeatures returns the ActiveFeatures field value if set, zero value otherwise. +func (o *V0036Node) GetActiveFeatures() string { + if o == nil || o.ActiveFeatures == nil { + var ret string + return ret + } + return *o.ActiveFeatures +} + +// GetActiveFeaturesOk returns a tuple with the ActiveFeatures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetActiveFeaturesOk() (*string, bool) { + if o == nil || o.ActiveFeatures == nil { + return nil, false + } + return o.ActiveFeatures, true +} + +// HasActiveFeatures returns a boolean if a field has been set. +func (o *V0036Node) HasActiveFeatures() bool { + if o != nil && o.ActiveFeatures != nil { + return true + } + + return false +} + +// SetActiveFeatures gets a reference to the given string and assigns it to the ActiveFeatures field. +func (o *V0036Node) SetActiveFeatures(v string) { + o.ActiveFeatures = &v +} + +// GetGres returns the Gres field value if set, zero value otherwise. +func (o *V0036Node) GetGres() string { + if o == nil || o.Gres == nil { + var ret string + return ret + } + return *o.Gres +} + +// GetGresOk returns a tuple with the Gres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetGresOk() (*string, bool) { + if o == nil || o.Gres == nil { + return nil, false + } + return o.Gres, true +} + +// HasGres returns a boolean if a field has been set. +func (o *V0036Node) HasGres() bool { + if o != nil && o.Gres != nil { + return true + } + + return false +} + +// SetGres gets a reference to the given string and assigns it to the Gres field. +func (o *V0036Node) SetGres(v string) { + o.Gres = &v +} + +// GetGresDrained returns the GresDrained field value if set, zero value otherwise. +func (o *V0036Node) GetGresDrained() string { + if o == nil || o.GresDrained == nil { + var ret string + return ret + } + return *o.GresDrained +} + +// GetGresDrainedOk returns a tuple with the GresDrained field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetGresDrainedOk() (*string, bool) { + if o == nil || o.GresDrained == nil { + return nil, false + } + return o.GresDrained, true +} + +// HasGresDrained returns a boolean if a field has been set. +func (o *V0036Node) HasGresDrained() bool { + if o != nil && o.GresDrained != nil { + return true + } + + return false +} + +// SetGresDrained gets a reference to the given string and assigns it to the GresDrained field. +func (o *V0036Node) SetGresDrained(v string) { + o.GresDrained = &v +} + +// GetGresUsed returns the GresUsed field value if set, zero value otherwise. +func (o *V0036Node) GetGresUsed() string { + if o == nil || o.GresUsed == nil { + var ret string + return ret + } + return *o.GresUsed +} + +// GetGresUsedOk returns a tuple with the GresUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetGresUsedOk() (*string, bool) { + if o == nil || o.GresUsed == nil { + return nil, false + } + return o.GresUsed, true +} + +// HasGresUsed returns a boolean if a field has been set. +func (o *V0036Node) HasGresUsed() bool { + if o != nil && o.GresUsed != nil { + return true + } + + return false +} + +// SetGresUsed gets a reference to the given string and assigns it to the GresUsed field. +func (o *V0036Node) SetGresUsed(v string) { + o.GresUsed = &v +} + +// GetMcsLabel returns the McsLabel field value if set, zero value otherwise. +func (o *V0036Node) GetMcsLabel() string { + if o == nil || o.McsLabel == nil { + var ret string + return ret + } + return *o.McsLabel +} + +// GetMcsLabelOk returns a tuple with the McsLabel field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetMcsLabelOk() (*string, bool) { + if o == nil || o.McsLabel == nil { + return nil, false + } + return o.McsLabel, true +} + +// HasMcsLabel returns a boolean if a field has been set. +func (o *V0036Node) HasMcsLabel() bool { + if o != nil && o.McsLabel != nil { + return true + } + + return false +} + +// SetMcsLabel gets a reference to the given string and assigns it to the McsLabel field. +func (o *V0036Node) SetMcsLabel(v string) { + o.McsLabel = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *V0036Node) GetName() string { + if o == nil || o.Name == nil { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetNameOk() (*string, bool) { + if o == nil || o.Name == nil { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *V0036Node) HasName() bool { + if o != nil && o.Name != nil { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *V0036Node) SetName(v string) { + o.Name = &v +} + +// GetNextStateAfterReboot returns the NextStateAfterReboot field value if set, zero value otherwise. +func (o *V0036Node) GetNextStateAfterReboot() string { + if o == nil || o.NextStateAfterReboot == nil { + var ret string + return ret + } + return *o.NextStateAfterReboot +} + +// GetNextStateAfterRebootOk returns a tuple with the NextStateAfterReboot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetNextStateAfterRebootOk() (*string, bool) { + if o == nil || o.NextStateAfterReboot == nil { + return nil, false + } + return o.NextStateAfterReboot, true +} + +// HasNextStateAfterReboot returns a boolean if a field has been set. +func (o *V0036Node) HasNextStateAfterReboot() bool { + if o != nil && o.NextStateAfterReboot != nil { + return true + } + + return false +} + +// SetNextStateAfterReboot gets a reference to the given string and assigns it to the NextStateAfterReboot field. +func (o *V0036Node) SetNextStateAfterReboot(v string) { + o.NextStateAfterReboot = &v +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *V0036Node) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *V0036Node) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *V0036Node) SetAddress(v string) { + o.Address = &v +} + +// GetHostname returns the Hostname field value if set, zero value otherwise. +func (o *V0036Node) GetHostname() string { + if o == nil || o.Hostname == nil { + var ret string + return ret + } + return *o.Hostname +} + +// GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetHostnameOk() (*string, bool) { + if o == nil || o.Hostname == nil { + return nil, false + } + return o.Hostname, true +} + +// HasHostname returns a boolean if a field has been set. +func (o *V0036Node) HasHostname() bool { + if o != nil && o.Hostname != nil { + return true + } + + return false +} + +// SetHostname gets a reference to the given string and assigns it to the Hostname field. +func (o *V0036Node) SetHostname(v string) { + o.Hostname = &v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *V0036Node) GetState() string { + if o == nil || o.State == nil { + var ret string + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetStateOk() (*string, bool) { + if o == nil || o.State == nil { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *V0036Node) HasState() bool { + if o != nil && o.State != nil { + return true + } + + return false +} + +// SetState gets a reference to the given string and assigns it to the State field. +func (o *V0036Node) SetState(v string) { + o.State = &v +} + +// GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise. +func (o *V0036Node) GetOperatingSystem() string { + if o == nil || o.OperatingSystem == nil { + var ret string + return ret + } + return *o.OperatingSystem +} + +// GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetOperatingSystemOk() (*string, bool) { + if o == nil || o.OperatingSystem == nil { + return nil, false + } + return o.OperatingSystem, true +} + +// HasOperatingSystem returns a boolean if a field has been set. +func (o *V0036Node) HasOperatingSystem() bool { + if o != nil && o.OperatingSystem != nil { + return true + } + + return false +} + +// SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field. +func (o *V0036Node) SetOperatingSystem(v string) { + o.OperatingSystem = &v +} + +// GetOwner returns the Owner field value if set, zero value otherwise. +func (o *V0036Node) GetOwner() string { + if o == nil || o.Owner == nil { + var ret string + return ret + } + return *o.Owner +} + +// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetOwnerOk() (*string, bool) { + if o == nil || o.Owner == nil { + return nil, false + } + return o.Owner, true +} + +// HasOwner returns a boolean if a field has been set. +func (o *V0036Node) HasOwner() bool { + if o != nil && o.Owner != nil { + return true + } + + return false +} + +// SetOwner gets a reference to the given string and assigns it to the Owner field. +func (o *V0036Node) SetOwner(v string) { + o.Owner = &v +} + +// GetPort returns the Port field value if set, zero value otherwise. +func (o *V0036Node) GetPort() int32 { + if o == nil || o.Port == nil { + var ret int32 + return ret + } + return *o.Port +} + +// GetPortOk returns a tuple with the Port field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetPortOk() (*int32, bool) { + if o == nil || o.Port == nil { + return nil, false + } + return o.Port, true +} + +// HasPort returns a boolean if a field has been set. +func (o *V0036Node) HasPort() bool { + if o != nil && o.Port != nil { + return true + } + + return false +} + +// SetPort gets a reference to the given int32 and assigns it to the Port field. +func (o *V0036Node) SetPort(v int32) { + o.Port = &v +} + +// GetRealMemory returns the RealMemory field value if set, zero value otherwise. +func (o *V0036Node) GetRealMemory() int32 { + if o == nil || o.RealMemory == nil { + var ret int32 + return ret + } + return *o.RealMemory +} + +// GetRealMemoryOk returns a tuple with the RealMemory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetRealMemoryOk() (*int32, bool) { + if o == nil || o.RealMemory == nil { + return nil, false + } + return o.RealMemory, true +} + +// HasRealMemory returns a boolean if a field has been set. +func (o *V0036Node) HasRealMemory() bool { + if o != nil && o.RealMemory != nil { + return true + } + + return false +} + +// SetRealMemory gets a reference to the given int32 and assigns it to the RealMemory field. +func (o *V0036Node) SetRealMemory(v int32) { + o.RealMemory = &v +} + +// GetReason returns the Reason field value if set, zero value otherwise. +func (o *V0036Node) GetReason() string { + if o == nil || o.Reason == nil { + var ret string + return ret + } + return *o.Reason +} + +// GetReasonOk returns a tuple with the Reason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetReasonOk() (*string, bool) { + if o == nil || o.Reason == nil { + return nil, false + } + return o.Reason, true +} + +// HasReason returns a boolean if a field has been set. +func (o *V0036Node) HasReason() bool { + if o != nil && o.Reason != nil { + return true + } + + return false +} + +// SetReason gets a reference to the given string and assigns it to the Reason field. +func (o *V0036Node) SetReason(v string) { + o.Reason = &v +} + +// GetReasonChangedAt returns the ReasonChangedAt field value if set, zero value otherwise. +func (o *V0036Node) GetReasonChangedAt() int32 { + if o == nil || o.ReasonChangedAt == nil { + var ret int32 + return ret + } + return *o.ReasonChangedAt +} + +// GetReasonChangedAtOk returns a tuple with the ReasonChangedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetReasonChangedAtOk() (*int32, bool) { + if o == nil || o.ReasonChangedAt == nil { + return nil, false + } + return o.ReasonChangedAt, true +} + +// HasReasonChangedAt returns a boolean if a field has been set. +func (o *V0036Node) HasReasonChangedAt() bool { + if o != nil && o.ReasonChangedAt != nil { + return true + } + + return false +} + +// SetReasonChangedAt gets a reference to the given int32 and assigns it to the ReasonChangedAt field. +func (o *V0036Node) SetReasonChangedAt(v int32) { + o.ReasonChangedAt = &v +} + +// GetReasonSetByUser returns the ReasonSetByUser field value if set, zero value otherwise. +func (o *V0036Node) GetReasonSetByUser() string { + if o == nil || o.ReasonSetByUser == nil { + var ret string + return ret + } + return *o.ReasonSetByUser +} + +// GetReasonSetByUserOk returns a tuple with the ReasonSetByUser field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetReasonSetByUserOk() (*string, bool) { + if o == nil || o.ReasonSetByUser == nil { + return nil, false + } + return o.ReasonSetByUser, true +} + +// HasReasonSetByUser returns a boolean if a field has been set. +func (o *V0036Node) HasReasonSetByUser() bool { + if o != nil && o.ReasonSetByUser != nil { + return true + } + + return false +} + +// SetReasonSetByUser gets a reference to the given string and assigns it to the ReasonSetByUser field. +func (o *V0036Node) SetReasonSetByUser(v string) { + o.ReasonSetByUser = &v +} + +// GetSlurmdStartTime returns the SlurmdStartTime field value if set, zero value otherwise. +func (o *V0036Node) GetSlurmdStartTime() int64 { + if o == nil || o.SlurmdStartTime == nil { + var ret int64 + return ret + } + return *o.SlurmdStartTime +} + +// GetSlurmdStartTimeOk returns a tuple with the SlurmdStartTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetSlurmdStartTimeOk() (*int64, bool) { + if o == nil || o.SlurmdStartTime == nil { + return nil, false + } + return o.SlurmdStartTime, true +} + +// HasSlurmdStartTime returns a boolean if a field has been set. +func (o *V0036Node) HasSlurmdStartTime() bool { + if o != nil && o.SlurmdStartTime != nil { + return true + } + + return false +} + +// SetSlurmdStartTime gets a reference to the given int64 and assigns it to the SlurmdStartTime field. +func (o *V0036Node) SetSlurmdStartTime(v int64) { + o.SlurmdStartTime = &v +} + +// GetSockets returns the Sockets field value if set, zero value otherwise. +func (o *V0036Node) GetSockets() int32 { + if o == nil || o.Sockets == nil { + var ret int32 + return ret + } + return *o.Sockets +} + +// GetSocketsOk returns a tuple with the Sockets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetSocketsOk() (*int32, bool) { + if o == nil || o.Sockets == nil { + return nil, false + } + return o.Sockets, true +} + +// HasSockets returns a boolean if a field has been set. +func (o *V0036Node) HasSockets() bool { + if o != nil && o.Sockets != nil { + return true + } + + return false +} + +// SetSockets gets a reference to the given int32 and assigns it to the Sockets field. +func (o *V0036Node) SetSockets(v int32) { + o.Sockets = &v +} + +// GetThreads returns the Threads field value if set, zero value otherwise. +func (o *V0036Node) GetThreads() int32 { + if o == nil || o.Threads == nil { + var ret int32 + return ret + } + return *o.Threads +} + +// GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetThreadsOk() (*int32, bool) { + if o == nil || o.Threads == nil { + return nil, false + } + return o.Threads, true +} + +// HasThreads returns a boolean if a field has been set. +func (o *V0036Node) HasThreads() bool { + if o != nil && o.Threads != nil { + return true + } + + return false +} + +// SetThreads gets a reference to the given int32 and assigns it to the Threads field. +func (o *V0036Node) SetThreads(v int32) { + o.Threads = &v +} + +// GetTemporaryDisk returns the TemporaryDisk field value if set, zero value otherwise. +func (o *V0036Node) GetTemporaryDisk() int32 { + if o == nil || o.TemporaryDisk == nil { + var ret int32 + return ret + } + return *o.TemporaryDisk +} + +// GetTemporaryDiskOk returns a tuple with the TemporaryDisk field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetTemporaryDiskOk() (*int32, bool) { + if o == nil || o.TemporaryDisk == nil { + return nil, false + } + return o.TemporaryDisk, true +} + +// HasTemporaryDisk returns a boolean if a field has been set. +func (o *V0036Node) HasTemporaryDisk() bool { + if o != nil && o.TemporaryDisk != nil { + return true + } + + return false +} + +// SetTemporaryDisk gets a reference to the given int32 and assigns it to the TemporaryDisk field. +func (o *V0036Node) SetTemporaryDisk(v int32) { + o.TemporaryDisk = &v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *V0036Node) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *V0036Node) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *V0036Node) SetWeight(v int32) { + o.Weight = &v +} + +// GetTres returns the Tres field value if set, zero value otherwise. +func (o *V0036Node) GetTres() string { + if o == nil || o.Tres == nil { + var ret string + return ret + } + return *o.Tres +} + +// GetTresOk returns a tuple with the Tres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetTresOk() (*string, bool) { + if o == nil || o.Tres == nil { + return nil, false + } + return o.Tres, true +} + +// HasTres returns a boolean if a field has been set. +func (o *V0036Node) HasTres() bool { + if o != nil && o.Tres != nil { + return true + } + + return false +} + +// SetTres gets a reference to the given string and assigns it to the Tres field. +func (o *V0036Node) SetTres(v string) { + o.Tres = &v +} + +// GetTresUsed returns the TresUsed field value if set, zero value otherwise. +func (o *V0036Node) GetTresUsed() string { + if o == nil || o.TresUsed == nil { + var ret string + return ret + } + return *o.TresUsed +} + +// GetTresUsedOk returns a tuple with the TresUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetTresUsedOk() (*string, bool) { + if o == nil || o.TresUsed == nil { + return nil, false + } + return o.TresUsed, true +} + +// HasTresUsed returns a boolean if a field has been set. +func (o *V0036Node) HasTresUsed() bool { + if o != nil && o.TresUsed != nil { + return true + } + + return false +} + +// SetTresUsed gets a reference to the given string and assigns it to the TresUsed field. +func (o *V0036Node) SetTresUsed(v string) { + o.TresUsed = &v +} + +// GetSlurmdVersion returns the SlurmdVersion field value if set, zero value otherwise. +func (o *V0036Node) GetSlurmdVersion() string { + if o == nil || o.SlurmdVersion == nil { + var ret string + return ret + } + return *o.SlurmdVersion +} + +// GetSlurmdVersionOk returns a tuple with the SlurmdVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetSlurmdVersionOk() (*string, bool) { + if o == nil || o.SlurmdVersion == nil { + return nil, false + } + return o.SlurmdVersion, true +} + +// HasSlurmdVersion returns a boolean if a field has been set. +func (o *V0036Node) HasSlurmdVersion() bool { + if o != nil && o.SlurmdVersion != nil { + return true + } + + return false +} + +// SetSlurmdVersion gets a reference to the given string and assigns it to the SlurmdVersion field. +func (o *V0036Node) SetSlurmdVersion(v string) { + o.SlurmdVersion = &v +} + +// GetAllocCpus returns the AllocCpus field value if set, zero value otherwise. +func (o *V0036Node) GetAllocCpus() int32 { + if o == nil || o.AllocCpus == nil { + var ret int32 + return ret + } + return *o.AllocCpus +} + +// GetAllocCpusOk returns a tuple with the AllocCpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetAllocCpusOk() (*int32, bool) { + if o == nil || o.AllocCpus == nil { + return nil, false + } + return o.AllocCpus, true +} + +// HasAllocCpus returns a boolean if a field has been set. +func (o *V0036Node) HasAllocCpus() bool { + if o != nil && o.AllocCpus != nil { + return true + } + + return false +} + +// SetAllocCpus gets a reference to the given int32 and assigns it to the AllocCpus field. +func (o *V0036Node) SetAllocCpus(v int32) { + o.AllocCpus = &v +} + +// GetIdleCpus returns the IdleCpus field value if set, zero value otherwise. +func (o *V0036Node) GetIdleCpus() int32 { + if o == nil || o.IdleCpus == nil { + var ret int32 + return ret + } + return *o.IdleCpus +} + +// GetIdleCpusOk returns a tuple with the IdleCpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetIdleCpusOk() (*int32, bool) { + if o == nil || o.IdleCpus == nil { + return nil, false + } + return o.IdleCpus, true +} + +// HasIdleCpus returns a boolean if a field has been set. +func (o *V0036Node) HasIdleCpus() bool { + if o != nil && o.IdleCpus != nil { + return true + } + + return false +} + +// SetIdleCpus gets a reference to the given int32 and assigns it to the IdleCpus field. +func (o *V0036Node) SetIdleCpus(v int32) { + o.IdleCpus = &v +} + +// GetPartitions returns the Partitions field value if set, zero value otherwise. +func (o *V0036Node) GetPartitions() string { + if o == nil || o.Partitions == nil { + var ret string + return ret + } + return *o.Partitions +} + +// GetPartitionsOk returns a tuple with the Partitions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetPartitionsOk() (*string, bool) { + if o == nil || o.Partitions == nil { + return nil, false + } + return o.Partitions, true +} + +// HasPartitions returns a boolean if a field has been set. +func (o *V0036Node) HasPartitions() bool { + if o != nil && o.Partitions != nil { + return true + } + + return false +} + +// SetPartitions gets a reference to the given string and assigns it to the Partitions field. +func (o *V0036Node) SetPartitions(v string) { + o.Partitions = &v +} + +// GetAllocMemory returns the AllocMemory field value if set, zero value otherwise. +func (o *V0036Node) GetAllocMemory() int32 { + if o == nil || o.AllocMemory == nil { + var ret int32 + return ret + } + return *o.AllocMemory +} + +// GetAllocMemoryOk returns a tuple with the AllocMemory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Node) GetAllocMemoryOk() (*int32, bool) { + if o == nil || o.AllocMemory == nil { + return nil, false + } + return o.AllocMemory, true +} + +// HasAllocMemory returns a boolean if a field has been set. +func (o *V0036Node) HasAllocMemory() bool { + if o != nil && o.AllocMemory != nil { + return true + } + + return false +} + +// SetAllocMemory gets a reference to the given int32 and assigns it to the AllocMemory field. +func (o *V0036Node) SetAllocMemory(v int32) { + o.AllocMemory = &v +} + +func (o V0036Node) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Architecture != nil { + toSerialize["architecture"] = o.Architecture + } + if o.BurstbufferNetworkAddress != nil { + toSerialize["burstbuffer_network_address"] = o.BurstbufferNetworkAddress + } + if o.Boards != nil { + toSerialize["boards"] = o.Boards + } + if o.BootTime != nil { + toSerialize["boot_time"] = o.BootTime + } + if o.Comment != nil { + toSerialize["comment"] = o.Comment + } + if o.Cores != nil { + toSerialize["cores"] = o.Cores + } + if o.CpuBinding != nil { + toSerialize["cpu_binding"] = o.CpuBinding + } + if o.CpuLoad != nil { + toSerialize["cpu_load"] = o.CpuLoad + } + if o.FreeMemory != nil { + toSerialize["free_memory"] = o.FreeMemory + } + if o.Cpus != nil { + toSerialize["cpus"] = o.Cpus + } + if o.Features != nil { + toSerialize["features"] = o.Features + } + if o.ActiveFeatures != nil { + toSerialize["active_features"] = o.ActiveFeatures + } + if o.Gres != nil { + toSerialize["gres"] = o.Gres + } + if o.GresDrained != nil { + toSerialize["gres_drained"] = o.GresDrained + } + if o.GresUsed != nil { + toSerialize["gres_used"] = o.GresUsed + } + if o.McsLabel != nil { + toSerialize["mcs_label"] = o.McsLabel + } + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.NextStateAfterReboot != nil { + toSerialize["next_state_after_reboot"] = o.NextStateAfterReboot + } + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.Hostname != nil { + toSerialize["hostname"] = o.Hostname + } + if o.State != nil { + toSerialize["state"] = o.State + } + if o.OperatingSystem != nil { + toSerialize["operating_system"] = o.OperatingSystem + } + if o.Owner != nil { + toSerialize["owner"] = o.Owner + } + if o.Port != nil { + toSerialize["port"] = o.Port + } + if o.RealMemory != nil { + toSerialize["real_memory"] = o.RealMemory + } + if o.Reason != nil { + toSerialize["reason"] = o.Reason + } + if o.ReasonChangedAt != nil { + toSerialize["reason_changed_at"] = o.ReasonChangedAt + } + if o.ReasonSetByUser != nil { + toSerialize["reason_set_by_user"] = o.ReasonSetByUser + } + if o.SlurmdStartTime != nil { + toSerialize["slurmd_start_time"] = o.SlurmdStartTime + } + if o.Sockets != nil { + toSerialize["sockets"] = o.Sockets + } + if o.Threads != nil { + toSerialize["threads"] = o.Threads + } + if o.TemporaryDisk != nil { + toSerialize["temporary_disk"] = o.TemporaryDisk + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + if o.Tres != nil { + toSerialize["tres"] = o.Tres + } + if o.TresUsed != nil { + toSerialize["tres_used"] = o.TresUsed + } + if o.SlurmdVersion != nil { + toSerialize["slurmd_version"] = o.SlurmdVersion + } + if o.AllocCpus != nil { + toSerialize["alloc_cpus"] = o.AllocCpus + } + if o.IdleCpus != nil { + toSerialize["idle_cpus"] = o.IdleCpus + } + if o.Partitions != nil { + toSerialize["partitions"] = o.Partitions + } + if o.AllocMemory != nil { + toSerialize["alloc_memory"] = o.AllocMemory + } + return json.Marshal(toSerialize) +} + +type NullableV0036Node struct { + value *V0036Node + isSet bool +} + +func (v NullableV0036Node) Get() *V0036Node { + return v.value +} + +func (v *NullableV0036Node) Set(val *V0036Node) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Node) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Node) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Node(val *V0036Node) *NullableV0036Node { + return &NullableV0036Node{value: val, isSet: true} +} + +func (v NullableV0036Node) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Node) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_node_allocation.go b/model_v0_0_36_node_allocation.go new file mode 100644 index 0000000..febf4e9 --- /dev/null +++ b/model_v0_0_36_node_allocation.go @@ -0,0 +1,228 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036NodeAllocation struct for V0036NodeAllocation +type V0036NodeAllocation struct { + // amount of assigned job memory + Memory *int32 `json:"memory,omitempty"` + // amount of assigned job CPUs + Cpus *map[string]interface{} `json:"cpus,omitempty"` + // assignment status of each socket by socket id + Sockets *map[string]interface{} `json:"sockets,omitempty"` + // assignment status of each core by core id + Cores *map[string]interface{} `json:"cores,omitempty"` +} + +// NewV0036NodeAllocation instantiates a new V0036NodeAllocation 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 +func NewV0036NodeAllocation() *V0036NodeAllocation { + this := V0036NodeAllocation{} + return &this +} + +// NewV0036NodeAllocationWithDefaults instantiates a new V0036NodeAllocation 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 +func NewV0036NodeAllocationWithDefaults() *V0036NodeAllocation { + this := V0036NodeAllocation{} + return &this +} + +// GetMemory returns the Memory field value if set, zero value otherwise. +func (o *V0036NodeAllocation) GetMemory() int32 { + if o == nil || o.Memory == nil { + var ret int32 + return ret + } + return *o.Memory +} + +// GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodeAllocation) GetMemoryOk() (*int32, bool) { + if o == nil || o.Memory == nil { + return nil, false + } + return o.Memory, true +} + +// HasMemory returns a boolean if a field has been set. +func (o *V0036NodeAllocation) HasMemory() bool { + if o != nil && o.Memory != nil { + return true + } + + return false +} + +// SetMemory gets a reference to the given int32 and assigns it to the Memory field. +func (o *V0036NodeAllocation) SetMemory(v int32) { + o.Memory = &v +} + +// GetCpus returns the Cpus field value if set, zero value otherwise. +func (o *V0036NodeAllocation) GetCpus() map[string]interface{} { + if o == nil || o.Cpus == nil { + var ret map[string]interface{} + return ret + } + return *o.Cpus +} + +// GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodeAllocation) GetCpusOk() (*map[string]interface{}, bool) { + if o == nil || o.Cpus == nil { + return nil, false + } + return o.Cpus, true +} + +// HasCpus returns a boolean if a field has been set. +func (o *V0036NodeAllocation) HasCpus() bool { + if o != nil && o.Cpus != nil { + return true + } + + return false +} + +// SetCpus gets a reference to the given map[string]interface{} and assigns it to the Cpus field. +func (o *V0036NodeAllocation) SetCpus(v map[string]interface{}) { + o.Cpus = &v +} + +// GetSockets returns the Sockets field value if set, zero value otherwise. +func (o *V0036NodeAllocation) GetSockets() map[string]interface{} { + if o == nil || o.Sockets == nil { + var ret map[string]interface{} + return ret + } + return *o.Sockets +} + +// GetSocketsOk returns a tuple with the Sockets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodeAllocation) GetSocketsOk() (*map[string]interface{}, bool) { + if o == nil || o.Sockets == nil { + return nil, false + } + return o.Sockets, true +} + +// HasSockets returns a boolean if a field has been set. +func (o *V0036NodeAllocation) HasSockets() bool { + if o != nil && o.Sockets != nil { + return true + } + + return false +} + +// SetSockets gets a reference to the given map[string]interface{} and assigns it to the Sockets field. +func (o *V0036NodeAllocation) SetSockets(v map[string]interface{}) { + o.Sockets = &v +} + +// GetCores returns the Cores field value if set, zero value otherwise. +func (o *V0036NodeAllocation) GetCores() map[string]interface{} { + if o == nil || o.Cores == nil { + var ret map[string]interface{} + return ret + } + return *o.Cores +} + +// GetCoresOk returns a tuple with the Cores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodeAllocation) GetCoresOk() (*map[string]interface{}, bool) { + if o == nil || o.Cores == nil { + return nil, false + } + return o.Cores, true +} + +// HasCores returns a boolean if a field has been set. +func (o *V0036NodeAllocation) HasCores() bool { + if o != nil && o.Cores != nil { + return true + } + + return false +} + +// SetCores gets a reference to the given map[string]interface{} and assigns it to the Cores field. +func (o *V0036NodeAllocation) SetCores(v map[string]interface{}) { + o.Cores = &v +} + +func (o V0036NodeAllocation) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Memory != nil { + toSerialize["memory"] = o.Memory + } + if o.Cpus != nil { + toSerialize["cpus"] = o.Cpus + } + if o.Sockets != nil { + toSerialize["sockets"] = o.Sockets + } + if o.Cores != nil { + toSerialize["cores"] = o.Cores + } + return json.Marshal(toSerialize) +} + +type NullableV0036NodeAllocation struct { + value *V0036NodeAllocation + isSet bool +} + +func (v NullableV0036NodeAllocation) Get() *V0036NodeAllocation { + return v.value +} + +func (v *NullableV0036NodeAllocation) Set(val *V0036NodeAllocation) { + v.value = val + v.isSet = true +} + +func (v NullableV0036NodeAllocation) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036NodeAllocation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036NodeAllocation(val *V0036NodeAllocation) *NullableV0036NodeAllocation { + return &NullableV0036NodeAllocation{value: val, isSet: true} +} + +func (v NullableV0036NodeAllocation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036NodeAllocation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_nodes_response.go b/model_v0_0_36_nodes_response.go new file mode 100644 index 0000000..b079f75 --- /dev/null +++ b/model_v0_0_36_nodes_response.go @@ -0,0 +1,154 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036NodesResponse struct for V0036NodesResponse +type V0036NodesResponse struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + // nodes info + Nodes *[]V0036Node `json:"nodes,omitempty"` +} + +// NewV0036NodesResponse instantiates a new V0036NodesResponse 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 +func NewV0036NodesResponse() *V0036NodesResponse { + this := V0036NodesResponse{} + return &this +} + +// NewV0036NodesResponseWithDefaults instantiates a new V0036NodesResponse 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 +func NewV0036NodesResponseWithDefaults() *V0036NodesResponse { + this := V0036NodesResponse{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036NodesResponse) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodesResponse) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036NodesResponse) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036NodesResponse) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetNodes returns the Nodes field value if set, zero value otherwise. +func (o *V0036NodesResponse) GetNodes() []V0036Node { + if o == nil || o.Nodes == nil { + var ret []V0036Node + return ret + } + return *o.Nodes +} + +// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036NodesResponse) GetNodesOk() (*[]V0036Node, bool) { + if o == nil || o.Nodes == nil { + return nil, false + } + return o.Nodes, true +} + +// HasNodes returns a boolean if a field has been set. +func (o *V0036NodesResponse) HasNodes() bool { + if o != nil && o.Nodes != nil { + return true + } + + return false +} + +// SetNodes gets a reference to the given []V0036Node and assigns it to the Nodes field. +func (o *V0036NodesResponse) SetNodes(v []V0036Node) { + o.Nodes = &v +} + +func (o V0036NodesResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.Nodes != nil { + toSerialize["nodes"] = o.Nodes + } + return json.Marshal(toSerialize) +} + +type NullableV0036NodesResponse struct { + value *V0036NodesResponse + isSet bool +} + +func (v NullableV0036NodesResponse) Get() *V0036NodesResponse { + return v.value +} + +func (v *NullableV0036NodesResponse) Set(val *V0036NodesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableV0036NodesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036NodesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036NodesResponse(val *V0036NodesResponse) *NullableV0036NodesResponse { + return &NullableV0036NodesResponse{value: val, isSet: true} +} + +func (v NullableV0036NodesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036NodesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_partition.go b/model_v0_0_36_partition.go new file mode 100644 index 0000000..e406914 --- /dev/null +++ b/model_v0_0_36_partition.go @@ -0,0 +1,1116 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Partition struct for V0036Partition +type V0036Partition struct { + // partition options + Flags *[]string `json:"flags,omitempty"` + // preemption type + PreemptionMode *[]string `json:"preemption_mode,omitempty"` + // list names of allowed allocating nodes + AllowedAllocationNodes *string `json:"allowed_allocation_nodes,omitempty"` + // comma delimited list of accounts + AllowedAccounts *string `json:"allowed_accounts,omitempty"` + // comma delimited list of groups + AllowedGroups *string `json:"allowed_groups,omitempty"` + // comma delimited list of qos + AllowedQos *string `json:"allowed_qos,omitempty"` + // name of alternate partition + Alternative *string `json:"alternative,omitempty"` + // TRES billing weights + BillingWeights *string `json:"billing_weights,omitempty"` + // default MB memory per allocated CPU + DefaultMemoryPerCpu *int64 `json:"default_memory_per_cpu,omitempty"` + // default time limit (minutes) + DefaultTimeLimit *int64 `json:"default_time_limit,omitempty"` + // comma delimited list of denied accounts + DeniedAccounts *string `json:"denied_accounts,omitempty"` + // comma delimited list of denied qos + DeniedQos *string `json:"denied_qos,omitempty"` + // preemption grace time (seconds) + PreemptionGraceTime *int64 `json:"preemption_grace_time,omitempty"` + // maximum allocated CPUs per node + MaximumCpusPerNode *int32 `json:"maximum_cpus_per_node,omitempty"` + // maximum memory per allocated CPU (MiB) + MaximumMemoryPerNode *int64 `json:"maximum_memory_per_node,omitempty"` + // Max nodes per job + MaximumNodesPerJob *int32 `json:"maximum_nodes_per_job,omitempty"` + // Max time limit per job + MaxTimeLimit *int64 `json:"max_time_limit,omitempty"` + // Min number of nodes per job + MinNodesPerJob *int32 `json:"min_nodes_per_job,omitempty"` + // Partition name + Name *string `json:"name,omitempty"` + // list names of nodes in partition + Nodes *string `json:"nodes,omitempty"` + // job's time limit can be exceeded by this number of minutes before cancellation + OverTimeLimit *int32 `json:"over_time_limit,omitempty"` + // job priority weight factor + PriorityJobFactor *int32 `json:"priority_job_factor,omitempty"` + // tier for scheduling and preemption + PriorityTier *int32 `json:"priority_tier,omitempty"` + // partition QOS name + Qos *string `json:"qos,omitempty"` + // Nodes online (ready for jobs) + NodesOnline *int32 `json:"nodes_online,omitempty"` + // Total cpus in partition + TotalCpus *int32 `json:"total_cpus,omitempty"` + // Total number of nodes in partition + TotalNodes *int32 `json:"total_nodes,omitempty"` + // configured TRES in partition + Tres *string `json:"tres,omitempty"` +} + +// NewV0036Partition instantiates a new V0036Partition 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 +func NewV0036Partition() *V0036Partition { + this := V0036Partition{} + return &this +} + +// NewV0036PartitionWithDefaults instantiates a new V0036Partition 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 +func NewV0036PartitionWithDefaults() *V0036Partition { + this := V0036Partition{} + return &this +} + +// GetFlags returns the Flags field value if set, zero value otherwise. +func (o *V0036Partition) GetFlags() []string { + if o == nil || o.Flags == nil { + var ret []string + return ret + } + return *o.Flags +} + +// GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetFlagsOk() (*[]string, bool) { + if o == nil || o.Flags == nil { + return nil, false + } + return o.Flags, true +} + +// HasFlags returns a boolean if a field has been set. +func (o *V0036Partition) HasFlags() bool { + if o != nil && o.Flags != nil { + return true + } + + return false +} + +// SetFlags gets a reference to the given []string and assigns it to the Flags field. +func (o *V0036Partition) SetFlags(v []string) { + o.Flags = &v +} + +// GetPreemptionMode returns the PreemptionMode field value if set, zero value otherwise. +func (o *V0036Partition) GetPreemptionMode() []string { + if o == nil || o.PreemptionMode == nil { + var ret []string + return ret + } + return *o.PreemptionMode +} + +// GetPreemptionModeOk returns a tuple with the PreemptionMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetPreemptionModeOk() (*[]string, bool) { + if o == nil || o.PreemptionMode == nil { + return nil, false + } + return o.PreemptionMode, true +} + +// HasPreemptionMode returns a boolean if a field has been set. +func (o *V0036Partition) HasPreemptionMode() bool { + if o != nil && o.PreemptionMode != nil { + return true + } + + return false +} + +// SetPreemptionMode gets a reference to the given []string and assigns it to the PreemptionMode field. +func (o *V0036Partition) SetPreemptionMode(v []string) { + o.PreemptionMode = &v +} + +// GetAllowedAllocationNodes returns the AllowedAllocationNodes field value if set, zero value otherwise. +func (o *V0036Partition) GetAllowedAllocationNodes() string { + if o == nil || o.AllowedAllocationNodes == nil { + var ret string + return ret + } + return *o.AllowedAllocationNodes +} + +// GetAllowedAllocationNodesOk returns a tuple with the AllowedAllocationNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetAllowedAllocationNodesOk() (*string, bool) { + if o == nil || o.AllowedAllocationNodes == nil { + return nil, false + } + return o.AllowedAllocationNodes, true +} + +// HasAllowedAllocationNodes returns a boolean if a field has been set. +func (o *V0036Partition) HasAllowedAllocationNodes() bool { + if o != nil && o.AllowedAllocationNodes != nil { + return true + } + + return false +} + +// SetAllowedAllocationNodes gets a reference to the given string and assigns it to the AllowedAllocationNodes field. +func (o *V0036Partition) SetAllowedAllocationNodes(v string) { + o.AllowedAllocationNodes = &v +} + +// GetAllowedAccounts returns the AllowedAccounts field value if set, zero value otherwise. +func (o *V0036Partition) GetAllowedAccounts() string { + if o == nil || o.AllowedAccounts == nil { + var ret string + return ret + } + return *o.AllowedAccounts +} + +// GetAllowedAccountsOk returns a tuple with the AllowedAccounts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetAllowedAccountsOk() (*string, bool) { + if o == nil || o.AllowedAccounts == nil { + return nil, false + } + return o.AllowedAccounts, true +} + +// HasAllowedAccounts returns a boolean if a field has been set. +func (o *V0036Partition) HasAllowedAccounts() bool { + if o != nil && o.AllowedAccounts != nil { + return true + } + + return false +} + +// SetAllowedAccounts gets a reference to the given string and assigns it to the AllowedAccounts field. +func (o *V0036Partition) SetAllowedAccounts(v string) { + o.AllowedAccounts = &v +} + +// GetAllowedGroups returns the AllowedGroups field value if set, zero value otherwise. +func (o *V0036Partition) GetAllowedGroups() string { + if o == nil || o.AllowedGroups == nil { + var ret string + return ret + } + return *o.AllowedGroups +} + +// GetAllowedGroupsOk returns a tuple with the AllowedGroups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetAllowedGroupsOk() (*string, bool) { + if o == nil || o.AllowedGroups == nil { + return nil, false + } + return o.AllowedGroups, true +} + +// HasAllowedGroups returns a boolean if a field has been set. +func (o *V0036Partition) HasAllowedGroups() bool { + if o != nil && o.AllowedGroups != nil { + return true + } + + return false +} + +// SetAllowedGroups gets a reference to the given string and assigns it to the AllowedGroups field. +func (o *V0036Partition) SetAllowedGroups(v string) { + o.AllowedGroups = &v +} + +// GetAllowedQos returns the AllowedQos field value if set, zero value otherwise. +func (o *V0036Partition) GetAllowedQos() string { + if o == nil || o.AllowedQos == nil { + var ret string + return ret + } + return *o.AllowedQos +} + +// GetAllowedQosOk returns a tuple with the AllowedQos field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetAllowedQosOk() (*string, bool) { + if o == nil || o.AllowedQos == nil { + return nil, false + } + return o.AllowedQos, true +} + +// HasAllowedQos returns a boolean if a field has been set. +func (o *V0036Partition) HasAllowedQos() bool { + if o != nil && o.AllowedQos != nil { + return true + } + + return false +} + +// SetAllowedQos gets a reference to the given string and assigns it to the AllowedQos field. +func (o *V0036Partition) SetAllowedQos(v string) { + o.AllowedQos = &v +} + +// GetAlternative returns the Alternative field value if set, zero value otherwise. +func (o *V0036Partition) GetAlternative() string { + if o == nil || o.Alternative == nil { + var ret string + return ret + } + return *o.Alternative +} + +// GetAlternativeOk returns a tuple with the Alternative field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetAlternativeOk() (*string, bool) { + if o == nil || o.Alternative == nil { + return nil, false + } + return o.Alternative, true +} + +// HasAlternative returns a boolean if a field has been set. +func (o *V0036Partition) HasAlternative() bool { + if o != nil && o.Alternative != nil { + return true + } + + return false +} + +// SetAlternative gets a reference to the given string and assigns it to the Alternative field. +func (o *V0036Partition) SetAlternative(v string) { + o.Alternative = &v +} + +// GetBillingWeights returns the BillingWeights field value if set, zero value otherwise. +func (o *V0036Partition) GetBillingWeights() string { + if o == nil || o.BillingWeights == nil { + var ret string + return ret + } + return *o.BillingWeights +} + +// GetBillingWeightsOk returns a tuple with the BillingWeights field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetBillingWeightsOk() (*string, bool) { + if o == nil || o.BillingWeights == nil { + return nil, false + } + return o.BillingWeights, true +} + +// HasBillingWeights returns a boolean if a field has been set. +func (o *V0036Partition) HasBillingWeights() bool { + if o != nil && o.BillingWeights != nil { + return true + } + + return false +} + +// SetBillingWeights gets a reference to the given string and assigns it to the BillingWeights field. +func (o *V0036Partition) SetBillingWeights(v string) { + o.BillingWeights = &v +} + +// GetDefaultMemoryPerCpu returns the DefaultMemoryPerCpu field value if set, zero value otherwise. +func (o *V0036Partition) GetDefaultMemoryPerCpu() int64 { + if o == nil || o.DefaultMemoryPerCpu == nil { + var ret int64 + return ret + } + return *o.DefaultMemoryPerCpu +} + +// GetDefaultMemoryPerCpuOk returns a tuple with the DefaultMemoryPerCpu field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetDefaultMemoryPerCpuOk() (*int64, bool) { + if o == nil || o.DefaultMemoryPerCpu == nil { + return nil, false + } + return o.DefaultMemoryPerCpu, true +} + +// HasDefaultMemoryPerCpu returns a boolean if a field has been set. +func (o *V0036Partition) HasDefaultMemoryPerCpu() bool { + if o != nil && o.DefaultMemoryPerCpu != nil { + return true + } + + return false +} + +// SetDefaultMemoryPerCpu gets a reference to the given int64 and assigns it to the DefaultMemoryPerCpu field. +func (o *V0036Partition) SetDefaultMemoryPerCpu(v int64) { + o.DefaultMemoryPerCpu = &v +} + +// GetDefaultTimeLimit returns the DefaultTimeLimit field value if set, zero value otherwise. +func (o *V0036Partition) GetDefaultTimeLimit() int64 { + if o == nil || o.DefaultTimeLimit == nil { + var ret int64 + return ret + } + return *o.DefaultTimeLimit +} + +// GetDefaultTimeLimitOk returns a tuple with the DefaultTimeLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetDefaultTimeLimitOk() (*int64, bool) { + if o == nil || o.DefaultTimeLimit == nil { + return nil, false + } + return o.DefaultTimeLimit, true +} + +// HasDefaultTimeLimit returns a boolean if a field has been set. +func (o *V0036Partition) HasDefaultTimeLimit() bool { + if o != nil && o.DefaultTimeLimit != nil { + return true + } + + return false +} + +// SetDefaultTimeLimit gets a reference to the given int64 and assigns it to the DefaultTimeLimit field. +func (o *V0036Partition) SetDefaultTimeLimit(v int64) { + o.DefaultTimeLimit = &v +} + +// GetDeniedAccounts returns the DeniedAccounts field value if set, zero value otherwise. +func (o *V0036Partition) GetDeniedAccounts() string { + if o == nil || o.DeniedAccounts == nil { + var ret string + return ret + } + return *o.DeniedAccounts +} + +// GetDeniedAccountsOk returns a tuple with the DeniedAccounts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetDeniedAccountsOk() (*string, bool) { + if o == nil || o.DeniedAccounts == nil { + return nil, false + } + return o.DeniedAccounts, true +} + +// HasDeniedAccounts returns a boolean if a field has been set. +func (o *V0036Partition) HasDeniedAccounts() bool { + if o != nil && o.DeniedAccounts != nil { + return true + } + + return false +} + +// SetDeniedAccounts gets a reference to the given string and assigns it to the DeniedAccounts field. +func (o *V0036Partition) SetDeniedAccounts(v string) { + o.DeniedAccounts = &v +} + +// GetDeniedQos returns the DeniedQos field value if set, zero value otherwise. +func (o *V0036Partition) GetDeniedQos() string { + if o == nil || o.DeniedQos == nil { + var ret string + return ret + } + return *o.DeniedQos +} + +// GetDeniedQosOk returns a tuple with the DeniedQos field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetDeniedQosOk() (*string, bool) { + if o == nil || o.DeniedQos == nil { + return nil, false + } + return o.DeniedQos, true +} + +// HasDeniedQos returns a boolean if a field has been set. +func (o *V0036Partition) HasDeniedQos() bool { + if o != nil && o.DeniedQos != nil { + return true + } + + return false +} + +// SetDeniedQos gets a reference to the given string and assigns it to the DeniedQos field. +func (o *V0036Partition) SetDeniedQos(v string) { + o.DeniedQos = &v +} + +// GetPreemptionGraceTime returns the PreemptionGraceTime field value if set, zero value otherwise. +func (o *V0036Partition) GetPreemptionGraceTime() int64 { + if o == nil || o.PreemptionGraceTime == nil { + var ret int64 + return ret + } + return *o.PreemptionGraceTime +} + +// GetPreemptionGraceTimeOk returns a tuple with the PreemptionGraceTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetPreemptionGraceTimeOk() (*int64, bool) { + if o == nil || o.PreemptionGraceTime == nil { + return nil, false + } + return o.PreemptionGraceTime, true +} + +// HasPreemptionGraceTime returns a boolean if a field has been set. +func (o *V0036Partition) HasPreemptionGraceTime() bool { + if o != nil && o.PreemptionGraceTime != nil { + return true + } + + return false +} + +// SetPreemptionGraceTime gets a reference to the given int64 and assigns it to the PreemptionGraceTime field. +func (o *V0036Partition) SetPreemptionGraceTime(v int64) { + o.PreemptionGraceTime = &v +} + +// GetMaximumCpusPerNode returns the MaximumCpusPerNode field value if set, zero value otherwise. +func (o *V0036Partition) GetMaximumCpusPerNode() int32 { + if o == nil || o.MaximumCpusPerNode == nil { + var ret int32 + return ret + } + return *o.MaximumCpusPerNode +} + +// GetMaximumCpusPerNodeOk returns a tuple with the MaximumCpusPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetMaximumCpusPerNodeOk() (*int32, bool) { + if o == nil || o.MaximumCpusPerNode == nil { + return nil, false + } + return o.MaximumCpusPerNode, true +} + +// HasMaximumCpusPerNode returns a boolean if a field has been set. +func (o *V0036Partition) HasMaximumCpusPerNode() bool { + if o != nil && o.MaximumCpusPerNode != nil { + return true + } + + return false +} + +// SetMaximumCpusPerNode gets a reference to the given int32 and assigns it to the MaximumCpusPerNode field. +func (o *V0036Partition) SetMaximumCpusPerNode(v int32) { + o.MaximumCpusPerNode = &v +} + +// GetMaximumMemoryPerNode returns the MaximumMemoryPerNode field value if set, zero value otherwise. +func (o *V0036Partition) GetMaximumMemoryPerNode() int64 { + if o == nil || o.MaximumMemoryPerNode == nil { + var ret int64 + return ret + } + return *o.MaximumMemoryPerNode +} + +// GetMaximumMemoryPerNodeOk returns a tuple with the MaximumMemoryPerNode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetMaximumMemoryPerNodeOk() (*int64, bool) { + if o == nil || o.MaximumMemoryPerNode == nil { + return nil, false + } + return o.MaximumMemoryPerNode, true +} + +// HasMaximumMemoryPerNode returns a boolean if a field has been set. +func (o *V0036Partition) HasMaximumMemoryPerNode() bool { + if o != nil && o.MaximumMemoryPerNode != nil { + return true + } + + return false +} + +// SetMaximumMemoryPerNode gets a reference to the given int64 and assigns it to the MaximumMemoryPerNode field. +func (o *V0036Partition) SetMaximumMemoryPerNode(v int64) { + o.MaximumMemoryPerNode = &v +} + +// GetMaximumNodesPerJob returns the MaximumNodesPerJob field value if set, zero value otherwise. +func (o *V0036Partition) GetMaximumNodesPerJob() int32 { + if o == nil || o.MaximumNodesPerJob == nil { + var ret int32 + return ret + } + return *o.MaximumNodesPerJob +} + +// GetMaximumNodesPerJobOk returns a tuple with the MaximumNodesPerJob field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetMaximumNodesPerJobOk() (*int32, bool) { + if o == nil || o.MaximumNodesPerJob == nil { + return nil, false + } + return o.MaximumNodesPerJob, true +} + +// HasMaximumNodesPerJob returns a boolean if a field has been set. +func (o *V0036Partition) HasMaximumNodesPerJob() bool { + if o != nil && o.MaximumNodesPerJob != nil { + return true + } + + return false +} + +// SetMaximumNodesPerJob gets a reference to the given int32 and assigns it to the MaximumNodesPerJob field. +func (o *V0036Partition) SetMaximumNodesPerJob(v int32) { + o.MaximumNodesPerJob = &v +} + +// GetMaxTimeLimit returns the MaxTimeLimit field value if set, zero value otherwise. +func (o *V0036Partition) GetMaxTimeLimit() int64 { + if o == nil || o.MaxTimeLimit == nil { + var ret int64 + return ret + } + return *o.MaxTimeLimit +} + +// GetMaxTimeLimitOk returns a tuple with the MaxTimeLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetMaxTimeLimitOk() (*int64, bool) { + if o == nil || o.MaxTimeLimit == nil { + return nil, false + } + return o.MaxTimeLimit, true +} + +// HasMaxTimeLimit returns a boolean if a field has been set. +func (o *V0036Partition) HasMaxTimeLimit() bool { + if o != nil && o.MaxTimeLimit != nil { + return true + } + + return false +} + +// SetMaxTimeLimit gets a reference to the given int64 and assigns it to the MaxTimeLimit field. +func (o *V0036Partition) SetMaxTimeLimit(v int64) { + o.MaxTimeLimit = &v +} + +// GetMinNodesPerJob returns the MinNodesPerJob field value if set, zero value otherwise. +func (o *V0036Partition) GetMinNodesPerJob() int32 { + if o == nil || o.MinNodesPerJob == nil { + var ret int32 + return ret + } + return *o.MinNodesPerJob +} + +// GetMinNodesPerJobOk returns a tuple with the MinNodesPerJob field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetMinNodesPerJobOk() (*int32, bool) { + if o == nil || o.MinNodesPerJob == nil { + return nil, false + } + return o.MinNodesPerJob, true +} + +// HasMinNodesPerJob returns a boolean if a field has been set. +func (o *V0036Partition) HasMinNodesPerJob() bool { + if o != nil && o.MinNodesPerJob != nil { + return true + } + + return false +} + +// SetMinNodesPerJob gets a reference to the given int32 and assigns it to the MinNodesPerJob field. +func (o *V0036Partition) SetMinNodesPerJob(v int32) { + o.MinNodesPerJob = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *V0036Partition) GetName() string { + if o == nil || o.Name == nil { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetNameOk() (*string, bool) { + if o == nil || o.Name == nil { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *V0036Partition) HasName() bool { + if o != nil && o.Name != nil { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *V0036Partition) SetName(v string) { + o.Name = &v +} + +// GetNodes returns the Nodes field value if set, zero value otherwise. +func (o *V0036Partition) GetNodes() string { + if o == nil || o.Nodes == nil { + var ret string + return ret + } + return *o.Nodes +} + +// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetNodesOk() (*string, bool) { + if o == nil || o.Nodes == nil { + return nil, false + } + return o.Nodes, true +} + +// HasNodes returns a boolean if a field has been set. +func (o *V0036Partition) HasNodes() bool { + if o != nil && o.Nodes != nil { + return true + } + + return false +} + +// SetNodes gets a reference to the given string and assigns it to the Nodes field. +func (o *V0036Partition) SetNodes(v string) { + o.Nodes = &v +} + +// GetOverTimeLimit returns the OverTimeLimit field value if set, zero value otherwise. +func (o *V0036Partition) GetOverTimeLimit() int32 { + if o == nil || o.OverTimeLimit == nil { + var ret int32 + return ret + } + return *o.OverTimeLimit +} + +// GetOverTimeLimitOk returns a tuple with the OverTimeLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetOverTimeLimitOk() (*int32, bool) { + if o == nil || o.OverTimeLimit == nil { + return nil, false + } + return o.OverTimeLimit, true +} + +// HasOverTimeLimit returns a boolean if a field has been set. +func (o *V0036Partition) HasOverTimeLimit() bool { + if o != nil && o.OverTimeLimit != nil { + return true + } + + return false +} + +// SetOverTimeLimit gets a reference to the given int32 and assigns it to the OverTimeLimit field. +func (o *V0036Partition) SetOverTimeLimit(v int32) { + o.OverTimeLimit = &v +} + +// GetPriorityJobFactor returns the PriorityJobFactor field value if set, zero value otherwise. +func (o *V0036Partition) GetPriorityJobFactor() int32 { + if o == nil || o.PriorityJobFactor == nil { + var ret int32 + return ret + } + return *o.PriorityJobFactor +} + +// GetPriorityJobFactorOk returns a tuple with the PriorityJobFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetPriorityJobFactorOk() (*int32, bool) { + if o == nil || o.PriorityJobFactor == nil { + return nil, false + } + return o.PriorityJobFactor, true +} + +// HasPriorityJobFactor returns a boolean if a field has been set. +func (o *V0036Partition) HasPriorityJobFactor() bool { + if o != nil && o.PriorityJobFactor != nil { + return true + } + + return false +} + +// SetPriorityJobFactor gets a reference to the given int32 and assigns it to the PriorityJobFactor field. +func (o *V0036Partition) SetPriorityJobFactor(v int32) { + o.PriorityJobFactor = &v +} + +// GetPriorityTier returns the PriorityTier field value if set, zero value otherwise. +func (o *V0036Partition) GetPriorityTier() int32 { + if o == nil || o.PriorityTier == nil { + var ret int32 + return ret + } + return *o.PriorityTier +} + +// GetPriorityTierOk returns a tuple with the PriorityTier field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetPriorityTierOk() (*int32, bool) { + if o == nil || o.PriorityTier == nil { + return nil, false + } + return o.PriorityTier, true +} + +// HasPriorityTier returns a boolean if a field has been set. +func (o *V0036Partition) HasPriorityTier() bool { + if o != nil && o.PriorityTier != nil { + return true + } + + return false +} + +// SetPriorityTier gets a reference to the given int32 and assigns it to the PriorityTier field. +func (o *V0036Partition) SetPriorityTier(v int32) { + o.PriorityTier = &v +} + +// GetQos returns the Qos field value if set, zero value otherwise. +func (o *V0036Partition) GetQos() string { + if o == nil || o.Qos == nil { + var ret string + return ret + } + return *o.Qos +} + +// GetQosOk returns a tuple with the Qos field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetQosOk() (*string, bool) { + if o == nil || o.Qos == nil { + return nil, false + } + return o.Qos, true +} + +// HasQos returns a boolean if a field has been set. +func (o *V0036Partition) HasQos() bool { + if o != nil && o.Qos != nil { + return true + } + + return false +} + +// SetQos gets a reference to the given string and assigns it to the Qos field. +func (o *V0036Partition) SetQos(v string) { + o.Qos = &v +} + +// GetNodesOnline returns the NodesOnline field value if set, zero value otherwise. +func (o *V0036Partition) GetNodesOnline() int32 { + if o == nil || o.NodesOnline == nil { + var ret int32 + return ret + } + return *o.NodesOnline +} + +// GetNodesOnlineOk returns a tuple with the NodesOnline field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetNodesOnlineOk() (*int32, bool) { + if o == nil || o.NodesOnline == nil { + return nil, false + } + return o.NodesOnline, true +} + +// HasNodesOnline returns a boolean if a field has been set. +func (o *V0036Partition) HasNodesOnline() bool { + if o != nil && o.NodesOnline != nil { + return true + } + + return false +} + +// SetNodesOnline gets a reference to the given int32 and assigns it to the NodesOnline field. +func (o *V0036Partition) SetNodesOnline(v int32) { + o.NodesOnline = &v +} + +// GetTotalCpus returns the TotalCpus field value if set, zero value otherwise. +func (o *V0036Partition) GetTotalCpus() int32 { + if o == nil || o.TotalCpus == nil { + var ret int32 + return ret + } + return *o.TotalCpus +} + +// GetTotalCpusOk returns a tuple with the TotalCpus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetTotalCpusOk() (*int32, bool) { + if o == nil || o.TotalCpus == nil { + return nil, false + } + return o.TotalCpus, true +} + +// HasTotalCpus returns a boolean if a field has been set. +func (o *V0036Partition) HasTotalCpus() bool { + if o != nil && o.TotalCpus != nil { + return true + } + + return false +} + +// SetTotalCpus gets a reference to the given int32 and assigns it to the TotalCpus field. +func (o *V0036Partition) SetTotalCpus(v int32) { + o.TotalCpus = &v +} + +// GetTotalNodes returns the TotalNodes field value if set, zero value otherwise. +func (o *V0036Partition) GetTotalNodes() int32 { + if o == nil || o.TotalNodes == nil { + var ret int32 + return ret + } + return *o.TotalNodes +} + +// GetTotalNodesOk returns a tuple with the TotalNodes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetTotalNodesOk() (*int32, bool) { + if o == nil || o.TotalNodes == nil { + return nil, false + } + return o.TotalNodes, true +} + +// HasTotalNodes returns a boolean if a field has been set. +func (o *V0036Partition) HasTotalNodes() bool { + if o != nil && o.TotalNodes != nil { + return true + } + + return false +} + +// SetTotalNodes gets a reference to the given int32 and assigns it to the TotalNodes field. +func (o *V0036Partition) SetTotalNodes(v int32) { + o.TotalNodes = &v +} + +// GetTres returns the Tres field value if set, zero value otherwise. +func (o *V0036Partition) GetTres() string { + if o == nil || o.Tres == nil { + var ret string + return ret + } + return *o.Tres +} + +// GetTresOk returns a tuple with the Tres field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Partition) GetTresOk() (*string, bool) { + if o == nil || o.Tres == nil { + return nil, false + } + return o.Tres, true +} + +// HasTres returns a boolean if a field has been set. +func (o *V0036Partition) HasTres() bool { + if o != nil && o.Tres != nil { + return true + } + + return false +} + +// SetTres gets a reference to the given string and assigns it to the Tres field. +func (o *V0036Partition) SetTres(v string) { + o.Tres = &v +} + +func (o V0036Partition) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Flags != nil { + toSerialize["flags"] = o.Flags + } + if o.PreemptionMode != nil { + toSerialize["preemption_mode"] = o.PreemptionMode + } + if o.AllowedAllocationNodes != nil { + toSerialize["allowed_allocation_nodes"] = o.AllowedAllocationNodes + } + if o.AllowedAccounts != nil { + toSerialize["allowed_accounts"] = o.AllowedAccounts + } + if o.AllowedGroups != nil { + toSerialize["allowed_groups"] = o.AllowedGroups + } + if o.AllowedQos != nil { + toSerialize["allowed_qos"] = o.AllowedQos + } + if o.Alternative != nil { + toSerialize["alternative"] = o.Alternative + } + if o.BillingWeights != nil { + toSerialize["billing_weights"] = o.BillingWeights + } + if o.DefaultMemoryPerCpu != nil { + toSerialize["default_memory_per_cpu"] = o.DefaultMemoryPerCpu + } + if o.DefaultTimeLimit != nil { + toSerialize["default_time_limit"] = o.DefaultTimeLimit + } + if o.DeniedAccounts != nil { + toSerialize["denied_accounts"] = o.DeniedAccounts + } + if o.DeniedQos != nil { + toSerialize["denied_qos"] = o.DeniedQos + } + if o.PreemptionGraceTime != nil { + toSerialize["preemption_grace_time"] = o.PreemptionGraceTime + } + if o.MaximumCpusPerNode != nil { + toSerialize["maximum_cpus_per_node"] = o.MaximumCpusPerNode + } + if o.MaximumMemoryPerNode != nil { + toSerialize["maximum_memory_per_node"] = o.MaximumMemoryPerNode + } + if o.MaximumNodesPerJob != nil { + toSerialize["maximum_nodes_per_job"] = o.MaximumNodesPerJob + } + if o.MaxTimeLimit != nil { + toSerialize["max_time_limit"] = o.MaxTimeLimit + } + if o.MinNodesPerJob != nil { + toSerialize["min_nodes_per_job"] = o.MinNodesPerJob + } + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Nodes != nil { + toSerialize["nodes"] = o.Nodes + } + if o.OverTimeLimit != nil { + toSerialize["over_time_limit"] = o.OverTimeLimit + } + if o.PriorityJobFactor != nil { + toSerialize["priority_job_factor"] = o.PriorityJobFactor + } + if o.PriorityTier != nil { + toSerialize["priority_tier"] = o.PriorityTier + } + if o.Qos != nil { + toSerialize["qos"] = o.Qos + } + if o.NodesOnline != nil { + toSerialize["nodes_online"] = o.NodesOnline + } + if o.TotalCpus != nil { + toSerialize["total_cpus"] = o.TotalCpus + } + if o.TotalNodes != nil { + toSerialize["total_nodes"] = o.TotalNodes + } + if o.Tres != nil { + toSerialize["tres"] = o.Tres + } + return json.Marshal(toSerialize) +} + +type NullableV0036Partition struct { + value *V0036Partition + isSet bool +} + +func (v NullableV0036Partition) Get() *V0036Partition { + return v.value +} + +func (v *NullableV0036Partition) Set(val *V0036Partition) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Partition) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Partition) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Partition(val *V0036Partition) *NullableV0036Partition { + return &NullableV0036Partition{value: val, isSet: true} +} + +func (v NullableV0036Partition) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Partition) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_partitions_response.go b/model_v0_0_36_partitions_response.go new file mode 100644 index 0000000..b3bb299 --- /dev/null +++ b/model_v0_0_36_partitions_response.go @@ -0,0 +1,154 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036PartitionsResponse struct for V0036PartitionsResponse +type V0036PartitionsResponse struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + // partition info + Partitions *[]V0036Partition `json:"partitions,omitempty"` +} + +// NewV0036PartitionsResponse instantiates a new V0036PartitionsResponse 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 +func NewV0036PartitionsResponse() *V0036PartitionsResponse { + this := V0036PartitionsResponse{} + return &this +} + +// NewV0036PartitionsResponseWithDefaults instantiates a new V0036PartitionsResponse 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 +func NewV0036PartitionsResponseWithDefaults() *V0036PartitionsResponse { + this := V0036PartitionsResponse{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036PartitionsResponse) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036PartitionsResponse) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036PartitionsResponse) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036PartitionsResponse) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetPartitions returns the Partitions field value if set, zero value otherwise. +func (o *V0036PartitionsResponse) GetPartitions() []V0036Partition { + if o == nil || o.Partitions == nil { + var ret []V0036Partition + return ret + } + return *o.Partitions +} + +// GetPartitionsOk returns a tuple with the Partitions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036PartitionsResponse) GetPartitionsOk() (*[]V0036Partition, bool) { + if o == nil || o.Partitions == nil { + return nil, false + } + return o.Partitions, true +} + +// HasPartitions returns a boolean if a field has been set. +func (o *V0036PartitionsResponse) HasPartitions() bool { + if o != nil && o.Partitions != nil { + return true + } + + return false +} + +// SetPartitions gets a reference to the given []V0036Partition and assigns it to the Partitions field. +func (o *V0036PartitionsResponse) SetPartitions(v []V0036Partition) { + o.Partitions = &v +} + +func (o V0036PartitionsResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.Partitions != nil { + toSerialize["partitions"] = o.Partitions + } + return json.Marshal(toSerialize) +} + +type NullableV0036PartitionsResponse struct { + value *V0036PartitionsResponse + isSet bool +} + +func (v NullableV0036PartitionsResponse) Get() *V0036PartitionsResponse { + return v.value +} + +func (v *NullableV0036PartitionsResponse) Set(val *V0036PartitionsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableV0036PartitionsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036PartitionsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036PartitionsResponse(val *V0036PartitionsResponse) *NullableV0036PartitionsResponse { + return &NullableV0036PartitionsResponse{value: val, isSet: true} +} + +func (v NullableV0036PartitionsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036PartitionsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_ping.go b/model_v0_0_36_ping.go new file mode 100644 index 0000000..e6ef8d2 --- /dev/null +++ b/model_v0_0_36_ping.go @@ -0,0 +1,228 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Ping struct for V0036Ping +type V0036Ping struct { + // slurm controller hostname + Hostname *string `json:"hostname,omitempty"` + // slurm controller host up + Ping *string `json:"ping,omitempty"` + // slurm controller mode + Mode *string `json:"mode,omitempty"` + // slurm controller status + Status *int32 `json:"status,omitempty"` +} + +// NewV0036Ping instantiates a new V0036Ping 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 +func NewV0036Ping() *V0036Ping { + this := V0036Ping{} + return &this +} + +// NewV0036PingWithDefaults instantiates a new V0036Ping 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 +func NewV0036PingWithDefaults() *V0036Ping { + this := V0036Ping{} + return &this +} + +// GetHostname returns the Hostname field value if set, zero value otherwise. +func (o *V0036Ping) GetHostname() string { + if o == nil || o.Hostname == nil { + var ret string + return ret + } + return *o.Hostname +} + +// GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Ping) GetHostnameOk() (*string, bool) { + if o == nil || o.Hostname == nil { + return nil, false + } + return o.Hostname, true +} + +// HasHostname returns a boolean if a field has been set. +func (o *V0036Ping) HasHostname() bool { + if o != nil && o.Hostname != nil { + return true + } + + return false +} + +// SetHostname gets a reference to the given string and assigns it to the Hostname field. +func (o *V0036Ping) SetHostname(v string) { + o.Hostname = &v +} + +// GetPing returns the Ping field value if set, zero value otherwise. +func (o *V0036Ping) GetPing() string { + if o == nil || o.Ping == nil { + var ret string + return ret + } + return *o.Ping +} + +// GetPingOk returns a tuple with the Ping field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Ping) GetPingOk() (*string, bool) { + if o == nil || o.Ping == nil { + return nil, false + } + return o.Ping, true +} + +// HasPing returns a boolean if a field has been set. +func (o *V0036Ping) HasPing() bool { + if o != nil && o.Ping != nil { + return true + } + + return false +} + +// SetPing gets a reference to the given string and assigns it to the Ping field. +func (o *V0036Ping) SetPing(v string) { + o.Ping = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *V0036Ping) GetMode() string { + if o == nil || o.Mode == nil { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Ping) GetModeOk() (*string, bool) { + if o == nil || o.Mode == nil { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *V0036Ping) HasMode() bool { + if o != nil && o.Mode != nil { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *V0036Ping) SetMode(v string) { + o.Mode = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *V0036Ping) GetStatus() int32 { + if o == nil || o.Status == nil { + var ret int32 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Ping) GetStatusOk() (*int32, bool) { + if o == nil || o.Status == nil { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *V0036Ping) HasStatus() bool { + if o != nil && o.Status != nil { + return true + } + + return false +} + +// SetStatus gets a reference to the given int32 and assigns it to the Status field. +func (o *V0036Ping) SetStatus(v int32) { + o.Status = &v +} + +func (o V0036Ping) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Hostname != nil { + toSerialize["hostname"] = o.Hostname + } + if o.Ping != nil { + toSerialize["ping"] = o.Ping + } + if o.Mode != nil { + toSerialize["mode"] = o.Mode + } + if o.Status != nil { + toSerialize["status"] = o.Status + } + return json.Marshal(toSerialize) +} + +type NullableV0036Ping struct { + value *V0036Ping + isSet bool +} + +func (v NullableV0036Ping) Get() *V0036Ping { + return v.value +} + +func (v *NullableV0036Ping) Set(val *V0036Ping) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Ping) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Ping) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Ping(val *V0036Ping) *NullableV0036Ping { + return &NullableV0036Ping{value: val, isSet: true} +} + +func (v NullableV0036Ping) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Ping) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_pings.go b/model_v0_0_36_pings.go new file mode 100644 index 0000000..adf1884 --- /dev/null +++ b/model_v0_0_36_pings.go @@ -0,0 +1,154 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" +) + +// V0036Pings struct for V0036Pings +type V0036Pings struct { + // slurm errors + Errors *[]V0036Error `json:"errors,omitempty"` + // slurm controller pings + Pings *[]V0036Ping `json:"pings,omitempty"` +} + +// NewV0036Pings instantiates a new V0036Pings 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 +func NewV0036Pings() *V0036Pings { + this := V0036Pings{} + return &this +} + +// NewV0036PingsWithDefaults instantiates a new V0036Pings 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 +func NewV0036PingsWithDefaults() *V0036Pings { + this := V0036Pings{} + return &this +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *V0036Pings) GetErrors() []V0036Error { + if o == nil || o.Errors == nil { + var ret []V0036Error + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Pings) GetErrorsOk() (*[]V0036Error, bool) { + if o == nil || o.Errors == nil { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *V0036Pings) HasErrors() bool { + if o != nil && o.Errors != nil { + return true + } + + return false +} + +// SetErrors gets a reference to the given []V0036Error and assigns it to the Errors field. +func (o *V0036Pings) SetErrors(v []V0036Error) { + o.Errors = &v +} + +// GetPings returns the Pings field value if set, zero value otherwise. +func (o *V0036Pings) GetPings() []V0036Ping { + if o == nil || o.Pings == nil { + var ret []V0036Ping + return ret + } + return *o.Pings +} + +// GetPingsOk returns a tuple with the Pings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *V0036Pings) GetPingsOk() (*[]V0036Ping, bool) { + if o == nil || o.Pings == nil { + return nil, false + } + return o.Pings, true +} + +// HasPings returns a boolean if a field has been set. +func (o *V0036Pings) HasPings() bool { + if o != nil && o.Pings != nil { + return true + } + + return false +} + +// SetPings gets a reference to the given []V0036Ping and assigns it to the Pings field. +func (o *V0036Pings) SetPings(v []V0036Ping) { + o.Pings = &v +} + +func (o V0036Pings) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Errors != nil { + toSerialize["errors"] = o.Errors + } + if o.Pings != nil { + toSerialize["pings"] = o.Pings + } + return json.Marshal(toSerialize) +} + +type NullableV0036Pings struct { + value *V0036Pings + isSet bool +} + +func (v NullableV0036Pings) Get() *V0036Pings { + return v.value +} + +func (v *NullableV0036Pings) Set(val *V0036Pings) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Pings) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Pings) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Pings(val *V0036Pings) *NullableV0036Pings { + return &NullableV0036Pings{value: val, isSet: true} +} + +func (v NullableV0036Pings) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Pings) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_v0_0_36_signal.go b/model_v0_0_36_signal.go new file mode 100644 index 0000000..3dd47ae --- /dev/null +++ b/model_v0_0_36_signal.go @@ -0,0 +1,98 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" + "fmt" +) + +// V0036Signal POSIX signal name +type V0036Signal string + +// List of v0.0.36_signal +const ( + HUP V0036Signal = "HUP" + INT V0036Signal = "INT" + QUIT V0036Signal = "QUIT" + ABRT V0036Signal = "ABRT" + KILL V0036Signal = "KILL" + ALRM V0036Signal = "ALRM" + TERM V0036Signal = "TERM" + USR1 V0036Signal = "USR1" + USR2 V0036Signal = "USR2" + URG V0036Signal = "URG" + CONT V0036Signal = "CONT" + STOP V0036Signal = "STOP" + TSTP V0036Signal = "TSTP" + TTIN V0036Signal = "TTIN" + TTOU V0036Signal = "TTOU" +) + +func (v *V0036Signal) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := V0036Signal(value) + for _, existing := range []V0036Signal{ "HUP", "INT", "QUIT", "ABRT", "KILL", "ALRM", "TERM", "USR1", "USR2", "URG", "CONT", "STOP", "TSTP", "TTIN", "TTOU", } { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid V0036Signal", value) +} + +// Ptr returns reference to v0.0.36_signal value +func (v V0036Signal) Ptr() *V0036Signal { + return &v +} + +type NullableV0036Signal struct { + value *V0036Signal + isSet bool +} + +func (v NullableV0036Signal) Get() *V0036Signal { + return v.value +} + +func (v *NullableV0036Signal) Set(val *V0036Signal) { + v.value = val + v.isSet = true +} + +func (v NullableV0036Signal) IsSet() bool { + return v.isSet +} + +func (v *NullableV0036Signal) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableV0036Signal(val *V0036Signal) *NullableV0036Signal { + return &NullableV0036Signal{value: val, isSet: true} +} + +func (v NullableV0036Signal) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableV0036Signal) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/response.go b/response.go new file mode 100644 index 0000000..0665383 --- /dev/null +++ b/response.go @@ -0,0 +1,48 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResonse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/scripts/gen-openapi-slurm.sh b/scripts/gen-openapi-slurm.sh new file mode 100755 index 0000000..d00df6e --- /dev/null +++ b/scripts/gen-openapi-slurm.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +OUT=. + +java -jar $OPENAPI_CLI_JAR generate \ + -g go \ + -i scripts/slurm-openapi.json \ + -t scripts/openapi-templates/Go \ + -o $OUT \ + --package-name=slurmrest + +rm -f $OUT/.travis.yml +rm -f $OUT/git_push.sh diff --git a/scripts/openapi-templates/Go/README.mustache b/scripts/openapi-templates/Go/README.mustache new file mode 100644 index 0000000..088b420 --- /dev/null +++ b/scripts/openapi-templates/Go/README.mustache @@ -0,0 +1,82 @@ +# Go client for Slurm REST API + +{{#appDescriptionWithNewLines}} +{{{appDescriptionWithNewLines}}} +{{/appDescriptionWithNewLines}} + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: {{appVersion}} +- Package version: {{packageVersion}} +{{^hideGenerationTimestamp}} +- Build date: {{generatedDate}} +{{/hideGenerationTimestamp}} +- Build package: {{generatorClass}} +{{#infoUrl}} +For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) +{{/infoUrl}} + +## Installation + +```shell +go get github.com/ubccr/{{packageName}} +``` + +## Example + +```golang +package main + +import ( + "context" + "fmt" + "log" + "net/http" + "time" + + "github.com/ubccr/slurmrest" +) + +func main() { + cfg := slurmrest.NewConfiguration() + cfg.HTTPClient = &http.Client{Timeout: time.Second * 3600} + cfg.Scheme = "http" + cfg.Host = "localhost" + + client := slurmrest.NewAPIClient(cfg) + + jreq := client.SlurmApi.SlurmctldGetJobs(context.Background()) + jobs, resp, err := client.SlurmApi.SlurmctldGetJobsExecute(jreq) + if err != nil { + log.Fatalf("FAIL: %s", err) + } else if resp.StatusCode != 200 { + log.Fatalf("Invalid status code: %d\n", resp.StatusCode) + } + + for _, job := range jobs.GetJobs() { + fmt.Printf("Job %s - %s\n", job.GetJobId(), job.GetJobState()) + } +} +``` + +## Documentation for API Endpoints + +All URIs are relative to *{{basePath}}* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} + +## Documentation For Models + +{{#models}}{{#model}} - [{{{classname}}}]({{modelDocPath}}{{{classname}}}.md) +{{/model}}{{/models}} + +## Author + +slurmrest Go client is currently maintained by [The Center for Computational Research](https://buffalo.edu/ccr). + +The code in this repo was generated from the openapi.json spec files available +from Slurm. For more information see https://github.com/SchedMD/slurm/ diff --git a/scripts/slurm-openapi.json b/scripts/slurm-openapi.json new file mode 100644 index 0000000..ba07c0c --- /dev/null +++ b/scripts/slurm-openapi.json @@ -0,0 +1,2000 @@ +{ + "openapi": "3.0.2", + "info": { + "title": "Slurm Rest API", + "description": "API to access and control Slurm.", + "termsOfService": "https://github.com/SchedMD/slurm/blob/master/DISCLAIMER", + "contact": { + "name": "SchedMD LLC", + "url": "https://www.schedmd.com/", + "email": "sales@schedmd.com" + }, + "license": { + "name": "Apache 2.0", + "url": "https://www.apache.org/licenses/LICENSE-2.0.html" + }, + "version": "0.0.36" + }, + "tags": [ + { + "name": "slurm", + "description": "methods that query slurmctld" + }, + { + "name": "openapi", + "description": "methods that query for OpenAPI specifications" + } + ], + "servers": [ + { + "url": "/slurm/v0.0.36/" + } + ], + "security": [ + { + "user": [], + "token": [] + } + ], + "paths": { + "/diag/": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_diag", + "summary": "get diagnostics", + "responses": { + "200": { + "description": "diagnostic results", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_diag" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_diag" + } + } + } + }, + "default": { + "description": "unable to request ping test" + } + } + } + }, + "/ping/": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_ping", + "summary": "ping test", + "responses": { + "200": { + "description": "results of ping test", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_pings" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_pings" + } + } + } + }, + "default": { + "description": "unable to request ping test" + } + } + } + }, + "/jobs/": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_jobs", + "summary": "get list of jobs", + "responses": { + "200": { + "description": "job(s) information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_jobs_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_jobs_response" + } + } + } + }, + "default": { + "description": "job not found" + } + } + } + }, + "/job/{job_id}": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_job", + "summary": "get job info", + "parameters": [ + { + "name": "job_id", + "in": "path", + "description": "Slurm Job ID", + "required": true, + "style": "simple", + "explode": false, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "job(s) information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_jobs_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_jobs_response" + } + } + } + }, + "default": { + "description": "job not found" + } + } + }, + "post": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_update_job", + "summary": "update job", + "parameters": [ + { + "name": "job_id", + "in": "path", + "description": "Slurm Job ID", + "required": true, + "style": "simple", + "explode": false, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "requestBody": { + "description": "update job", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_properties" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_properties" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "job information" + }, + "500": { + "description": "job not found" + } + } + }, + "delete": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_cancel_job", + "summary": "cancel or signal job", + "parameters": [ + { + "name": "job_id", + "in": "path", + "description": "Slurm Job ID", + "required": true, + "style": "simple", + "explode": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "signal", + "in": "query", + "description": "signal to send to job", + "required": false, + "style": "form", + "explode": true, + "schema": { + "$ref": "#/components/schemas/v0.0.36_signal" + } + } + ], + "responses": { + "200": { + "description": "job cancelled or sent signal" + }, + "500": { + "description": "job not found" + } + } + } + }, + "/job/submit": { + "post": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_submit_job", + "summary": "submit new job", + "requestBody": { + "description": "submit new job", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_submission" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_submission" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "job submitted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_submission_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_job_submission_response" + } + } + } + }, + "default": { + "description": "job rejected" + } + } + } + }, + "/nodes/": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_nodes", + "summary": "get all node info", + "responses": { + "200": { + "description": "node information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_nodes_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_nodes_response" + } + } + } + }, + "default": { + "description": "no nodes in cluster" + } + } + } + }, + "/node/{node_name}": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_node", + "summary": "get node info", + "parameters": [ + { + "name": "node_name", + "in": "path", + "description": "Slurm Node Name", + "required": true, + "style": "simple", + "explode": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "node information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_nodes_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_nodes_response" + } + } + } + }, + "default": { + "description": "node not found" + } + } + } + }, + "/partitions/": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_partitions", + "summary": "get all partition info", + "responses": { + "200": { + "description": "partition information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_partitions_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_partitions_response" + } + } + } + }, + "default": { + "description": "no partitions found" + } + } + } + }, + "/partition/{partition_name}": { + "get": { + "tags": [ + "slurm" + ], + "operationId": "slurmctld_get_partition", + "summary": "get partition info", + "parameters": [ + { + "name": "partition_name", + "in": "path", + "description": "Slurm Partition Name", + "required": true, + "style": "simple", + "explode": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "partition information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_partitions_response" + } + }, + "application/x-yaml": { + "schema": { + "$ref": "#/components/schemas/v0.0.36_partitions_response" + } + } + } + }, + "default": { + "description": "no partitions found" + } + } + } + }, + "/openapi.yaml": { + "get": { + "tags": [ + "openapi" + ], + "summary": "Retrieve OpenAPI Specification", + "responses": { + "200": { + "description": "OpenAPI Specification" + } + } + }, + "servers": [ + { + "url": "/" + } + ] + }, + "/openapi.json": { + "get": { + "tags": [ + "openapi" + ], + "summary": "Retrieve OpenAPI Specification", + "responses": { + "200": { + "description": "OpenAPI Specification" + } + } + }, + "servers": [ + { + "url": "/" + } + ] + }, + "/openapi": { + "get": { + "tags": [ + "openapi" + ], + "summary": "Retrieve OpenAPI Specification", + "responses": { + "200": { + "description": "OpenAPI Specification" + } + } + }, + "servers": [ + { + "url": "/" + } + ] + }, + "/openapi/v3": { + "get": { + "tags": [ + "openapi" + ], + "summary": "Retrieve OpenAPI Specification", + "responses": { + "200": { + "description": "OpenAPI Specification" + } + } + }, + "servers": [ + { + "url": "/" + } + ] + } + }, + "components": { + "securitySchemes": { + "user": { + "type": "apiKey", + "description": "User name", + "name": "X-SLURM-USER-NAME", + "in": "header" + }, + "token": { + "type": "apiKey", + "description": "User access token", + "name": "X-SLURM-USER-TOKEN", + "in": "header" + } + }, + "schemas": { + "v0.0.36_diag": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "statistics": { + "type": "object", + "description": "Slurm statistics", + "properties": { + "parts_packed": { + "type": "integer", + "description": "partition records packed" + }, + "req_time": { + "type": "integer", + "description": "generation time" + }, + "req_time_start": { + "type": "integer", + "description": "data since" + }, + "server_thread_count": { + "type": "integer", + "description": "Server thread count" + }, + "agent_queue_size": { + "type": "integer", + "description": "Agent queue size" + }, + "agent_count": { + "type": "integer", + "description": "Agent count" + }, + "agent_thread_count": { + "type": "integer", + "description": "Agent thread count" + }, + "dbd_agent_queue_size": { + "type": "integer", + "description": "DBD Agent queue size" + }, + "gettimeofday_latency": { + "type": "integer", + "description": "Latency for 1000 calls to gettimeofday()" + }, + "schedule_cycle_max": { + "type": "integer", + "description": "Main Schedule max cycle" + }, + "schedule_cycle_last": { + "type": "integer", + "description": "Main Schedule last cycle" + }, + "schedule_cycle_total": { + "type": "integer", + "description": "Main Schedule cycle iterations" + }, + "schedule_cycle_mean": { + "type": "integer", + "description": "Average time for Schedule Max cycle" + }, + "schedule_cycle_mean_depth": { + "type": "integer", + "description": "Average depth for Schedule Max cycle" + }, + "schedule_cycle_per_minute": { + "type": "integer", + "description": "Main Schedule Cycles per minute" + }, + "schedule_queue_length": { + "type": "integer", + "description": "Main Schedule Last queue length" + }, + "jobs_submitted": { + "type": "integer", + "description": "Job submitted" + }, + "jobs_started": { + "type": "integer", + "description": "Job started" + }, + "jobs_completed": { + "type": "integer", + "description": "Job completed" + }, + "jobs_canceled": { + "type": "integer", + "description": "Job cancelled" + }, + "jobs_failed": { + "type": "integer", + "description": "Job failed" + }, + "jobs_pending": { + "type": "integer", + "description": "Job pending" + }, + "jobs_running": { + "type": "integer", + "description": "Job running" + }, + "job_states_ts": { + "type": "integer", + "description": "Job states timestamp" + }, + "bf_backfilled_jobs": { + "type": "integer", + "description": "Total backfilled jobs (since last slurm start)" + }, + "bf_last_backfilled_jobs": { + "type": "integer", + "description": "Total backfilled jobs (since last stats cycle start)" + }, + "bf_backfilled_het_jobs": { + "type": "integer", + "description": "Total backfilled heterogeneous job components" + }, + "bf_cycle_counter": { + "type": "integer", + "description": "Backfill Schedule Total cycles" + }, + "bf_cycle_mean": { + "type": "integer", + "description": "Backfill Schedule Mean cycle" + }, + "bf_cycle_max": { + "type": "integer", + "description": "Backfill Schedule Max cycle time" + }, + "bf_last_depth": { + "type": "integer", + "description": "Backfill Schedule Last depth cycle" + }, + "bf_last_depth_try": { + "type": "integer", + "description": "Backfill Schedule Mean cycle (try sched)" + }, + "bf_depth_mean": { + "type": "integer", + "description": "Backfill Schedule Depth Mean" + }, + "bf_depth_mean_try": { + "type": "integer", + "description": "Backfill Schedule Depth Mean (try sched)" + }, + "bf_cycle_last": { + "type": "integer", + "description": "Backfill Schedule Last cycle time" + }, + "bf_queue_len": { + "type": "integer", + "description": "Backfill Schedule Last queue length" + }, + "bf_queue_len_mean": { + "type": "integer", + "description": "Backfill Schedule Mean queue length" + }, + "bf_when_last_cycle": { + "type": "integer", + "description": "Last cycle timestamp" + }, + "bf_active": { + "type": "boolean", + "description": "Backfill Schedule currently active" + } + } + } + } + }, + "v0.0.36_pings": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "pings": { + "type": "array", + "description": "slurm controller pings", + "items": { + "$ref": "#/components/schemas/v0.0.36_ping" + } + } + } + }, + "v0.0.36_ping": { + "type": "object", + "properties": { + "hostname": { + "type": "string", + "description": "slurm controller hostname" + }, + "ping": { + "type": "string", + "description": "slurm controller host up", + "enum": [ + "UP", + "DOWN" + ] + }, + "mode": { + "type": "string", + "description": "slurm controller mode" + }, + "status": { + "type": "integer", + "description": "slurm controller status" + } + } + }, + "v0.0.36_partition": { + "type": "object", + "properties": { + "flags": { + "type": "array", + "description": "partition options", + "items": { + "type": "string" + } + }, + "preemption_mode": { + "type": "array", + "description": "preemption type", + "items": { + "type": "string" + } + }, + "allowed_allocation_nodes": { + "type": "string", + "description": "list names of allowed allocating nodes" + }, + "allowed_accounts": { + "type": "string", + "description": "comma delimited list of accounts" + }, + "allowed_groups": { + "type": "string", + "description": "comma delimited list of groups" + }, + "allowed_qos": { + "type": "string", + "description": "comma delimited list of qos" + }, + "alternative": { + "type": "string", + "description": "name of alternate partition" + }, + "billing_weights": { + "type": "string", + "description": "TRES billing weights" + }, + "default_memory_per_cpu": { + "type": "integer", + "format": "int64", + "description": "default MB memory per allocated CPU" + }, + "default_time_limit": { + "type": "integer", + "format": "int64", + "description": "default time limit (minutes)" + }, + "denied_accounts": { + "type": "string", + "description": "comma delimited list of denied accounts" + }, + "denied_qos": { + "type": "string", + "description": "comma delimited list of denied qos" + }, + "preemption_grace_time": { + "type": "integer", + "format": "int64", + "description": "preemption grace time (seconds)" + }, + "maximum_cpus_per_node": { + "type": "integer", + "description": "maximum allocated CPUs per node" + }, + "maximum_memory_per_node": { + "type": "integer", + "format": "int64", + "description": "maximum memory per allocated CPU (MiB)" + }, + "maximum_nodes_per_job": { + "type": "integer", + "description": "Max nodes per job" + }, + "max_time_limit": { + "type": "integer", + "format": "int64", + "description": "Max time limit per job" + }, + "min_nodes_per_job": { + "type": "integer", + "description": "Min number of nodes per job" + }, + "name": { + "type": "string", + "description": "Partition name" + }, + "nodes": { + "type": "string", + "description": "list names of nodes in partition" + }, + "over_time_limit": { + "type": "integer", + "description": "job's time limit can be exceeded by this number of minutes before cancellation" + }, + "priority_job_factor": { + "type": "integer", + "description": "job priority weight factor" + }, + "priority_tier": { + "type": "integer", + "description": "tier for scheduling and preemption" + }, + "qos": { + "type": "string", + "description": "partition QOS name" + }, + "nodes_online": { + "type": "integer", + "description": "Nodes online (ready for jobs)" + }, + "total_cpus": { + "type": "integer", + "description": "Total cpus in partition" + }, + "total_nodes": { + "type": "integer", + "description": "Total number of nodes in partition" + }, + "tres": { + "type": "string", + "description": "configured TRES in partition" + } + } + }, + "v0.0.36_partitions_response": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "partitions": { + "type": "array", + "description": "partition info", + "items": { + "$ref": "#/components/schemas/v0.0.36_partition" + } + } + } + }, + "v0.0.36_error": { + "type": "object", + "properties": { + "error": { + "type": "string", + "description": "error message" + }, + "errno": { + "type": "integer", + "description": "error number" + } + } + }, + "v0.0.36_signal": { + "type": "string", + "description": "POSIX signal name", + "format": "int32", + "enum": [ + "HUP", + "INT", + "QUIT", + "ABRT", + "KILL", + "ALRM", + "TERM", + "USR1", + "USR2", + "URG", + "CONT", + "STOP", + "TSTP", + "TTIN", + "TTOU" + ] + }, + "v0.0.36_job_submission_response": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "job_id": { + "description": "new job ID", + "type": "integer" + }, + "step_id": { + "description": "new job step ID", + "type": "string" + }, + "job_submit_user_msg": { + "description": "Message to user from job_submit plugin", + "type": "string" + } + } + }, + "v0.0.36_job_submission": { + "required": [ + "script" + ], + "properties": { + "script": { + "type": "string", + "description": "Executable script (full contents) to run in batch step" + }, + "job": { + "description": "Properties of an array job or non-HetJob", + "$ref": "#/components/schemas/v0.0.36_job_properties" + }, + "jobs": { + "description": "Properties of an HetJob", + "type": "array", + "items": { + "$ref": "#/components/schemas/v0.0.36_job_properties" + } + } + } + }, + "v0.0.36_jobs_response": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "jobs": { + "type": "array", + "description": "job descriptions", + "items": { + "$ref": "#/components/schemas/v0.0.36_job_response_properties" + } + } + } + }, + "v0.0.36_job_response_properties": { + "type": "object", + "properties": { + "account": { + "type": "string", + "description": "Charge resources used by this job to specified account" + }, + "accrue_time": { + "type": "integer", + "format": "int64", + "description": "time job is eligible for running" + }, + "admin_comment": { + "type": "string", + "description": "administrator's arbitrary comment" + }, + "array_job_id": { + "type": "string", + "description": "job_id of a job array or 0 if N/A" + }, + "array_task_id": { + "type": "string", + "description": "task_id of a job array" + }, + "array_max_tasks": { + "type": "string", + "description": "Maximum number of running array tasks" + }, + "array_task_string": { + "type": "string", + "description": "string expression of task IDs in this record" + }, + "association_id": { + "type": "string", + "description": "association id for job" + }, + "batch_features": { + "type": "string", + "description": "features required for batch script's node" + }, + "batch_flag": { + "type": "boolean", + "description": "if batch: queued job with script" + }, + "batch_host": { + "type": "string", + "description": "name of host running batch script" + }, + "flags": { + "type": "array", + "description": "Job flags", + "items": { + "type": "string" + } + }, + "burst_buffer": { + "type": "string", + "description": "burst buffer specifications" + }, + "burst_buffer_state": { + "type": "string", + "description": "burst buffer state info" + }, + "cluster": { + "type": "string", + "description": "name of cluster that the job is on" + }, + "cluster_features": { + "type": "string", + "description": "comma separated list of required cluster features" + }, + "command": { + "type": "string", + "description": "command to be executed" + }, + "comment": { + "type": "string", + "description": "arbitrary comment" + }, + "contiguous": { + "type": "boolean", + "description": "job requires contiguous nodes" + }, + "core_spec": { + "type": "string", + "description": "specialized core count" + }, + "thread_spec": { + "type": "string", + "description": "specialized thread count" + }, + "cores_per_socket": { + "type": "string", + "description": "cores per socket required by job" + }, + "billable_tres": { + "type": "string", + "description": "billable TRES" + }, + "cpus_per_task": { + "type": "string", + "description": "number of processors required for each task" + }, + "cpu_frequency_minimum": { + "type": "string", + "description": "Minimum cpu frequency" + }, + "cpu_frequency_maximum": { + "type": "string", + "description": "Maximum cpu frequency" + }, + "cpu_frequency_governor": { + "type": "string", + "description": "cpu frequency governor" + }, + "cpus_per_tres": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "deadline": { + "type": "string", + "description": "job start deadline " + }, + "delay_boot": { + "type": "string", + "description": "command to be executed" + }, + "dependency": { + "type": "string", + "description": "synchronize job execution with other jobs" + }, + "derived_exit_code": { + "type": "string", + "description": "highest exit code of all job steps" + }, + "eligible_time": { + "type": "integer", + "format": "int64", + "description": "time job is eligible for running" + }, + "end_time": { + "type": "integer", + "format": "int64", + "description": "time of termination, actual or expected" + }, + "excluded_nodes": { + "type": "string", + "description": "comma separated list of excluded nodes" + }, + "exit_code": { + "type": "integer", + "description": "exit code for job" + }, + "features": { + "type": "string", + "description": "comma separated list of required features" + }, + "federation_origin": { + "type": "string", + "description": "Origin cluster's name" + }, + "federation_siblings_active": { + "type": "string", + "description": "string of active sibling names" + }, + "federation_siblings_viable": { + "type": "string", + "description": "string of viable sibling names" + }, + "gres_detail": { + "type": "array", + "description": "Job flags", + "items": { + "type": "string" + } + }, + "group_id": { + "type": "string", + "description": "group job submitted as" + }, + "job_id": { + "type": "string", + "description": "job ID" + }, + "job_resources": { + "$ref": "#/components/schemas/v0.0.36_job_resources" + }, + "job_state": { + "type": "string", + "description": "state of the job" + }, + "last_sched_evaluation": { + "type": "string", + "description": "last time job was evaluated for scheduling" + }, + "licenses": { + "type": "string", + "description": "licenses required by the job" + }, + "max_cpus": { + "type": "string", + "description": "maximum number of cpus usable by job" + }, + "max_nodes": { + "type": "string", + "description": "maximum number of nodes usable by job" + }, + "mcs_label": { + "type": "string", + "description": "mcs_label if mcs plugin in use" + }, + "memory_per_tres": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "name": { + "type": "string", + "description": "name of the job" + }, + "nodes": { + "type": "string", + "description": "list of nodes allocated to job" + }, + "nice": { + "type": "string", + "description": "requested priority change" + }, + "tasks_per_core": { + "type": "string", + "description": "number of tasks to invoke on each core" + }, + "tasks_per_socket": { + "type": "string", + "description": "number of tasks to invoke on each socket" + }, + "tasks_per_board": { + "type": "string", + "description": "number of tasks to invoke on each board" + }, + "cpus": { + "type": "string", + "description": "minimum number of cpus required by job" + }, + "node_count": { + "type": "string", + "description": "minimum number of nodes required by job" + }, + "tasks": { + "type": "string", + "description": "requested task count" + }, + "het_job_id": { + "type": "string", + "description": "job ID of hetjob leader" + }, + "het_job_id_set": { + "type": "string", + "description": "job IDs for all components" + }, + "het_job_offset": { + "type": "string", + "description": "HetJob component offset from leader" + }, + "partition": { + "type": "string", + "description": "name of assigned partition" + }, + "memory_per_node": { + "type": "string", + "description": "minimum real memory per node" + }, + "memory_per_cpu": { + "type": "string", + "description": "minimum real memory per cpu" + }, + "minimum_cpus_per_node": { + "type": "string", + "description": "minimum # CPUs per node" + }, + "minimum_tmp_disk_per_node": { + "type": "string", + "description": "minimum tmp disk per node" + }, + "preempt_time": { + "type": "integer", + "format": "int64", + "description": "preemption signal time" + }, + "pre_sus_time": { + "type": "integer", + "format": "int64", + "description": "time job ran prior to last suspend" + }, + "priority": { + "type": "string", + "description": "relative priority of the job" + }, + "profile": { + "type": "array", + "description": "Job profiling requested", + "items": { + "type": "string" + } + }, + "qos": { + "type": "string", + "description": "Quality of Service" + }, + "reboot": { + "type": "boolean", + "description": "node reboot requested before start" + }, + "required_nodes": { + "type": "string", + "description": "comma separated list of required nodes" + }, + "requeue": { + "type": "boolean", + "description": "enable or disable job requeue option" + }, + "resize_time": { + "type": "integer", + "format": "int64", + "description": "time of latest size change" + }, + "restart_cnt": { + "type": "string", + "description": "count of job restarts" + }, + "resv_name": { + "type": "string", + "description": "reservation name" + }, + "shared": { + "type": "string", + "description": "type and if job can share nodes with other jobs" + }, + "show_flags": { + "type": "array", + "description": "details requested", + "items": { + "type": "string" + } + }, + "sockets_per_board": { + "type": "string", + "description": "sockets per board required by job" + }, + "sockets_per_node": { + "type": "string", + "description": "sockets per node required by job" + }, + "start_time": { + "type": "integer", + "format": "int64", + "description": "time execution begins, actual or expected" + }, + "state_description": { + "type": "string", + "description": "optional details for state_reason" + }, + "state_reason": { + "type": "string", + "description": "reason job still pending or failed" + }, + "standard_error": { + "type": "string", + "description": "pathname of job's stderr file" + }, + "standard_input": { + "type": "string", + "description": "pathname of job's stdin file" + }, + "standard_output": { + "type": "string", + "description": "pathname of job's stdout file" + }, + "submit_time": { + "type": "integer", + "format": "int64", + "description": "time of job submission" + }, + "suspend_time": { + "type": "integer", + "format": "int64", + "description": "time job last suspended or resumed" + }, + "system_comment": { + "type": "string", + "description": "slurmctld's arbitrary comment" + }, + "time_limit": { + "type": "string", + "description": "maximum run time in minutes" + }, + "time_minimum": { + "type": "string", + "description": "minimum run time in minutes" + }, + "threads_per_core": { + "type": "string", + "description": "threads per core required by job" + }, + "tres_bind": { + "type": "string", + "description": "Task to TRES binding directives" + }, + "tres_freq": { + "type": "string", + "description": "TRES frequency directives" + }, + "tres_per_job": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "tres_per_node": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "tres_per_socket": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "tres_per_task": { + "type": "string", + "description": "semicolon delimited list of TRES=# values" + }, + "tres_req_str": { + "type": "string", + "description": "tres reqeusted in the job" + }, + "tres_alloc_str": { + "type": "string", + "description": "tres used in the job" + }, + "user_id": { + "type": "string", + "description": "user id the job runs as" + }, + "user_name": { + "type": "string", + "description": "user the job runs as" + }, + "wckey": { + "type": "string", + "description": "wckey for job" + }, + "current_working_directory": { + "type": "string", + "description": "pathname of working directory" + } + } + }, + "v0.0.36_job_resources": { + "type": "object", + "properties": { + "nodes": { + "type": "string", + "description": "list of assigned job nodes" + }, + "allocated_cpus": { + "type": "integer", + "description": "number of assigned job cpus" + }, + "allocated_hosts": { + "type": "integer", + "description": "number of assigned job hosts" + }, + "allocated_nodes": { + "type": "array", + "description": "node allocations", + "items": { + "$ref": "#/components/schemas/v0.0.36_node_allocation" + } + } + } + }, + "v0.0.36_node_allocation": { + "type": "object", + "properties": { + "memory": { + "type": "integer", + "description": "amount of assigned job memory" + }, + "cpus": { + "type": "object", + "description": "amount of assigned job CPUs" + }, + "sockets": { + "type": "object", + "description": "assignment status of each socket by socket id" + }, + "cores": { + "type": "object", + "description": "assignment status of each core by core id" + } + } + }, + "v0.0.36_job_properties": { + "type": "object", + "required": [ + "environment" + ], + "properties": { + "account": { + "type": "string", + "description": "Charge resources used by this job to specified account." + }, + "account_gather_freqency": { + "type": "string", + "description": "Define the job accounting and profiling sampling intervals." + }, + "argv": { + "type": "array", + "description": "Arguments to the script.", + "items": { + "type": "string" + } + }, + "array": { + "type": "string", + "description": "Submit a job array, multiple jobs to be executed with identical parameters. The indexes specification identifies what array index values should be used." + }, + "batch_features": { + "type": "string", + "description": "features required for batch script's node" + }, + "begin_time": { + "type": "integer", + "format": "int64", + "description": "Submit the batch script to the Slurm controller immediately, like normal, but tell the controller to defer the allocation of the job until the specified time." + }, + "burst_buffer": { + "type": "string", + "description": "Burst buffer specification." + }, + "cluster_constraints": { + "type": "string", + "description": "Specifies features that a federated cluster must have to have a sibling job submitted to it." + }, + "comment": { + "type": "string", + "description": "An arbitrary comment." + }, + "constraints": { + "type": "string", + "description": "node features required by job." + }, + "core_specification": { + "type": "integer", + "description": "Count of specialized threads per node reserved by the job for system operations and not used by the application." + }, + "cores_per_socket": { + "type": "integer", + "description": "Restrict node selection to nodes with at least the specified number of cores per socket." + }, + "cpu_binding": { + "type": "string", + "description": "Cpu binding" + }, + "cpu_binding_hint": { + "type": "string", + "description": "Cpu binding hint" + }, + "cpu_frequency": { + "type": "string", + "description": "Request that job steps initiated by srun commands inside this sbatch script be run at some requested frequency if possible, on the CPUs selected for the step on the compute node(s)." + }, + "cpus_per_gpu": { + "type": "string", + "description": "Number of CPUs requested per allocated GPU." + }, + "cpus_per_task": { + "type": "integer", + "description": "Advise the Slurm controller that ensuing job steps will require ncpus number of processors per task." + }, + "current_working_directory": { + "type": "string", + "description": "Instruct Slurm to connect the batch script's standard output directly to the file name." + }, + "deadline": { + "type": "string", + "description": "Remove the job if no ending is possible before this deadline (start > (deadline - time[-min]))." + }, + "delay_boot": { + "type": "integer", + "description": "Do not reboot nodes in order to satisfied this job's feature specification if the job has been eligible to run for less than this time period." + }, + "dependency": { + "type": "string", + "description": "Defer the start of this job until the specified dependencies have been satisfied completed." + }, + "distribution": { + "type": "string", + "description": "Specify alternate distribution methods for remote processes." + }, + "environment": { + "type": "object", + "description": "Dictionary of environment entries." + }, + "exclusive": { + "type": "string", + "description": "The job allocation can share nodes just other users with the \"user\" option or with the \"mcs\" option).", + "enum": [ + "user", + "mcs", + "true", + "false" + ] + }, + "get_user_environment": { + "type": "boolean", + "description": "Load new login environment for user on job node." + }, + "gres": { + "type": "string", + "description": "Specifies a comma delimited list of generic consumable resources." + }, + "gres_flags": { + "type": "string", + "description": "Specify generic resource task binding options.", + "enum": [ + "disable-binding", + "enforce-binding" + ] + }, + "gpu_binding": { + "type": "string", + "description": "Requested binding of tasks to GPU." + }, + "gpu_frequency": { + "type": "string", + "description": "Requested GPU frequency." + }, + "gpus": { + "type": "string", + "description": "GPUs per job." + }, + "gpus_per_node": { + "type": "string", + "description": "GPUs per node." + }, + "gpus_per_socket": { + "type": "string", + "description": "GPUs per socket." + }, + "gpus_per_task": { + "type": "string", + "description": "GPUs per task." + }, + "hold": { + "type": "boolean", + "description": "Specify the job is to be submitted in a held state (priority of zero)." + }, + "kill_on_invalid_dependency": { + "type": "boolean", + "description": "If a job has an invalid dependency, then Slurm is to terminate it." + }, + "licenses": { + "type": "string", + "description": "Specification of licenses (or other resources available on all nodes of the cluster) which must be allocated to this job." + }, + "mail_type": { + "type": "string", + "description": "Notify user by email when certain event types occur." + }, + "mail_user": { + "type": "string", + "description": "User to receive email notification of state changes as defined by mail_type." + }, + "mcs_label": { + "type": "string", + "description": "This parameter is a group among the groups of the user." + }, + "memory_binding": { + "type": "string", + "description": "Bind tasks to memory." + }, + "memory_per_cpu": { + "type": "integer", + "description": "Minimum real memory per cpu (MB)." + }, + "memory_per_gpu": { + "type": "integer", + "description": "Minimum memory required per allocated GPU." + }, + "memory_per_node": { + "type": "integer", + "description": "Minimum real memory per node (MB)." + }, + "minimum_cpus_per_node": { + "type": "integer", + "description": "Minimum number of CPUs per node." + }, + "minimum_nodes": { + "type": "boolean", + "description": "If a range of node counts is given, prefer the smaller count." + }, + "name": { + "type": "string", + "description": "Specify a name for the job allocation." + }, + "nice": { + "type": "string", + "description": "Run the job with an adjusted scheduling priority within Slurm." + }, + "no_kill": { + "type": "boolean", + "description": "Do not automatically terminate a job if one of the nodes it has been allocated fails." + }, + "nodes": { + "maxItems": 2, + "minItems": 1, + "type": "array", + "description": "Request that a minimum of minnodes nodes and a maximum node count.", + "items": { + "type": "integer" + } + }, + "open_mode": { + "type": "string", + "description": "Open the output and error files using append or truncate mode as specified.", + "default": "append", + "enum": [ + "append", + "truncate" + ] + }, + "partition": { + "type": "string", + "description": "Request a specific partition for the resource allocation." + }, + "priority": { + "type": "string", + "description": "Request a specific job priority." + }, + "qos": { + "type": "string", + "description": "Request a quality of service for the job." + }, + "requeue": { + "type": "boolean", + "description": "Specifies that the batch job should eligible to being requeue." + }, + "reservation": { + "type": "string", + "description": "Allocate resources for the job from the named reservation." + }, + "signal": { + "pattern": "[B:][@]", + "type": "string", + "description": "When a job is within sig_time seconds of its end time, send it the signal sig_num." + }, + "sockets_per_node": { + "type": "integer", + "description": "Restrict node selection to nodes with at least the specified number of sockets." + }, + "spread_job": { + "type": "boolean", + "description": "Spread the job allocation over as many nodes as possible and attempt to evenly distribute tasks across the allocated nodes." + }, + "standard_error": { + "type": "string", + "description": "Instruct Slurm to connect the batch script's standard error directly to the file name." + }, + "standard_in": { + "type": "string", + "description": "Instruct Slurm to connect the batch script's standard input directly to the file name specified." + }, + "standard_out": { + "type": "string", + "description": "Instruct Slurm to connect the batch script's standard output directly to the file name." + }, + "tasks": { + "type": "integer", + "description": "Advises the Slurm controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources." + }, + "tasks_per_core": { + "type": "integer", + "description": "Request the maximum ntasks be invoked on each core." + }, + "tasks_per_node": { + "type": "integer", + "description": "Request the maximum ntasks be invoked on each node." + }, + "tasks_per_socket": { + "type": "integer", + "description": "Request the maximum ntasks be invoked on each socket." + }, + "thread_specification": { + "type": "integer", + "description": "Count of specialized threads per node reserved by the job for system operations and not used by the application." + }, + "threads_per_core": { + "type": "integer", + "description": "Restrict node selection to nodes with at least the specified number of threads per core." + }, + "time_limit": { + "type": "integer", + "description": "Step time limit." + }, + "time_minimum": { + "type": "integer", + "description": "Minimum run time in minutes." + }, + "wait_all_nodes": { + "type": "boolean", + "description": "Do not begin execution until all nodes are ready for use." + }, + "wckey": { + "type": "string", + "description": "Specify wckey to be used with job." + } + } + }, + "v0.0.36_node": { + "type": "object", + "properties": { + "architecture": { + "type": "string", + "description": "computer architecture" + }, + "burstbuffer_network_address": { + "type": "string", + "description": "BcastAddr" + }, + "boards": { + "type": "integer", + "description": "total number of boards per node" + }, + "boot_time": { + "type": "integer", + "format": "int64", + "description": "timestamp of node boot" + }, + "comment": { + "type": "string", + "description": "Arbitrary comment" + }, + "cores": { + "type": "integer", + "description": "number of cores per socket" + }, + "cpu_binding": { + "type": "integer", + "description": "Default task binding" + }, + "cpu_load": { + "type": "integer", + "format": "int64", + "description": "CPU load * 100" + }, + "free_memory": { + "type": "integer", + "description": "free memory in MiB" + }, + "cpus": { + "type": "integer", + "description": "configured count of cpus running on the node" + }, + "features": { + "type": "string", + "description": "" + }, + "active_features": { + "type": "string", + "description": "list of a node's available features" + }, + "gres": { + "type": "string", + "description": "list of a node's generic resources" + }, + "gres_drained": { + "type": "string", + "description": "list of drained GRES" + }, + "gres_used": { + "type": "string", + "description": "list of GRES in current use" + }, + "mcs_label": { + "type": "string", + "description": "mcs label if mcs plugin in use" + }, + "name": { + "type": "string", + "description": "node name to slurm" + }, + "next_state_after_reboot": { + "type": "string", + "description": "" + }, + "address": { + "type": "string", + "description": "state after reboot" + }, + "hostname": { + "type": "string", + "description": "node's hostname" + }, + "state": { + "type": "string", + "description": "current node state" + }, + "operating_system": { + "type": "string", + "description": "operating system" + }, + "owner": { + "type": "string", + "description": "User allowed to use this node" + }, + "port": { + "type": "integer", + "description": "TCP port number of the slurmd" + }, + "real_memory": { + "type": "integer", + "description": "configured MB of real memory on the node" + }, + "reason": { + "type": "string", + "description": "reason for node being DOWN or DRAINING" + }, + "reason_changed_at": { + "type": "integer", + "description": "Time stamp when reason was set" + }, + "reason_set_by_user": { + "type": "string", + "description": "User that set the reason" + }, + "slurmd_start_time": { + "type": "integer", + "format": "int64", + "description": "timestamp of slurmd startup" + }, + "sockets": { + "type": "integer", + "description": "total number of sockets per node" + }, + "threads": { + "type": "integer", + "description": "number of threads per core" + }, + "temporary_disk": { + "type": "integer", + "description": "configured MB of total disk in TMP_FS" + }, + "weight": { + "type": "integer", + "description": "arbitrary priority of node for scheduling" + }, + "tres": { + "type": "string", + "description": "TRES on node" + }, + "tres_used": { + "type": "string", + "description": "TRES used on node" + }, + "slurmd_version": { + "type": "string", + "description": "Slurmd version" + }, + "alloc_cpus": { + "type": "integer", + "description": "" + }, + "idle_cpus": { + "type": "integer", + "description": "" + }, + "partitions": { + "type": "string", + "description": "" + }, + "alloc_memory": { + "type": "integer", + "description": "" + } + } + }, + "v0.0.36_nodes_response": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "description": "slurm errors", + "items": { + "$ref": "#/components/schemas/v0.0.36_error" + } + }, + "nodes": { + "type": "array", + "description": "nodes info", + "items": { + "$ref": "#/components/schemas/v0.0.36_node" + } + } + } + } + } + } +} diff --git a/utils.go b/utils.go new file mode 100644 index 0000000..5baf6a3 --- /dev/null +++ b/utils.go @@ -0,0 +1,329 @@ +/* + * Slurm Rest API + * + * API to access and control Slurm. + * + * API version: 0.0.36 + * Contact: sales@schedmd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package slurmrest + +import ( + "encoding/json" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +}