SectionsApi:
  addTaskForSection: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let section_gid = "321654"; // String | The globally unique identifier for the section.
    let opts = { 
        'body': {"data": {"<PARAM_1>": "<VALUE_1>", "<PARAM_2>": "<VALUE_2>",}}
    };
    sectionsApiInstance.addTaskForSection(section_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  createSectionForProject: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let project_gid = "1331"; // String | Globally unique identifier for the project.
    let opts = { 
        'body': {"data": {"<PARAM_1>": "<VALUE_1>", "<PARAM_2>": "<VALUE_2>",}}, 
        'opt_fields': "created_at,name,project,project.name,projects,projects.name"
    };
    sectionsApiInstance.createSectionForProject(project_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  deleteSection: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let section_gid = "321654"; // String | The globally unique identifier for the section.

    sectionsApiInstance.deleteSection(section_gid).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  getSection: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let section_gid = "321654"; // String | The globally unique identifier for the section.
    let opts = { 
        'opt_fields': "created_at,name,project,project.name,projects,projects.name"
    };
    sectionsApiInstance.getSection(section_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  getSectionsForProject: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let project_gid = "1331"; // String | Globally unique identifier for the project.
    let opts = { 
        'limit': 50, 
        'offset': "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9", 
        'opt_fields': "created_at,name,offset,path,project,project.name,projects,projects.name,uri"
    };
    sectionsApiInstance.getSectionsForProject(project_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  insertSectionForProject: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let project_gid = "1331"; // String | Globally unique identifier for the project.
    let opts = { 
        'body': {"data": {"<PARAM_1>": "<VALUE_1>", "<PARAM_2>": "<VALUE_2>",}}
    };
    sectionsApiInstance.insertSectionForProject(project_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
  updateSection: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let sectionsApiInstance = new AsanaPreview.SectionsApi();
    let section_gid = "321654"; // String | The globally unique identifier for the section.
    let opts = { 
        'body': {"data": {"<PARAM_1>": "<VALUE_1>", "<PARAM_2>": "<VALUE_2>",}}, 
        'opt_fields': "created_at,name,project,project.name,projects,projects.name"
    };
    sectionsApiInstance.updateSection(section_gid, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
